Static Public Member Functions

gui2::twindow_implementation Struct Reference

Helper to implement private functions without modifying the header. More...

#include <window_private.hpp>

List of all members.

Static Public Member Functions

static void layout (twindow &window, const unsigned maximum_width, const unsigned maximum_height)
 Layouts the window.

Detailed Description

Helper to implement private functions without modifying the header.

The class is a helper to avoid recompilation and only has static functions.

Definition at line 39 of file window_private.hpp.


Member Function Documentation

void gui2::twindow_implementation::layout ( twindow window,
const unsigned  maximum_width,
const unsigned  maximum_height 
) [static]

Layouts the window.

This part handles the actual layouting of the window.

See also:
layout_algorihm for more information.
Parameters:
window The window to operate upon.
maximum_width The maximum width of the window.
maximum_height The maximum height of the window.

Definition at line 1197 of file window.cpp.

References DBG_GUI_L, gui2::twidget::get_best_size(), gui2::tcontainer_::layout_init(), gui2::twindow::layout_linked_widgets(), gui2::log_gui_layout, LOG_IMPL_HEADER, LOG_IMPL_SCOPE_HEADER, log_scope2, gui2::tcontainer_::reduce_height(), gui2::tcontainer_::reduce_width(), gui2::tpoint::x, and gui2::tpoint::y.

Here is the call graph for this function:


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

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