map_editor::size_specs Struct Reference

Size specifications for the map editor. More...

#include <editor_layout.hpp>

List of all members.

Public Member Functions

 size_specs ()
 Initialize the values to dummie-values that will avoid floating point errors if calculations are made before the sizes are adjusted through adjust_sizes().

Public Attributes

size_t terrain_size
size_t terrain_padding
size_t terrain_space
size_t terrain_width
size_t palette_x
size_t palette_y
size_t palette_h
size_t palette_w
size_t brush_x
size_t brush_y
size_t brush_padding


Detailed Description

Size specifications for the map editor.

Definition at line 28 of file editor_layout.hpp.


Constructor & Destructor Documentation

map_editor::size_specs::size_specs (  ) 

Initialize the values to dummie-values that will avoid floating point errors if calculations are made before the sizes are adjusted through adjust_sizes().

Definition at line 29 of file editor_layout.cpp.

References brush_padding, brush_x, brush_y, default_palette_width, default_terrain_size, palette_h, palette_w, palette_x, palette_y, terrain_padding, terrain_size, terrain_space, and terrain_width.


Member Data Documentation

Definition at line 33 of file editor_layout.hpp.

Referenced by map_editor::terrain_palette::draw(), and size_specs().

Definition at line 34 of file editor_layout.hpp.

Referenced by size_specs().


The documentation for this struct was generated from the following files:

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs