ScummVM API documentation
Saga2::CDocument Class Reference
Inheritance diagram for Saga2::CDocument:
Saga2::ModalWindow Saga2::DecoratedWindow Saga2::gWindow Saga2::gPanelList Saga2::gPanel

Public Member Functions

 CDocument (CDocumentAppearance &app, char *buffer, gFont *font, uint16 ident, AppFunc *cmd=NULL)
 
void gotoPage (int8 page)
 
 APPFUNCV (cmdDocumentEsc)
 
 APPFUNCV (cmdDocumentLt)
 
 APPFUNCV (cmdDocumentRt)
 
 APPFUNCV (cmdDocumentUp)
 
 APPFUNCV (cmdDocumentDn)
 
- Public Member Functions inherited from Saga2::ModalWindow
 ModalWindow (const Rect16 &r, uint16 ident, AppFunc *cmd)
 
bool open ()
 
void close ()
 
bool isModal ()
 
void handleKey (short, short)
 
- Public Member Functions inherited from Saga2::DecoratedWindow
 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)
 
- Public Member Functions inherited from Saga2::gPanelList
 gPanelList (gPanelList &)
 
gPanelhitTest (const Point16 &p)
 
gPanelkeyTest (int16 key)
 
void removeControls ()
 
void invalidate (Rect16 *area=nullptr)
 
- 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)
 
bool isActive ()
 
virtual void ghost (bool ghosted)
 
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)
 

Public Attributes

char * origText
 
char * text
 
- Public Attributes inherited from Saga2::DecoratedWindow
WindowDecoration_decorations
 
int16 _numDecorations
 
- Public Attributes inherited from Saga2::gWindow
gDisplayPort _windowPort
 
- Public Attributes inherited from Saga2::gPanel
uint32 _id
 
void * _userData
 

Protected Member Functions

void drawClipped (gPort &port, const Point16 &offset, const Rect16 &clipRect)
 
void draw ()
 
void renderText ()
 
void makePages ()
 
bool checkForPageBreak (char *string, uint16 index, int32 &offset)
 
bool checkForImage (char *string, uint16 index, uint16 pageIndex, int32 &offset)
 
gPanelkeyTest (int16 key)
 
- 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 bool pointerRHit (gPanelMessage &msg)
 
virtual void timerTick (gPanelMessage &msg)
 
virtual void onMouseHintDelay ()
 
void notify (gEventType, int32 value)
 
void notify (gEvent &ev)
 
void drawTitle (TextPositions placement)
 

Additional Inherited Members

- Static Public Attributes inherited from Saga2::ModalWindow
static ModalWindow_current
 
- 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
 

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