Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

GLUI_CommandLine Class Reference

#include <glui.h>

Inheritance diagram for GLUI_CommandLine:

GLUI_EditText GLUI_Control GLUI_Node List of all members.

Public Types

typedef GLUI_EditText Super
enum  { HIST_SIZE = 100 }

Public Member Functions

int key_handler (unsigned char key, int modifiers)
int special_handler (int key, int modifiers)
void deactivate (void)
virtual const char * get_history (int command_number) const
virtual GLUI_Stringget_history_str (int command_number)
virtual const GLUI_Stringget_history_str (int command_number) const
virtual void recall_history (int history_number)
virtual void scroll_history (int direction)
virtual void add_to_history (const char *text)
virtual void reset_history (void)
void dump (FILE *out, const char *text)
 GLUI_CommandLine (GLUI_Node *parent, const char *name, void *live_var=NULL, int id=-1, GLUI_CB callback=GLUI_CB())
 GLUI_CommandLine (void)

Public Attributes

std::vector< GLUI_Stringhist_list
int curr_hist
int oldest_hist
int newest_hist
bool commit_flag

Protected Member Functions

void common_init ()

Member Typedef Documentation

typedef GLUI_EditText GLUI_CommandLine::Super
 


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
HIST_SIZE 


Constructor & Destructor Documentation

GLUI_CommandLine::GLUI_CommandLine GLUI_Node parent,
const char *  name,
void *  live_var = NULL,
int  id = -1,
GLUI_CB  callback = GLUI_CB()
 

GLUI_CommandLine::GLUI_CommandLine void   )  [inline]
 


Member Function Documentation

void GLUI_CommandLine::add_to_history const char *  text  )  [virtual]
 

void GLUI_CommandLine::common_init void   )  [inline, protected]
 

Reimplemented from GLUI_EditText.

void GLUI_CommandLine::deactivate void   )  [virtual]
 

Reimplemented from GLUI_EditText.

void GLUI_CommandLine::dump FILE *  out,
const char *  text
 

Reimplemented from GLUI_EditText.

virtual const char* GLUI_CommandLine::get_history int  command_number  )  const [inline, virtual]
 

virtual const GLUI_String& GLUI_CommandLine::get_history_str int  command_number  )  const [inline, virtual]
 

virtual GLUI_String& GLUI_CommandLine::get_history_str int  command_number  )  [inline, virtual]
 

int GLUI_CommandLine::key_handler unsigned char  key,
int  modifiers
[virtual]
 

Reimplemented from GLUI_EditText.

void GLUI_CommandLine::recall_history int  history_number  )  [virtual]
 

void GLUI_CommandLine::reset_history void   )  [virtual]
 

void GLUI_CommandLine::scroll_history int  direction  )  [virtual]
 

int GLUI_CommandLine::special_handler int  key,
int  modifiers
[virtual]
 

Reimplemented from GLUI_EditText.


Member Data Documentation

bool GLUI_CommandLine::commit_flag
 

int GLUI_CommandLine::curr_hist
 

std::vector<GLUI_String> GLUI_CommandLine::hist_list
 

int GLUI_CommandLine::newest_hist
 

int GLUI_CommandLine::oldest_hist
 


The documentation for this class was generated from the following files:
Generated on Fri Sep 15 17:51:57 2006 for GLUI by doxygen 1.3.6