doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
idEditField Class Reference

#include <EditField.h>

Public Member Functions

 idEditField ()
 
 ~idEditField ()
 
void Clear (void)
 
void SetWidthInChars (int w)
 
void SetCursor (int c)
 
int GetCursor (void) const
 
void ClearAutoComplete (void)
 
int GetAutoCompleteLength (void) const
 
void AutoComplete (void)
 
void CharEvent (int c)
 
void KeyDownEvent (int key)
 
void Paste (void)
 
char * GetBuffer (void)
 
void Draw (int x, int y, int width, bool showCursor, const idMaterial *material)
 
void SetBuffer (const char *buffer)
 

Private Attributes

int cursor
 
int scroll
 
int widthInChars
 
char buffer [MAX_EDIT_LINE]
 
autoComplete_t autoComplete
 

Detailed Description

Definition at line 52 of file EditField.h.

Constructor & Destructor Documentation

idEditField::idEditField ( )

Definition at line 106 of file EditField.cpp.

idEditField::~idEditField ( )

Definition at line 116 of file EditField.cpp.

Member Function Documentation

void idEditField::AutoComplete ( void  )

try completing arguments

Definition at line 191 of file EditField.cpp.

void idEditField::CharEvent ( int  c)

Definition at line 298 of file EditField.cpp.

void idEditField::Clear ( void  )

Definition at line 124 of file EditField.cpp.

void idEditField::ClearAutoComplete ( void  )

Definition at line 166 of file EditField.cpp.

void idEditField::Draw ( int  x,
int  y,
int  width,
bool  showCursor,
const idMaterial material 
)

Definition at line 531 of file EditField.cpp.

int idEditField::GetAutoCompleteLength ( void  ) const

Definition at line 182 of file EditField.cpp.

char * idEditField::GetBuffer ( void  )

Definition at line 511 of file EditField.cpp.

int idEditField::GetCursor ( void  ) const

Definition at line 157 of file EditField.cpp.

void idEditField::KeyDownEvent ( int  key)

Definition at line 373 of file EditField.cpp.

void idEditField::Paste ( void  )

Definition at line 487 of file EditField.cpp.

void idEditField::SetBuffer ( const char *  buffer)

Definition at line 520 of file EditField.cpp.

void idEditField::SetCursor ( int  c)

Definition at line 147 of file EditField.cpp.

void idEditField::SetWidthInChars ( int  w)

Definition at line 137 of file EditField.cpp.

Member Data Documentation

autoComplete_t idEditField::autoComplete
private

Definition at line 76 of file EditField.h.

char idEditField::buffer[MAX_EDIT_LINE]
private

Definition at line 75 of file EditField.h.

int idEditField::cursor
private

Definition at line 72 of file EditField.h.

int idEditField::scroll
private

Definition at line 73 of file EditField.h.

int idEditField::widthInChars
private

Definition at line 74 of file EditField.h.


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