Classes | Functions

gui2::implementation Namespace Reference

Classes

class  tplacer_horizontal_list
 The placement class for a horizontal list. More...
class  tplacer_vertical_list
 The placement class for a vertical list. More...
struct  tbuilder_button
struct  tbuilder_control
struct  tbuilder_drawing
struct  tbuilder_horizontal_listbox
struct  tbuilder_horizontal_scrollbar
struct  tbuilder_image
struct  tbuilder_label
struct  tbuilder_listbox
struct  tbuilder_minimap
struct  tbuilder_multi_page
struct  tbuilder_panel
struct  tbuilder_password_box
struct  tbuilder_progress_bar
struct  tbuilder_repeating_button
struct  tbuilder_scroll_label
struct  tbuilder_scrollbar_panel
struct  tbuilder_slider
struct  tbuilder_spacer
struct  tbuilder_stacked_widget
struct  tbuilder_text_box
struct  tbuilder_toggle_button
struct  tbuilder_toggle_panel
struct  tbuilder_tree_view
struct  tbuilder_vertical_scrollbar
class  tbuilder_window

Functions

unsigned get_v_align (const std::string &v_align)
 Returns the vertical alignment.
unsigned get_h_align (const std::string &h_align)
 Returns the horizontal alignment.
unsigned get_border (const std::vector< std::string > &border)
 Returns the border flags.
unsigned read_flags (const config &cfg)
 Returns the placement/resize flags.
tscrollbar_container::tscrollbar_mode get_scrollbar_mode (const std::string &scrollbar_mode)
 Returns the scrollbar mode flags.
int get_retval (const std::string &retval_id, const int retval, const std::string &id)
 Returns the return value for a widget.

Function Documentation

unsigned gui2::implementation::get_border ( const std::vector< std::string > &  border  ) 

Returns the border flags.

Parameters:
border The string representing the border flags.
Returns:
The border flags.
unsigned gui2::implementation::get_h_align ( const std::string &  h_align  ) 

Returns the horizontal alignment.

Parameters:
h_align The string representing the alignment.
Returns:
The alignment.
int gui2::implementation::get_retval ( const std::string &  retval_id,
const int  retval,
const std::string &  id 
)

Returns the return value for a widget.

If there's a valid retval_id that will be returned. Else if there's a retval that's returned. Else it falls back to the id.

tscrollbar_container::tscrollbar_mode gui2::implementation::get_scrollbar_mode ( const std::string &  scrollbar_mode  ) 
unsigned gui2::implementation::get_v_align ( const std::string &  v_align  ) 

Returns the vertical alignment.

Parameters:
v_align The string representing the alignment.
Returns:
The alignment.
unsigned gui2::implementation::read_flags ( const config cfg  ) 

Returns the placement/resize flags.

Parameters:
cfg The config to look for flags for.
Returns:
The placement/resize flags.

Referenced by gui2::tbuilder_grid::tbuilder_grid().

Here is the caller graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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