#include <gui.h>
Public Member Functions |
virtual BOOL | AcceptFocus () |
virtual void | Update (gUpdate *u) |
virtual BOOL | DefaultEvent (gEvent *) |
void | RedrawFrame () |
void | DrawVScrollBar () |
void | InvalidateVScrollBar () |
void | DrawLine (int LineOffset, int x, int y) |
void | ScrollDown1Line (int ytop) |
void | ScrollUp1Line (int ybot) |
void | ScrollRight (int shift) |
void | ScrollLeft (int shift) |
void | DrawAllLines () |
void | ClrEOL (int x, int y) |
void | CursorOff () |
void | CursorOn () |
void | HideCursor () |
void | UnhideCursor () |
void | StartCursorBlink () |
void | StopCursorBlink () |
void | CursorUp () |
void | CursorDown () |
void | CursorRight () |
void | CursorLeft () |
void | ViewUp () |
void | ViewDown () |
void | ViewRight () |
void | ViewLeft () |
void | ViewPageUp () |
void | ViewPageDown () |
void | ViewHome () |
void | ViewEnd () |
void | ViewEndOfText () |
void | ViewStartOfText () |
void | PageUp () |
void | PageDown () |
void | Home () |
void | End () |
void | MoveCursor (int Offset) |
void | EndOfText () |
void | StartOfText () |
void | InsertChar (int character) |
void | DelChar (int backspace) |
void | RemoveText (int StartPos, int EndPos) |
void | InsertText (int StartPos, int Length, gString &s) |
void | InsertText (int StartPos, int Length, char *string) |
void | BeginSelection () |
void | EndSelection () |
void | Copy () |
void | Cut () |
void | Paste () |
void | BackSpace () |
void | Delete () |
void | SetEditLimits (int StartPos, int EndPos) |
void | ClearEditLimits () |
void | GetEditLimits (int *StartPos, int *EndPos) |
BOOL | IsReadOnly () |
void | SetReadOnly (BOOL rdonly) |
void | SetOverwriteMode (BOOL ovrwrite) |
void | SetText (const char *text) |
int | GetText (char *data, int maxbytes) |
int | GetText (char *data, int maxbytes, int StartPos, int EndPos) |
void | LimitTextSize (int limit, int trimwhere) |
int | Strlen () |
| gEditBox (gControl &Parent, int x, int y, int width, int height, gStyles Style, gFont *f) |
virtual | ~gEditBox () |
Data Fields |
gString | Text |
int | CursorPos |
int | CursorLine |
int | SelStart |
int | SelEnd |
gFont | Font |
int | Color |
int | BkColor |
int | SelColor |
int | DispLines |
int | TotalLines |
int | ViewLine |
int | EditMin |
int | EditMax |
unsigned int | State |
int | Cursorx |
int | Cursory |
int | Targetx |
gglsurface | cursorbk |
tmr_t | lastblink |
int | InputMode |
int | StyleFlags |
Private Member Functions |
virtual void | vTable () |
Detailed Description
Definition at line 781 of file gui.h.
Constructor & Destructor Documentation
gEditBox::gEditBox |
( |
gControl & |
Parent, |
|
|
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height, |
|
|
gStyles |
Style, |
|
|
gFont * |
f |
|
) |
| |
virtual gEditBox::~gEditBox |
( |
| ) |
[virtual] |
Member Function Documentation
virtual BOOL gEditBox::AcceptFocus |
( |
| ) |
[inline, virtual] |
void gEditBox::BackSpace |
( |
| ) |
|
void gEditBox::BeginSelection |
( |
| ) |
|
void gEditBox::ClearEditLimits |
( |
| ) |
|
void gEditBox::ClrEOL |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
void gEditBox::CursorDown |
( |
| ) |
|
void gEditBox::CursorLeft |
( |
| ) |
|
void gEditBox::CursorOff |
( |
| ) |
|
void gEditBox::CursorOn |
( |
| ) |
|
void gEditBox::CursorRight |
( |
| ) |
|
void gEditBox::CursorUp |
( |
| ) |
|
virtual BOOL gEditBox::DefaultEvent |
( |
gEvent * |
| ) |
[virtual] |
void gEditBox::DelChar |
( |
int |
backspace | ) |
|
void gEditBox::Delete |
( |
| ) |
|
void gEditBox::DrawAllLines |
( |
| ) |
|
void gEditBox::DrawLine |
( |
int |
LineOffset, |
|
|
int |
x, |
|
|
int |
y |
|
) |
| |
void gEditBox::DrawVScrollBar |
( |
| ) |
[virtual] |
void gEditBox::EndOfText |
( |
| ) |
|
void gEditBox::EndSelection |
( |
| ) |
|
void gEditBox::GetEditLimits |
( |
int * |
StartPos, |
|
|
int * |
EndPos |
|
) |
| |
int gEditBox::GetText |
( |
char * |
data, |
|
|
int |
maxbytes |
|
) |
| |
int gEditBox::GetText |
( |
char * |
data, |
|
|
int |
maxbytes, |
|
|
int |
StartPos, |
|
|
int |
EndPos |
|
) |
| |
void gEditBox::HideCursor |
( |
| ) |
|
void gEditBox::InsertChar |
( |
int |
character | ) |
|
void gEditBox::InsertText |
( |
int |
StartPos, |
|
|
int |
Length, |
|
|
gString & |
s |
|
) |
| |
void gEditBox::InsertText |
( |
int |
StartPos, |
|
|
int |
Length, |
|
|
char * |
string |
|
) |
| |
void gEditBox::InvalidateVScrollBar |
( |
| ) |
|
BOOL gEditBox::IsReadOnly |
( |
| ) |
|
void gEditBox::LimitTextSize |
( |
int |
limit, |
|
|
int |
trimwhere |
|
) |
| |
void gEditBox::MoveCursor |
( |
int |
Offset | ) |
|
void gEditBox::PageDown |
( |
| ) |
|
void gEditBox::PageUp |
( |
| ) |
|
void gEditBox::RedrawFrame |
( |
| ) |
|
void gEditBox::RemoveText |
( |
int |
StartPos, |
|
|
int |
EndPos |
|
) |
| |
void gEditBox::ScrollDown1Line |
( |
int |
ytop | ) |
|
void gEditBox::ScrollLeft |
( |
int |
shift | ) |
|
void gEditBox::ScrollRight |
( |
int |
shift | ) |
|
void gEditBox::ScrollUp1Line |
( |
int |
ybot | ) |
|
void gEditBox::SetEditLimits |
( |
int |
StartPos, |
|
|
int |
EndPos |
|
) |
| |
void gEditBox::SetOverwriteMode |
( |
BOOL |
ovrwrite | ) |
|
void gEditBox::SetReadOnly |
( |
BOOL |
rdonly | ) |
|
void gEditBox::SetText |
( |
const char * |
text | ) |
|
void gEditBox::StartCursorBlink |
( |
| ) |
|
void gEditBox::StartOfText |
( |
| ) |
|
void gEditBox::StopCursorBlink |
( |
| ) |
|
int gEditBox::Strlen |
( |
| ) |
[inline] |
void gEditBox::UnhideCursor |
( |
| ) |
|
virtual void gEditBox::Update |
( |
gUpdate * |
u | ) |
[virtual] |
void gEditBox::ViewDown |
( |
| ) |
|
void gEditBox::ViewEnd |
( |
| ) |
|
void gEditBox::ViewEndOfText |
( |
| ) |
|
void gEditBox::ViewHome |
( |
| ) |
|
void gEditBox::ViewLeft |
( |
| ) |
|
void gEditBox::ViewPageDown |
( |
| ) |
|
void gEditBox::ViewPageUp |
( |
| ) |
|
void gEditBox::ViewRight |
( |
| ) |
|
void gEditBox::ViewStartOfText |
( |
| ) |
|
void gEditBox::ViewUp |
( |
| ) |
|
virtual void gEditBox::vTable |
( |
| ) |
[private, virtual] |
Field Documentation
The documentation for this class was generated from the following file: