ScummVM API documentation
Saga2::gPanel Class Reference
Inheritance diagram for Saga2::gPanel:
Saga2::gControl Saga2::gPanelList Saga2::ContainerView Saga2::CPlaqText Saga2::DragBar Saga2::gButton Saga2::GfxCompImage Saga2::gGenericControl Saga2::gTextBox Saga2::SimpleButton Saga2::gWindow

Public Member Functions

 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)
 
virtual gPanelkeyTest (int16 key)
 
bool isActive ()
 
virtual bool activate (gEventType why)
 
virtual void deactivate ()
 
virtual void draw ()
 
virtual void enable (bool abled)
 
virtual void select (uint16 selected)
 
virtual void ghost (bool ghosted)
 
virtual void invalidate (Rect16 *area=nullptr)
 
virtual void setMousePoll (bool abled)
 
virtual void drawClipped (gPort &port, const Point16 &offset, const Rect16 &r)
 
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)
 

Public Attributes

uint32 _id
 
void * _userData
 

Protected Member Functions

 gPanel (gWindow &, const Rect16 &, AppFunc *cmd)
 
virtual void pointerMove (gPanelMessage &msg)
 
virtual bool pointerHit (gPanelMessage &msg)
 
virtual bool pointerRHit (gPanelMessage &msg)
 
virtual void pointerDrag (gPanelMessage &msg)
 
virtual void pointerRelease (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

gWindow_window
 
Rect16 _extent
 
const char * _title
 
byte _enabled
 
byte _selected
 
byte _imageLabel
 
byte _ghosted
 
byte _wantMousePoll
 

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