Advanced Strategic Command
Public Member Functions | Protected Member Functions | List of all members
ViewFormattedText Class Reference

#include <textrenderer.h>

Inheritance diagram for ViewFormattedText:
Inheritance graph
[legend]

Public Member Functions

 ViewFormattedText (const ASCString &title, const ASCString &text, const PG_Rect &pos)
 
- Public Member Functions inherited from ASC_PG_Dialog
 ASC_PG_Dialog (PG_Widget *parent, const PG_Rect &r, const ASCString &windowtext, WindowFlags flags=DEFAULT, const ASCString &style="Window", int heightTitlebar=25)
 
PG_Button * AddStandardButton (const ASCString &name)
 
void StandardButtonDirection (StandardButtonDirectonType dir)
 
int RunModal ()
 

Protected Member Functions

bool eventKeyDown (const SDL_KeyboardEvent *key)
 
- Protected Member Functions inherited from ASC_PG_Dialog
virtual bool closeWindow ()
 
bool quitModalLoopW (PG_Button *button, int value)
 
bool quitModalLoop (int value)
 

Additional Inherited Members

- Public Types inherited from ASC_PG_Dialog
enum  StandardButtonDirectonType { Vertical, Horizontal }
 
- Static Public Member Functions inherited from ASC_PG_Dialog
static PG_Rect centerRectangle (const PG_Rect &rect)
 
- Protected Attributes inherited from ASC_PG_Dialog
PG_MessageObject * caller
 

Detailed Description

Definition at line 111 of file textrenderer.h.

Constructor & Destructor Documentation

ViewFormattedText::ViewFormattedText ( const ASCString title,
const ASCString text,
const PG_Rect &  pos 
)

Definition at line 512 of file textrenderer.cpp.

References TextRenderer::SetText().

Member Function Documentation

bool ViewFormattedText::eventKeyDown ( const SDL_KeyboardEvent *  key)
protectedvirtual

Reimplemented from ASC_PG_Dialog.

Definition at line 518 of file textrenderer.cpp.


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