ScummVM API documentation
AGS3::AGS::Shared::GUIObject Class Reference
Inheritance diagram for AGS3::AGS::Shared::GUIObject:
AGS3::AGS::Shared::GUIButton AGS3::AGS::Shared::GUIInvWindow AGS3::AGS::Shared::GUILabel AGS3::AGS::Shared::GUIListBox AGS3::AGS::Shared::GUISlider AGS3::AGS::Shared::GUITextBox

Public Member Functions

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
 
virtual bool HasAlphaChannel () const
 
virtual Rect CalcGraphicRect (bool)
 
virtual void Draw (Bitmap *ds, int x=0, int y=0)
 
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 bool OnMouseDown ()
 
virtual void OnMouseEnter ()
 
virtual void OnMouseLeave ()
 
virtual void OnMouseMove (int, int)
 
virtual void OnMouseUp ()
 
virtual void OnResized ()
 
virtual void ReadFromFile (Shared::Stream *in, GuiVersion gui_version)
 
virtual void WriteToFile (Shared::Stream *out) const
 
virtual void ReadFromSavegame (Shared::Stream *in, GuiSvgVersion svg_ver)
 
virtual void WriteToSavegame (Shared::Stream *out) const
 
void MarkChanged ()
 
void NotifyParentChanged ()
 
bool HasChanged () const
 
void ClearChanged ()
 

Public Attributes

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]
 

Protected Attributes

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: