ScummVM API documentation
AGS3::AGS::Shared::GUIListBox Class Reference
Inheritance diagram for AGS3::AGS::Shared::GUIListBox:
AGS3::AGS::Shared::GUIObject

Public Member Functions

bool HasAlphaChannel () const override
 
bool AreArrowsShown () const
 
bool IsBorderShown () const
 
bool IsSvgIndex () const
 
bool IsInRightMargin (int x) const
 
int GetItemAt (int x, int y) const
 
int AddItem (const String &text)
 
void Clear ()
 
Rect CalcGraphicRect (bool clipped) override
 
void Draw (Bitmap *ds, int x=0, int y=0) override
 
int InsertItem (int index, const String &text)
 
void RemoveItem (int index)
 
void SetShowArrows (bool on)
 
void SetShowBorder (bool on)
 
void SetSvgIndex (bool on)
 
void SetFont (int font)
 
void SetItemText (int index, const String &textt)
 
bool OnMouseDown () override
 
void OnMouseMove (int x, int y) override
 
void OnResized () override
 
void ReadFromFile (Stream *in, GuiVersion gui_version) override
 
void WriteToFile (Stream *out) const override
 
void ReadFromSavegame (Shared::Stream *in, GuiSvgVersion svg_ver) override
 
void WriteToSavegame (Shared::Stream *out) const override
 
- Public Member Functions inherited from AGS3::AGS::Shared::GUIObject
String GetScriptName () const
 
String GetEventArgs (int event) const
 
int GetEventCount () const
 
String GetEventName (int event) const
 
bool IsDeleted () const
 
bool IsEnabled () const
 
virtual bool IsOverControl (int x, int y, int leeway) const
 
bool IsTranslated () const
 
bool IsVisible () const
 
bool IsClickable () const
 
int GetTransparency () const
 
virtual bool IsContentClipped () const
 
void SetClickable (bool on)
 
void SetEnabled (bool on)
 
void SetTranslated (bool on)
 
void SetVisible (bool on)
 
void SetTransparency (int trans)
 
virtual void OnKeyPress (const KeyInput &)
 
virtual void OnMouseEnter ()
 
virtual void OnMouseLeave ()
 
virtual void OnMouseUp ()
 
void MarkChanged ()
 
void NotifyParentChanged ()
 
bool HasChanged () const
 
void ClearChanged ()
 

Public Attributes

int32_t Font
 
color_t TextColor
 
HorAlignment TextAlignment
 
color_t SelectedBgColor
 
color_t SelectedTextColor
 
int32_t RowHeight
 
int32_t VisibleItemCount
 
std::vector< StringItems
 
std::vector< int16_t > SavedGameIndex
 
int32_t SelectedItem
 
int32_t TopItem
 
Point MousePos
 
int32_t ItemCount
 
- Public Attributes inherited from AGS3::AGS::Shared::GUIObject
int32_t Id
 
int32_t ParentId
 
String Name
 
int32_t X
 
int32_t Y
 
int32_t Width
 
int32_t Height
 
int32_t ZOrder
 
bool IsActivated
 
String EventHandlers [MAX_GUIOBJ_EVENTS]
 

Additional Inherited Members

- Protected Attributes inherited from AGS3::AGS::Shared::GUIObject
uint32_t Flags
 
int32_t _transparency
 
bool _hasChanged
 
int32_t _scEventCount
 
String _scEventNames [MAX_GUIOBJ_EVENTS]
 
String _scEventArgs [MAX_GUIOBJ_EVENTS]
 

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