ScummVM API documentation
Saga2::GfxMultCompButton Class Reference
Inheritance diagram for Saga2::GfxMultCompButton:
Saga2::GfxCompButton Saga2::GfxCompImage Saga2::gControl Saga2::gPanel Saga2::GfxSlider

Public Member Functions

 GfxMultCompButton (gPanelList &, const Rect16 &, hResContext *, char, char, char, int16, int16, int16, uint16, AppFunc *cmd=NULL)
 
 GfxMultCompButton (gPanelList &, const Rect16 &, void **, int16, int16, uint16, AppFunc *cmd=NULL)
 
 GfxMultCompButton (gPanelList &, const Rect16 &, void **, int16, int16, bool, uint16, AppFunc *cmd=NULL)
 
int16 getCurrent ()
 
int16 getMin ()
 
int16 getMax ()
 
void setCurrent (int16 val)
 
void setImages (void **newImages)
 
void setResponse (bool resp)
 
- Public Member Functions inherited from Saga2::GfxCompButton
 GfxCompButton (gPanelList &, const Rect16 &, hResContext *, hResID res1, hResID res2, uint16, AppFunc *cmd=NULL)
 
 GfxCompButton (gPanelList &, const Rect16 &, hResID contextID, hResID res1, hResID res2, uint16, AppFunc *cmd=NULL)
 
 GfxCompButton (gPanelList &, const Rect16 &, hResContext *, char, char, char, int16, int16, uint16, AppFunc *cmd=NULL)
 
 GfxCompButton (gPanelList &, const Rect16 &, hResID, char, char, char, int16, int16, uint16, AppFunc *cmd=NULL)
 
 GfxCompButton (gPanelList &, const Rect16 &, hResContext *, uint32 resID, int8, int8, uint16, AppFunc *cmd=NULL)
 
 GfxCompButton (gPanelList &, const Rect16 &, hResID, uint32, int8, int8, uint16, AppFunc *cmd=NULL)
 
 GfxCompButton (gPanelList &, const Rect16 &, hResContext *, int16, uint16, AppFunc *cmd=NULL)
 
 GfxCompButton (gPanelList &, const Rect16 &, void **, int16, uint16, AppFunc *cmd=NULL)
 
 GfxCompButton (gPanelList &, const Rect16 &, void **, int16, const char *, textPallete &, uint16, AppFunc *cmd=NULL)
 
 GfxCompButton (gPanelList &, const Rect16 &, void **, int16, void *, bool, uint16, AppFunc *cmd=NULL)
 
 GfxCompButton (gPanelList &, const Rect16 &, void *, uint16, AppFunc *cmd=NULL)
 
 GfxCompButton (gPanelList &, const StaticRect &, void **, int16, const char *, textPallete &, uint16, AppFunc *cmd=NULL)
 
 GfxCompButton (gPanelList &, const Rect16 &, AppFunc *cmd=NULL)
 
void deactivate ()
 
void enable (bool)
 
void invalidate (Rect16 *unused=nullptr)
 
void draw ()
 
void dim (bool)
 
void setForImage (void *image)
 
void setResImage (void *image)
 
- Public Member Functions inherited from Saga2::GfxCompImage
 GfxCompImage (gPanelList &, const Rect16 &, void *, uint16, AppFunc *cmd=NULL)
 
 GfxCompImage (gPanelList &, const Rect16 &, void *, const char *, textPallete &, uint16, AppFunc *cmd=NULL)
 
 GfxCompImage (gPanelList &, const Rect16 &, void **, int16, int16, uint16, AppFunc *cmd=NULL)
 
 GfxCompImage (gPanelList &, const Rect16 &, void **, int16, int16, const char *, textPallete &, uint16, AppFunc *cmd=NULL)
 
 GfxCompImage (gPanelList &list, const Rect16 &box, uint32 contextID, char a, char b, char c, uint16 resNum, uint16 numButtons, uint16 ident, AppFunc *cmd)
 
 GfxCompImage (gPanelList &, const StaticRect &, void **, int16, int16, const char *, textPallete &, uint16, AppFunc *cmd=NULL)
 
