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

Public Member Functions

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

Public Attributes

int32_t Font
 
String Text
 
color_t TextColor
 
- 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: