Public Member Functions

gui2::policy::placement::tmatrix Struct Reference

Places the items in a grid. More...

#include <generator_private.hpp>

Inheritance diagram for gui2::policy::placement::tmatrix:
Inheritance graph
[legend]
Collaboration diagram for gui2::policy::placement::tmatrix:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void create_item (const unsigned)
 See thorizontal_list::create_item().
void request_reduce_width (const unsigned)
 See thorizontal_list::request_reduce_width.
virtual void request_reduce_height (const unsigned)
 See thorizontal_list::request_reduce_height.
tpoint calculate_best_size () const
 See thorizontal_list::calculate_best_size().
void place (const tpoint &, const tpoint &)
 See thorizontal_list::place().
void set_origin (const tpoint &)
 See thorizontal_list::set_origin().
void set_visible_area (const SDL_Rect &)
 See thorizontal_list::set_visible_area().
twidgetfind_at (const tpoint &, const bool)
 See thorizontal_list::find_at().
const twidgetfind_at (const tpoint &, const bool) const
 See thorizontal_list::find_at().
void handle_key_up_arrow (SDLMod, bool &)
 Inherited from tgenerator_.
void handle_key_down_arrow (SDLMod, bool &)
 Inherited from tgenerator_.
void handle_key_left_arrow (SDLMod, bool &)
 Inherited from tgenerator_.
void handle_key_right_arrow (SDLMod, bool &)
 Inherited from tgenerator_.

Detailed Description

Places the items in a grid.

The items will be placed in rows and columns. It has to be determined whether the number of columns will be fixed or variable.

Todo:
Implement.

Definition at line 341 of file generator_private.hpp.


Member Function Documentation

tpoint gui2::policy::placement::tmatrix::calculate_best_size (  )  const [inline, virtual]

See thorizontal_list::calculate_best_size().

Implements gui2::tgenerator_.

Definition at line 356 of file generator_private.hpp.

References ERROR_LOG.

void gui2::policy::placement::tmatrix::create_item ( const   unsigned  )  [inline]

See thorizontal_list::create_item().

Definition at line 345 of file generator_private.hpp.

References ERROR_LOG.

twidget* gui2::policy::placement::tmatrix::find_at ( const tpoint ,
const   bool 
) [inline, virtual]

See thorizontal_list::find_at().

Implements gui2::tgenerator_.

Definition at line 372 of file generator_private.hpp.

References ERROR_LOG.

const twidget* gui2::policy::placement::tmatrix::find_at ( const tpoint ,
const   bool 
) const [inline, virtual]

See thorizontal_list::find_at().

Implements gui2::tgenerator_.

Definition at line 375 of file generator_private.hpp.

References ERROR_LOG.

void gui2::policy::placement::tmatrix::handle_key_down_arrow ( SDLMod  ,
bool &   
) [inline, virtual]

Inherited from tgenerator_.

Implements gui2::tgenerator_.

Definition at line 385 of file generator_private.hpp.

References ERROR_LOG.

void gui2::policy::placement::tmatrix::handle_key_left_arrow ( SDLMod  ,
bool &   
) [inline, virtual]

Inherited from tgenerator_.

Implements gui2::tgenerator_.

Definition at line 389 of file generator_private.hpp.

References ERROR_LOG.

void gui2::policy::placement::tmatrix::handle_key_right_arrow ( SDLMod  ,
bool &   
) [inline, virtual]

Inherited from tgenerator_.

Implements gui2::tgenerator_.

Definition at line 393 of file generator_private.hpp.

References ERROR_LOG.

void gui2::policy::placement::tmatrix::handle_key_up_arrow ( SDLMod  ,
bool &   
) [inline, virtual]

Inherited from tgenerator_.

Implements gui2::tgenerator_.

Definition at line 381 of file generator_private.hpp.

References ERROR_LOG.

void gui2::policy::placement::tmatrix::place ( const tpoint ,
const tpoint  
) [inline, virtual]

See thorizontal_list::place().

Implements gui2::tgenerator_.

Definition at line 360 of file generator_private.hpp.

References ERROR_LOG.

virtual void gui2::policy::placement::tmatrix::request_reduce_height ( const   unsigned  )  [inline, virtual]
void gui2::policy::placement::tmatrix::request_reduce_width ( const   unsigned  )  [inline, virtual]
void gui2::policy::placement::tmatrix::set_origin ( const tpoint  )  [inline, virtual]

See thorizontal_list::set_origin().

Implements gui2::tgenerator_.

Definition at line 364 of file generator_private.hpp.

References ERROR_LOG.

void gui2::policy::placement::tmatrix::set_visible_area ( const SDL_Rect &   )  [inline, virtual]

See thorizontal_list::set_visible_area().

Implements gui2::tgenerator_.

Definition at line 368 of file generator_private.hpp.

References ERROR_LOG.


The documentation for this struct was generated from the following file:
 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