int16 getCurrent ()
 
int16 getMin ()
 
int16 getMax ()
 
void setCurrent (uint16 val)
 
void setExtent (const Rect16 &rect)
 
void select (uint16 val)
 
void select (uint16 val, const Rect16 &rect)
 
void setImages (void **images)
 
void setImage (void *image)
 
virtual void drawClipped (gPort &, const Point16 &, const Rect16 &)
 
- Public Member Functions inherited from Saga2::gControl
 gControl (gPanelList &, const Rect16 &, const char *, uint16, AppFunc *cmd=NULL)
 
 gControl (gPanelList &, const Rect16 &, gPixelMap &, uint16, AppFunc *cmd=NULL)
 
 gControl (gPanelList &, const StaticRect &, const char *, uint16, AppFunc *cmd=NULL)
 
gPanelkeyTest (int16 key)
 
void enable (bool abled)
 
void select (uint16 sel)
 
void ghost (bool ghosted)
 
void draw ()
 
- Public Member Functions inherited from Saga2::gPanel
 gPanel (gPanelList &, const Rect16 &, const char *, uint16, AppFunc *cmd=NULL)
 
 gPanel (gPanelList &, const Rect16 &, gPixelMap &, uint16, AppFunc *cmd=NULL)
 
 gPanel (gPanelList &, const StaticRect &, const char *, uint16, AppFunc *cmd=NULL)
 
virtual gPanelhitTest (const Point16 &p)
 
bool isActive ()
 
virtual void setMousePoll (bool abled)
 
gWindowgetWindow ()
 
void makeActive ()
 
Rect16 getExtent ()
 
bool isSelected ()
 
bool isGhosted ()
 
bool getEnabled () const
 
void show (bool shown=true, bool inval=true)
 
void moveToFront (gPanelList &l)
 
void moveToBack (gPanelList &l)
 

Protected Member Functions

bool activate (gEventType why)
 
bool pointerHit (gPanelMessage &msg)
 
virtual void * getCurrentCompImage ()
 
- Protected Member Functions inherited from Saga2::GfxCompButton
void pointerMove (gPanelMessage &msg)
 
void pointerDrag (gPanelMessage &msg)
 
void pointerRelease (gPanelMessage &msg)
 
- Protected Member Functions inherited from Saga2::GfxCompImage
void init ()
 
- Protected Member Functions inherited from Saga2::gPanel
 gPanel (gWindow &, const Rect16 &, AppFunc *cmd)
 
virtual bool pointerRHit (gPanelMessage &msg)
 
virtual bool keyStroke (gPanelMessage &msg)
 
virtual void timerTick (gPanelMessage &msg)
 
virtual void onMouseHintDelay ()
 
void notify (gEventType, int32 value)
 
void notify (gEvent &ev)
 
void drawTitle (TextPositions placement)
 

Protected Attributes

void ** _images
 
Rect16 _extent
 
int16 _current
 
int16 _min
 
int16 _max
 
- Protected Attributes inherited from Saga2::GfxCompButton
void * _forImage
 
void * _resImage
 
void * _dimImage
 
Rect16 _extent
 
bool _dimmed
 
bool _internalAlloc
 
- Protected Attributes inherited from Saga2::GfxCompImage
void ** _compImages
 
uint16 _currentImage
 
uint16 _max
 
uint16 _min
 
textPallete _textPal
 
gFont_textFont
 
- Protected Attributes inherited from Saga2::gPanel
gWindow_window
 
Rect16 _extent
 
const char * _title
 
byte _enabled
 
byte _selected
 
byte _imageLabel
 
byte _ghosted
 
byte _wantMousePoll
 

Additional Inherited Members

- Public Types inherited from Saga2::GfxCompImage
enum  controlValue { kEnter = (1 << 0), kLeave = (1 << 1) }
 
- Public Attributes inherited from Saga2::gControl
uint8 _accelKey
 
gPanelList_list
 
- Public Attributes inherited from Saga2::gPanel
uint32 _id
 
void * _userData
 

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