GLUI_CommandLine Class Reference

#include <glui.h>

Inheritance diagram for GLUI_CommandLine:

Inheritance graph
[legend]
Collaboration diagram for GLUI_CommandLine:

Collaboration graph
[legend]

List of all members.

Public Types

enum  { HIST_SIZE = 100 }
typedef GLUI_EditText Super

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_String
get_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 obj_id=-1, GLUI_CB callback=GLUI_CB())
 GLUI_CommandLine (void)

Public Attributes

std::vector
< GLUI_String
hist_list
int curr_hist
int oldest_hist
int newest_hist
bool commit_flag

Protected Member Functions

void common_init ()


Detailed Description

Definition at line 1697 of file glui.h.


Member Typedef Documentation

typedef GLUI_EditText GLUI_CommandLine::Super

Definition at line 1700 of file glui.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
HIST_SIZE 

Definition at line 1702 of file glui.h.


Constructor & Destructor Documentation

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

GLUI_CommandLine::GLUI_CommandLine ( void   )  [inline]

Definition at line 1730 of file glui.h.


Member Function Documentation

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

Reimplemented from GLUI_EditText.

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

Reimplemented from GLUI_EditText.

void GLUI_CommandLine::deactivate ( void   )  [virtual]

Reimplemented from GLUI_EditText.

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

Definition at line 1714 of file glui.h.

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

Definition at line 1716 of file glui.h.

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

Definition at line 1718 of file glui.h.

virtual void GLUI_CommandLine::recall_history ( int  history_number  )  [virtual]

virtual void GLUI_CommandLine::scroll_history ( int  direction  )  [virtual]

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

virtual void GLUI_CommandLine::reset_history ( void   )  [virtual]

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

Reimplemented from GLUI_EditText.

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

Reimplemented from GLUI_EditText.

Definition at line 1732 of file glui.h.


Member Data Documentation

std::vector<GLUI_String> GLUI_CommandLine::hist_list

Definition at line 1703 of file glui.h.

int GLUI_CommandLine::curr_hist

Definition at line 1704 of file glui.h.

int GLUI_CommandLine::oldest_hist

Definition at line 1705 of file glui.h.

int GLUI_CommandLine::newest_hist

Definition at line 1706 of file glui.h.

bool GLUI_CommandLine::commit_flag

Definition at line 1707 of file glui.h.


The documentation for this class was generated from the following file:
Generated on Thu Aug 30 11:04:41 2007 for SPRING Mac by  doxygen 1.5.3