ScummVM API documentation
Saga2::DecoratedWindow Class Reference
Inheritance diagram for Saga2::DecoratedWindow:
Saga2::gWindow Saga2::gPanelList Saga2::gPanel Saga2::BackWindow Saga2::FloatingWindow Saga2::ModalWindow Saga2::ContainerWindow Saga2::AutoMap Saga2::CDocument Saga2::CPlacardWindow Saga2::CVideoBox Saga2::EnchantmentContainerWindow Saga2::ScrollableContainerWindow Saga2::IntangibleContainerWindow Saga2::TangibleContainerWindow

Public Member Functions

 DecoratedWindow (const Rect16 &, uint16, const char saveAs[], AppFunc *cmd=NULL)
 
void draw ()
 
void drawClipped (gPort &port, const Point16 &offset, const Rect16 &r)
 
void setDecorations (WindowDecoration *, int16, hResContext *)
 
void setDecorations (WindowDecoration *, int16, hResContext *, hResID)
 
void setDecorations (WindowDecoration *, int16, hResContext *, char, char, char)
 
void setDecorations (const StaticWindow *, int16, hResContext *)
 
void setDecorations (const StaticWindow *, int16, hResContext *, hResID)
 
void setDecorations (const StaticWindow *, int16, hResContext *, char, char, char)
 
void removeDecorations ()
 
virtual bool isBackdrop ()
 
void update (const Rect16 &updateRect)
 
void update (const StaticRect &updateRect)
 
- Public Member Functions inherited from Saga2::gWindow
 gWindow (const Rect16 &, uint16, const char saveName[], AppFunc *cmd=NULL)
 
 operator gPort ()
 
void postEvent (gEvent &ev)
 
void setExtent (const Rect16 &)
 
Rect16 getExtent ()
 
bool isOpen ()
 
void draw ()
 
void drawClipped (gPort &port, const Point16 &offset, const Rect16 &r)
 
void enable (bool abled)
 
void select (uint16 sel)
 
virtual bool open ()
 
virtual void close ()
 
virtual bool isModal ()
 
virtual void update (const Rect16 &updateRect)=0
 
- Public Member Functions inherited from Saga2::gPanelList
 gPanelList (gPanelList &)
 
gPanel * hitTest (const Point16 &p)
 
gPanel * keyTest (int16 key)
 
void removeControls ()
 
void invalidate (Rect16 *area=nullptr)
 
void draw ()
 
void drawClipped (gPort &port, const Point16 &offset, const Rect16 &r)
 
void enable (bool abled)
 
- 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 gPanel * hitTest (const Point16 &p)
 
virtual gPanel * keyTest (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)
 
gWindow * getWindow ()
 
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

WindowDecoration * _decorations
 
int16 _numDecorations
 
- Public Attributes inherited from Saga2::gWindow
gDisplayPort _windowPort
 
- Public Attributes inherited from Saga2::gPanel
uint32 _id
 
void * _userData
 

Additional Inherited Members

- Protected Member Functions inherited from Saga2::gWindow
void setPos (Point16 pos)
 
void insert ()
 
virtual void toFront ()
 
- Protected Member Functions inherited from Saga2::gPanelList
 gPanelList (gWindow &, const Rect16 &, char *, uint16, AppFunc *cmd=NULL)
 
- Protected Member Functions inherited from Saga2::gPanel
 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 inherited from Saga2::gWindow
bool _openFlag
 
- Protected Attributes inherited from Saga2::gPanelList
Common::List< gPanel * > _contents
 
- Protected Attributes inherited from Saga2::gPanel
gWindow & _window
 
Rect16 _extent
 
const char * _title
 
byte _enabled
 
byte _selected
 
byte _imageLabel
 
byte _ghosted
 
byte _wantMousePoll
 

Member Function Documentation

◆ draw()

void Saga2::DecoratedWindow::draw ( )
virtual

Reimplemented from Saga2::gPanel.

◆ drawClipped()

void Saga2::DecoratedWindow::drawClipped ( gPort &  port,
const Point16 &  offset,
const Rect16 &  r 
)
virtual

Reimplemented from Saga2::gPanel.

◆ update()

void Saga2::DecoratedWindow::update ( const Rect16 &  updateRect)
virtual

Implements Saga2::gWindow.


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