Ok Class Reference

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>

Inheritance diagram for Ok:
Inheritance graph
[legend]
Collaboration diagram for Ok:
Collaboration graph
[legend]

List of all members.

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

Dialogdialog_

Friends

class Dialog

Detailed Description

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.


Constructor & Destructor Documentation

Ok ( std::string const &  name,
std::string const &  label 
)

< Construct an OK field.

Definition at line 1228 of file cursorwindow.h.


Member Function Documentation

void draw_input_area ( viewport v,
bool  highlighted 
) [virtual]

paints [ ok ]

Implements Element.

Definition at line 2217 of file cursorwindow.cxx.

Here is the call graph for this function:

void handle_key ( viewport v,
int  key 
) [virtual]

ignores all keys

Implements Element.

Definition at line 1931 of file cursorwindow.cxx.

Here is the call graph for this function:


Friends And Related Function Documentation

friend class Dialog [friend, inherited]

Definition at line 1169 of file cursorwindow.h.


Member Data Documentation

Dialog* dialog_ [protected, inherited]

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.


The documentation for this class was generated from the following files:
Generated on Wed Feb 29 22:53:40 2012 for CXXUtilities by  doxygen 1.6.3