Classes | Typedefs | Enumerations | Functions

YAPET::UI Namespace Reference

Classes

class  BaseWindow
 Base window class for windows wanting to receive resize events. More...
class  Button
 A button. More...
class  CheckBoxGroup
 A group of check boxes. 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  IntInWidget
 An input widget accepting only digits. 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,
  CHECKBOXGROUP, CHECKBOXGROUP_TITLE
}
 

The indices of the color array.

More...

Functions

template<class t >
int getDigitsForType ()

Typedef Documentation

typedef std::basic_string<char, std::char_traits<char>, secallocator<char> > YAPET::UI::secstring

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

Definition at line 76 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 55 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.

CHECKBOXGROUP 

Color of Check Box Groups

CHECKBOXGROUP_TITLE 

Color of the Check Box Group Title

Definition at line 55 of file colors.h.


Function Documentation

template<class t >
int YAPET::UI::getDigitsForType (  ) 

Definition at line 50 of file intinwidget.h.