The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Typedefs | Functions
helper.hpp File Reference
#include "gui/widgets/window.hpp"
#include "utils/functional.hpp"
Include dependency graph for helper.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 gui2
 A class inherited from ttext_box that displays its input as stars.
 

Typedefs

typedef std::function< void(twindow &)> gui2::dialog_member_func_type
 

Functions

template<class D , void(D::*)(twindow &) fptr>
void gui2::dialog_callback (twidget &caller)
 Template for dialog callbacks. More...
 
void gui2::make_dialog_callback_helper (const dialog_member_func_type &t, twidget &caller)
 
std::function< void(twidget &)> gui2::make_dialog_callback (dialog_member_func_type func)