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

Public Member Functions

bool IsHorizontal () const
 
bool IsOverControl (int x, int y, int leeway) const override
 
bool IsContentClipped () const override
 
bool HasAlphaChannel () const override
 
Rect CalcGraphicRect (bool clipped) override
 
void Draw (Bitmap *ds, int x=0, int y=0) override
 
bool OnMouseDown () override
 
void OnMouseMove (int xp, int yp) override
 
void OnMouseUp () 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
 
bool IsTranslated () const
 
bool IsVisible () const
 
bool IsClickable () const
 
int GetTransparency () 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 OnResized ()
 
void MarkChanged ()
 
void NotifyParentChanged ()
 
bool HasChanged () const
 
void ClearChanged ()
 

Public Attributes

int32_t MinValue
 
int32_t MaxValue
 
int32_t Value
 
int32_t BgImage
 
int32_t HandleImage
 
int32_t HandleOffset
 
bool IsMousePressed
 
- 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: