Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ndk::dialog_box< Main > Class Template Reference

Inheritance diagram for ndk::dialog_box< Main >:

Inheritance graph
[legend]
Collaboration diagram for ndk::dialog_box< Main >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 dialog_box (const std::string &message, const std::string &title="Information", panel *parent=0)
 dialog_box (const std::string &title, panel *parent)

Protected Member Functions

void quit ()

Protected Attributes

button_bar bar_
Main main_

Private Member Functions

virtual void draw ()

Private Attributes

std::string title_

Detailed Description

template<class Main>
class ndk::dialog_box< Main >

This is a general template to the all types of dialogboxes. Any dialog contain some main widget and button bar.

Todo:
(??) add argument to place this widget on the screen


Constructor & Destructor Documentation

template<class Main>
ndk::dialog_box< Main >::dialog_box const std::string &  message,
const std::string &  title = "Information",
panel parent = 0
[inline]
 

version of constructor with setting text to the top widget, usefull to the information widgets like MessageBox, YesNoBox etc.

template<class Main>
ndk::dialog_box< Main >::dialog_box const std::string &  title,
panel parent
[inline]
 

version of constructor without setting text to the top widget, usefull for the widgets like file selection


Member Function Documentation

template<class Main>
virtual void ndk::dialog_box< Main >::draw  )  [inline, private, virtual]
 

draw frame on the panel

Reimplemented from ndk::frame.

template<class Main>
void ndk::dialog_box< Main >::quit  )  [inline, protected]
 


Member Data Documentation

template<class Main>
button_bar ndk::dialog_box< Main >::bar_ [protected]
 

template<class Main>
Main ndk::dialog_box< Main >::main_ [protected]
 

template<class Main>
std::string ndk::dialog_box< Main >::title_ [private]
 

title of the dialog


The documentation for this class was generated from the following file:
Generated on Fri Jun 4 16:20:54 2004 for NDK++ by doxygen 1.3.6