A dialog element that does nothing -- you typically use this as the last element of dialog so that the user has one last chance after entering data in the last real field to edit his work. It has not input semantics -- except wasting time. More...
#include <cursorwindow.h>
Public Member Functions | |
void | draw_input_area (viewport *v, bool highlighted) |
paints [ ok ] | |
void | handle_key (viewport *v, int key) |
ignores all keys | |
Ok (std::string const &name, std::string const &label) | |
Public Attributes | |
int | input_width_ |
std::string | label_ |
std::string | name_ |
std::string | value_ |
Protected Attributes | |
Dialog * | dialog_ |
Friends | |
class | Dialog |
A dialog element that does nothing -- you typically use this as the last element of dialog so that the user has one last chance after entering data in the last real field to edit his work. It has not input semantics -- except wasting time.
Definition at line 1216 of file cursorwindow.h.
Ok | ( | std::string const & | name, | |
std::string const & | label | |||
) |
< Construct an OK field.
Definition at line 1228 of file cursorwindow.h.
void draw_input_area | ( | viewport * | v, | |
bool | highlighted | |||
) | [virtual] |
paints [ ok ]
Implements Element.
Definition at line 2217 of file cursorwindow.cxx.
void handle_key | ( | viewport * | v, | |
int | key | |||
) | [virtual] |
ignores all keys
Implements Element.
Definition at line 1931 of file cursorwindow.cxx.
friend class Dialog [friend, inherited] |
Definition at line 1169 of file cursorwindow.h.
Definition at line 1166 of file cursorwindow.h.
int input_width_ [inherited] |
Definition at line 1176 of file cursorwindow.h.
std::string label_ [inherited] |
Definition at line 1174 of file cursorwindow.h.
std::string name_ [inherited] |
Definition at line 1173 of file cursorwindow.h.
std::string value_ [inherited] |
Definition at line 1175 of file cursorwindow.h.