Functions | Variables

gui2::settings Namespace Reference

This namespace contains the 'global' settings. More...

Functions

std::vector< ttipget_tips ()

Variables

unsigned screen_width = 0
 The screen resolution should be available for all widgets since their drawing method will depend on it.
unsigned screen_height = 0
unsigned gamemap_width = 0
 The size of the map area, if not available equal to the screen size.
unsigned gamemap_height = 0
unsigned popup_show_delay = 0
 These are copied from the active gui.
unsigned popup_show_time = 0
unsigned help_show_time = 0
unsigned double_click_time = 0
unsigned repeat_button_repeat_time = 0
std::string sound_button_click = ""
std::string sound_toggle_button_click = ""
std::string sound_toggle_panel_click = ""
std::string sound_slider_adjust = ""
t_string has_helptip_message
std::vector< ttiptips

Detailed Description

This namespace contains the 'global' settings.


Function Documentation

std::vector< ttip > gui2::settings::get_tips (  ) 

Referenced by gui2::ttitle_screen::pre_show().

Here is the caller graph for this function:


Variable Documentation

The size of the map area, if not available equal to the screen size.

Definition at line 44 of file settings.cpp.

Referenced by do_preferences_dialog(), gui2::twindow::signal_handler_sdl_video_resize(), and gui2::twindow::update_screen_size().

Definition at line 58 of file settings.cpp.

Referenced by gui2::tcontrol::signal_handler_show_tooltip().

Definition at line 49 of file settings.cpp.

These are copied from the active gui.

Definition at line 47 of file settings.cpp.

Definition at line 48 of file settings.cpp.

The screen resolution should be available for all widgets since their drawing method will depend on it.

Definition at line 41 of file settings.cpp.

Referenced by do_preferences_dialog(), gui2::twindow::layout(), gui2::signal_handler_sdl_video_resize(), gui2::twindow::signal_handler_sdl_video_resize(), and gui2::twindow::update_screen_size().

Definition at line 56 of file settings.cpp.

Referenced by gui2::tslider::child_callback_positioner_moved().

Definition at line 54 of file settings.cpp.

Referenced by gui2::ttoggle_button::signal_handler_left_button_click().

Definition at line 55 of file settings.cpp.

Referenced by gui2::ttoggle_panel::signal_handler_left_button_click().

std::vector<ttip> gui2::settings::tips

Definition at line 60 of file settings.cpp.

Referenced by gui2::ttitle_screen::pre_show(), and gui2::ttitle_screen::update_tip().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:23:43 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs