#include <glui.h>


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_String & | get_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 () |
Definition at line 1697 of file glui.h.
| typedef GLUI_EditText GLUI_CommandLine::Super |
| GLUI_CommandLine::GLUI_CommandLine | ( | GLUI_Node * | parent, | |
| const char * | name, | |||
| void * | live_var = NULL, |
|||
| int | obj_id = -1, |
|||
| GLUI_CB | callback = GLUI_CB() | |||
| ) |
| 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] |
| virtual GLUI_String& GLUI_CommandLine::get_history_str | ( | int | command_number | ) | [inline, virtual] |
| virtual const GLUI_String& GLUI_CommandLine::get_history_str | ( | int | command_number | ) | const [inline, virtual] |
| 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] |
| std::vector<GLUI_String> GLUI_CommandLine::hist_list |
1.5.3