ScummVM API documentation
Scumm::MacGuiImpl::MacListBox Class Reference
Inheritance diagram for Scumm::MacGuiImpl::MacListBox:
Scumm::MacGuiImpl::MacWidget Scumm::MacGuiImpl::MacGuiObject

Public Member Functions

 MacListBox (MacGuiImpl::MacDialogWindow *window, Common::Rect bounds, Common::StringArray texts, bool enabled, bool contentUntouchable=true)
 
void getFocus ()
 
void loseFocus ()
 
void setValue (int value)
 
int getValue ()
 
bool findWidget (int x, int y) const
 
void setRedraw (bool fullRedraw=false)
 
void draw (bool drawFocused=false)
 
void handleMouseDown (Common::Event &event)
 
bool handleDoubleClick (Common::Event &event)
 
bool handleMouseUp (Common::Event &event)
 
void handleMouseMove (Common::Event &event)
 
void handleMouseHeld ()
 
void handleWheelUp ()
 
void handleWheelDown ()
 
bool handleKeyDown (Common::Event &event)
 
- Public Member Functions inherited from Scumm::MacGuiImpl::MacWidget
 MacWidget (MacGuiImpl::MacDialogWindow *window, Common::Rect bounds, Common::String text, bool enabled)
 
void setId (int id)
 
int getId () const
 
void setVisible (bool visible)
 
void setEnabled (bool enabled)
 
int getValue () const
 
Common::String getText () const
 
virtual bool useBeamCursor ()
 
virtual bool shouldDeferAction ()
 
- Public Member Functions inherited from Scumm::MacGuiImpl::MacGuiObject
 MacGuiObject (Common::Rect bounds, bool enabled)
 
Common::Rect getBounds () const
 
bool getRedraw () const
 
bool isEnabled () const
 
bool isVisible () const
 

Additional Inherited Members

- Protected Member Functions inherited from Scumm::MacGuiImpl::MacWidget
int drawText (Common::String text, int x, int y, int w, Color fg=kBlack, Color bg=kWhite, Graphics::TextAlign align=Graphics::kTextAlignLeft, bool wordWrap=false, int deltax=0) const
 
void drawBitmap (Common::Rect r, const uint16 *bitmap, Color color) const
 
- Protected Attributes inherited from Scumm::MacGuiImpl::MacWidget
MacGuiImpl::MacDialogWindow_window
 
int _id = -1
 
bool _fullRedraw = false
 
Common::String _text
 
int _value = 0
 
- Protected Attributes inherited from Scumm::MacGuiImpl::MacGuiObject
Common::Rect _bounds
 
bool _redraw = false
 
bool _enabled = false
 
bool _visible = true
 

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