HPGCC3 Documentation 3.0 R003
|
#include <gui.h>
Public Member Functions | |
virtual void | Update (gUpdate *) |
virtual BOOL | AcceptFocus () |
virtual BOOL | DefaultEvent (gEvent *) |
virtual BOOL | DoEvent (gEvent *) |
virtual BOOL | DoEventExclusive (gEvent *) |
void | AddChild (gControl &) |
void | RemoveChild (gControl &) |
void | AddHandler (unsigned int Type, unsigned int Mask, unsigned int Arg, gEvHandler Function) |
void | RemoveHandler (unsigned int Type, unsigned int Mask=0, unsigned int Arg=0) |
gEvHandler | GetHandler (unsigned int Type, unsigned int Mask=0, unsigned int Arg=0) |
void | InsufMemoryError () |
gApplication * | GetApplication () |
virtual void | DrawVScrollBar () |
virtual void | DrawHScrollBar () |
virtual void | SetViewPos (int x, int y) |
virtual void | SetViewX (int x) |
virtual void | SetViewY (int y) |
virtual void | EnsureVisible (int x1, int y1, int x2, int y2) |
virtual void | SetVisible (BOOL visible) |
virtual BOOL | IsVisible () |
virtual BOOL | Resize (int width, int height) |
virtual void | Move (int x, int y) |
virtual void | ParentToClient (int &x, int &y) |
virtual void | ClientToParent (int &x, int &y) |
virtual void | ClipToView (gUpdate *u) |
virtual void | Invalidate (gUpdate *u, gControl *Sender=NULL) |
virtual void | Invalidate (gControl *Sender=NULL) |
virtual void | RedrawBackground (gUpdate *) |
virtual void | HLine (int y, int x1, int x2, int pattern) |
virtual void | VLine (int x, int y1, int y2, int pattern) |
virtual void | Line (int x, int y, int x2, int y2, int pattern) |
virtual void | Rect (int x1, int y1, int x2, int y2, int pattern) |
virtual void | RectP (int x1, int y1, int x2, int y2, int *Pattern) |
virtual void | Plot (int x1, int y1, int color) |
virtual int | GetPixel (int x1, int y1) |
virtual void | DrawText (int x, int y, char *Text, gFont *Font, int color) |
virtual void | DrawTextBk (int x, int y, char *Text, gFont *Font, int color, int BkColor) |
virtual void | DrawIcon (int x, int y, unsigned int *IconData, int width, int height) |
virtual void | DrawIconPartial (int x, int y, unsigned int *IconData, int iconwidth, int iconx, int icony, int width, int height) |
virtual void | SetClipRegion (int x1, int y1, int x2, int y2) |
virtual void | ClearClipRegion () |
gControl () | |
gControl (gControl &_Parent) | |
virtual | ~gControl () |
Static Public Member Functions | |
static unsigned int | SolidColor (int c) |
Data Fields | |
gglsurface | drawsurf |
int | posx |
int | posy |
int | sizex |
int | sizey |
int | clipx |
int | clipy |
int | clipx2 |
int | clipy2 |
int | ncx |
int | ncy |
int | ncwidth |
int | ncheight |
int | viewx |
int | viewy |
int | vieww |
int | viewh |
BOOL | scrollh |
BOOL | scrollv |
gEvHandler * | RedrawBk |
unsigned int * | CtlData |
gControl * | FirstChild |
gControl * | LastChild |
gControl * | Next |
gControl * | Prev |
gControl * | Parent |
gControl * | UpdateFirst |
gEvHandlerList * | Events |
Private Member Functions | |
virtual void | vTable () |
gControl::gControl | ( | ) |
gControl::gControl | ( | gControl & | _Parent | ) |
virtual gControl::~gControl | ( | ) | [virtual] |
virtual BOOL gControl::AcceptFocus | ( | ) | [inline, virtual] |
void gControl::AddChild | ( | gControl & | ) |
void gControl::AddHandler | ( | unsigned int | Type, |
unsigned int | Mask, | ||
unsigned int | Arg, | ||
gEvHandler | Function | ||
) |
virtual void gControl::ClearClipRegion | ( | ) | [virtual] |
virtual void gControl::ClientToParent | ( | int & | x, |
int & | y | ||
) | [virtual] |
virtual void gControl::ClipToView | ( | gUpdate * | u | ) | [virtual] |
virtual void gControl::DrawHScrollBar | ( | ) | [virtual] |
Reimplemented in gListBox.
virtual void gControl::DrawIcon | ( | int | x, |
int | y, | ||
unsigned int * | IconData, | ||
int | width, | ||
int | height | ||
) | [virtual] |
virtual void gControl::DrawIconPartial | ( | int | x, |
int | y, | ||
unsigned int * | IconData, | ||
int | iconwidth, | ||
int | iconx, | ||
int | icony, | ||
int | width, | ||
int | height | ||
) | [virtual] |
virtual void gControl::DrawText | ( | int | x, |
int | y, | ||
char * | Text, | ||
gFont * | Font, | ||
int | color | ||
) | [virtual] |
virtual void gControl::DrawTextBk | ( | int | x, |
int | y, | ||
char * | Text, | ||
gFont * | Font, | ||
int | color, | ||
int | BkColor | ||
) | [virtual] |
virtual void gControl::EnsureVisible | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2 | ||
) | [inline, virtual] |
gApplication* gControl::GetApplication | ( | ) |
gEvHandler gControl::GetHandler | ( | unsigned int | Type, |
unsigned int | Mask = 0 , |
||
unsigned int | Arg = 0 |
||
) |
virtual int gControl::GetPixel | ( | int | x1, |
int | y1 | ||
) | [virtual] |
virtual void gControl::HLine | ( | int | y, |
int | x1, | ||
int | x2, | ||
int | pattern | ||
) | [virtual] |
void gControl::InsufMemoryError | ( | ) |
Reimplemented in gApplication.
virtual void gControl::Invalidate | ( | gControl * | Sender = NULL | ) | [virtual] |
Reimplemented in gApplication, and gSoftMenu.
virtual BOOL gControl::IsVisible | ( | ) | [inline, virtual] |
virtual void gControl::Line | ( | int | x, |
int | y, | ||
int | x2, | ||
int | y2, | ||
int | pattern | ||
) | [virtual] |
virtual void gControl::Move | ( | int | x, |
int | y | ||
) | [virtual] |
virtual void gControl::ParentToClient | ( | int & | x, |
int & | y | ||
) | [virtual] |
virtual void gControl::Plot | ( | int | x1, |
int | y1, | ||
int | color | ||
) | [virtual] |
virtual void gControl::Rect | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2, | ||
int | pattern | ||
) | [virtual] |
virtual void gControl::RectP | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2, | ||
int * | Pattern | ||
) | [virtual] |
void gControl::RemoveChild | ( | gControl & | ) |
void gControl::RemoveHandler | ( | unsigned int | Type, |
unsigned int | Mask = 0 , |
||
unsigned int | Arg = 0 |
||
) |
virtual BOOL gControl::Resize | ( | int | width, |
int | height | ||
) | [virtual] |
virtual void gControl::SetClipRegion | ( | int | x1, |
int | y1, | ||
int | x2, | ||
int | y2 | ||
) | [virtual] |
virtual void gControl::SetViewPos | ( | int | x, |
int | y | ||
) | [inline, virtual] |
virtual void gControl::SetViewX | ( | int | x | ) | [virtual] |
virtual void gControl::SetViewY | ( | int | y | ) | [virtual] |
virtual void gControl::SetVisible | ( | BOOL | visible | ) | [inline, virtual] |
static unsigned int gControl::SolidColor | ( | int | c | ) | [inline, static] |
Definition at line 529 of file gui.h.
References ggl_mkcolor().
virtual void gControl::Update | ( | gUpdate * | ) | [virtual] |
Reimplemented in gApplication, gForm, gSoftMenu, gStaticText, gStaticTextWrap, gCheckBox, gEditBox, and gListBox.
virtual void gControl::VLine | ( | int | x, |
int | y1, | ||
int | y2, | ||
int | pattern | ||
) | [virtual] |
virtual void gControl::vTable | ( | ) | [private, virtual] |
Reimplemented in gApplication, gForm, gSoftMenu, gStaticText, gStaticTextWrap, gCheckBox, gEditBox, and gListBox.
int gControl::clipx |
int gControl::clipx2 |
int gControl::clipy |
int gControl::clipy2 |
unsigned int* gControl::CtlData |
int gControl::ncx |
int gControl::ncy |
int gControl::posx |
int gControl::posy |
int gControl::sizex |
int gControl::sizey |
int gControl::viewh |
int gControl::vieww |
int gControl::viewx |
int gControl::viewy |