Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes

gui::dialog_button Class Reference

#include <construct_dialog.hpp>

Inheritance diagram for gui::dialog_button:
Inheritance graph
[legend]
Collaboration diagram for gui::dialog_button:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 dialog_button (CVideo &video, const std::string &label, TYPE type=TYPE_PRESS, int simple_result=CONTINUE_DIALOG, dialog_button_action *handler=NULL)
void set_parent (class dialog *parent)
bool is_option () const
virtual int action (dialog_process_info &info)

Protected Member Functions

class dialogdialog () const

Protected Attributes

const int simple_result_

Private Attributes

class dialogparent_
dialog_button_actionhandler_

Detailed Description

Definition at line 152 of file construct_dialog.hpp.


Constructor & Destructor Documentation

gui::dialog_button::dialog_button ( CVideo video,
const std::string &  label,
TYPE  type = TYPE_PRESS,
int  simple_result = CONTINUE_DIALOG,
dialog_button_action handler = NULL 
) [inline]

Definition at line 154 of file construct_dialog.hpp.


Member Function Documentation

int gui::dialog_button::action ( dialog_process_info info  )  [virtual]
class dialog* gui::dialog_button::dialog (  )  const [inline, protected]

Definition at line 167 of file construct_dialog.hpp.

References parent_.

Referenced by gui::standard_dialog_button::action().

Here is the caller graph for this function:

bool gui::dialog_button::is_option (  )  const [inline]

Definition at line 162 of file construct_dialog.hpp.

References gui::button::type_, and gui::button::TYPE_CHECK.

void gui::dialog_button::set_parent ( class dialog parent  )  [inline]

Definition at line 159 of file construct_dialog.hpp.

References parent_.

Referenced by gui::dialog::add_button().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 171 of file construct_dialog.hpp.

Referenced by action().

Definition at line 170 of file construct_dialog.hpp.

Referenced by action(), dialog(), and set_parent().

const int gui::dialog_button::simple_result_ [protected]

Definition at line 168 of file construct_dialog.hpp.

Referenced by gui::standard_dialog_button::action(), and action().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:21:04 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs