YAPETUI Namespace Reference

Holds primitive classes associated with the user interface. More...


Classes

class  BaseWindow
 Base window class for windows wanting to receive resize events. More...
class  Button
 A button. More...
struct  color
 Struct holding the color. More...
class  Colors
 Class for managing colors. More...
class  DialogBox
 Class for displaying a dialog box. More...
class  InputWidget
 A widget where text can be entered. More...
class  ListWidget
 A widget showing a list of items for selecting one. More...
class  MessageBox
 Displays a message in a window on the screen. More...
class  PasswordWidget
 A password input widget. More...
class  secallocator
 Memory clearing allocator. More...
class  UIException
 User interface exception. More...

Typedefs

typedef std::basic_string
< char, std::char_traits< char >
, secallocator< char > > 
secstring
 String class using the secallocator allocator.

Enumerations

enum  ANSWER { ANSWER_OK, ANSWER_CANCEL }
 The answers available. More...
enum  COLORS {
  DEFAULT = 0, MESSAGEBOX_TITLE, MESSAGEBOX, INPUTWIDGET_NOFOCUS,
  INPUTWIDGET_FOCUS, BUTTON_NOFOCUS, BUTTON_FOCUS, LISTWIDGET
}
 The indices of the color array. More...


Detailed Description

This namepsace holds the primitive classes used to build the user interface of yapet.


Typedef Documentation

typedef std::basic_string<char, std::char_traits<char>, secallocator<char> > YAPETUI::secstring

This string class uses the secallocator allocator in order to clear the memory occupied by the string.

Definition at line 75 of file secstring.h.


Enumeration Type Documentation

The answers available for the user. The answer can be retrieved by getAnswer().

Enumerator:
ANSWER_OK  The user pressed the OK button.
ANSWER_CANCEL  The user pressed the Cancel button.

Definition at line 54 of file dialogbox.h.

This are the indices of the color array.

Enumerator:
DEFAULT  The default color.
MESSAGEBOX_TITLE  The color used for the title of a message box.
MESSAGEBOX  The color of the message box
INPUTWIDGET_NOFOCUS  The color for an input widget without focus.
INPUTWIDGET_FOCUS  Color for an input widget with focus.
BUTTON_NOFOCUS  Color of buttons without focus.
BUTTON_FOCUS  Color of buttons with focus.
LISTWIDGET  Color of listwidgets.

Definition at line 47 of file colors.h.


Generated on Thu Jun 11 19:13:06 2009 for YAPET by  doxygen 1.5.8