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

ndk::select_box< T > Class Template Reference

Inheritance diagram for ndk::select_box< T >:

Inheritance graph
[legend]
Collaboration diagram for ndk::select_box< T >:

Collaboration graph
[legend]
List of all members.

Public Types

enum  select_type { yes_no, ok_cancel }

Public Member Functions

 select_box (const std::string &message, const std::string &title, int def_button=0, const select_type &t=yes_no, panel *parent=0)
 select_box (const std::string &title="Question", int def_button=0, const select_type &t=yes_no, panel *parent=0)
bool operator() ()
bool result ()

Private Types

typedef dialog_box< T > dialog_type

Private Member Functions

void init_buttons (int def_button)
void set_result (bool val)

Private Attributes

select_type type_
bool result_

template<class T = text>
class ndk::select_box< T >


Member Typedef Documentation

template<class T = text>
typedef dialog_box<T> ndk::select_box< T >::dialog_type [private]
 


Member Enumeration Documentation

template<class T = text>
enum ndk::select_box::select_type
 

Enumeration values:
yes_no 
ok_cancel 


Constructor & Destructor Documentation

template<class T = text>
ndk::select_box< T >::select_box const std::string &  message,
const std::string &  title,
int  def_button = 0,
const select_type t = yes_no,
panel parent = 0
[inline]
 

template<class T = text>
ndk::select_box< T >::select_box const std::string &  title = "Question",
int  def_button = 0,
const select_type t = yes_no,
panel parent = 0
[inline]
 


Member Function Documentation

template<class T = text>
void ndk::select_box< T >::init_buttons int  def_button  )  [inline, private]
 

template<class T = text>
bool ndk::select_box< T >::operator()  )  [inline]
 

template<class T = text>
bool ndk::select_box< T >::result  )  [inline]
 

template<class T = text>
void ndk::select_box< T >::set_result bool  val  )  [inline, private]
 


Member Data Documentation

template<class T = text>
bool ndk::select_box< T >::result_ [private]
 

template<class T = text>
select_type ndk::select_box< T >::type_ [private]
 


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