ScummVM API documentation
BladeRunner::UIScrollBox Class Reference
Inheritance diagram for BladeRunner::UIScrollBox:
BladeRunner::UIComponent

Public Member Functions

 UIScrollBox (BladeRunnerEngine *vm, UIScrollBoxClickedCallback *lineSelectedCallback, void *callbackData, int maxLineCount, int style, bool center, Common::Rect rect, Common::Rect scrollBarRect)
 
void draw (Graphics::Surface &surface) override
 
void handleMouseMove (int mouseX, int mouseY) override
 
void handleMouseDown (bool alternateButton) override
 
void handleMouseUp (bool alternateButton) override
 
void handleMouseScroll (int direction) override
 
void show ()
 
void hide ()
 
bool isVisible ()
 
bool hasFocus ()
 
void setBoxTop (int top)
 
void setBoxLeft (int left)
 
void setBoxWidth (uint16 width)
 
void setScrollbarTop (int top)
 
void setScrollbarLeft (int left)
 
void setScrollbarWidth (uint16 width)
 
int getBoxLeft ()
 
uint16 getBoxWidth ()
 
void clearLines ()
 
void addLine (const Common::String &text, int lineData, int flags)
 
void addLine (const char *text, int lineData, int flags)
 
void sortLines ()
 
int getSelectedLineData ()
 
Common::String getLineText (int lineData)
 
int getMaxLinesVisible ()
 
int getLineCount ()
 
void checkAll ()
 
void uncheckAll ()
 
void toggleCheckBox (int lineData)
 
bool hasLine (int lineData)
 
void resetHighlight (int lineData)
 
void setFlags (int lineData, int flags)
 
void resetFlags (int lineData, int flags)
 
- Public Member Functions inherited from BladeRunner::UIComponent
 UIComponent (BladeRunnerEngine *vm)
 
virtual void handleKeyUp (const Common::KeyState &kbd)
 
virtual void handleKeyDown (const Common::KeyState &kbd)
 
virtual void handleCustomEventStop (const Common::Event &evt)
 
virtual void handleCustomEventStart (const Common::Event &evt)
 

Additional Inherited Members

- Protected Attributes inherited from BladeRunner::UIComponent
BladeRunnerEngine_vm
 

The documentation for this class was generated from the following file: