ScummVM API documentation
Saga2::ReadyContainerView Class Reference
Inheritance diagram for Saga2::ReadyContainerView:
Saga2::ContainerView Saga2::gControl Saga2::gPanel

Public Member Functions

 ReadyContainerView (gPanelList &, const Rect16 &, ContainerNode &, void **backgrounds, int16 numRes, int16 numRows, int16 numCols, int16 totRows, AppFunc *cmd)
 
virtual void drawClipped (gPort &port, const Point16 &offset, const Rect16 &clip)
 
void setScrollOffset (int8 num)
 
void timerTick (gPanelMessage &msg)
 
- Public Member Functions inherited from Saga2::ContainerView
 ContainerView (gPanelList &, const Rect16 &, ContainerNode &nd, const ContainerAppearanceDef &app, AppFunc *cmd=NULL)
 
void drawSelector (gPort &port, Point16 &pos)
 
void drawQuantity (gPort &port, GameObject *item, ProtoObj *objProto, int16 x, int16 y)
 
virtual bool isVisible (GameObject *obj)
 
void totalObjects ()
 
ObjectID getObject (int16 slotNum)
 
void setContainer (GameObject *container)
 
TilePoint pickObjectSlot (const Point16 &pickPos)
 
GameObjectgetObject (const TilePoint &slot)
 
GameObjectpickObject (const Point16 &pickPos)
 
ObjectID pickObjectID (const Point16 &pickPos)
 
- 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 invalidate (Rect16 *area=nullptr)
 
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)
 

Additional Inherited Members

- Public Attributes inherited from Saga2::ContainerView
ContainerNode_node
 
Point16 _iconOrigin
 
Point16 _iconSpacing
 
int16 _visibleRows
 
int16 _visibleCols
 
int16 _totalRows
 
int16 _scrollPosition
 
GameObject_containerObject
 
int16 _totalMass
 
int16 _totalBulk
 
int16 _numObjects
 
- Public Attributes inherited from Saga2::gControl
uint8 _accelKey
 
gPanelList_list
 
- Public Attributes inherited from Saga2::gPanel
uint32 _id
 
void * _userData
 
- Protected Types inherited from Saga2::ContainerView
enum  imageData { kSelectorX = 10, kSelectorY = 25 }
 
- Protected Member Functions inherited from Saga2::ContainerView
virtual void clickOn (gPanelMessage &msg, GameObject *mObj, GameObject *cObj)
 
virtual void dblClickOn (gPanelMessage &msg, GameObject *mObj, GameObject *cObj)
 
void getMerged (GameObject *obj)
 
virtual void dropPhysical (gPanelMessage &msg, GameObject *mObj, GameObject *cObj, int16 num=1)
 
virtual void usePhysical (gPanelMessage &msg, GameObject *mObj, GameObject *cObj)
 
virtual void useConcept (gPanelMessage &msg, GameObject *mObj, GameObject *cObj)
 
virtual void useSpell (gPanelMessage &msg, GameObject *mObj, GameObject *cObj)
 
bool activate (gEventType why)
 
void deactivate ()
 
virtual void pointerMove (gPanelMessage &msg)
 
virtual bool pointerHit (gPanelMessage &msg)
 
virtual void pointerRelease (gPanelMessage &msg)
 
void dblClick (GameObject *mouseObject, GameObject *slotObject, gPanelMessage &msg)
 
- Protected Member Functions inherited from Saga2::gPanel
 gPanel (gWindow &, const Rect16 &, AppFunc *cmd)
 
virtual bool pointerRHit (gPanelMessage &msg)
 
virtual void pointerDrag (gPanelMessage &msg)
 
virtual bool keyStroke (gPanelMessage &msg)
 
virtual void onMouseHintDelay ()
 
void notify (gEventType, int32 value)
 
void notify (gEvent &ev)
 
void drawTitle (TextPositions placement)
 
- Protected Attributes inherited from Saga2::gPanel
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: