Fill action. More...
#include <mouse_action.hpp>


Public Member Functions | |
| mouse_action_fill (const CKey &key, terrain_palette &terrain_palette) | |
| std::set< map_location > | affected_hexes (editor_display &disp, const map_location &hex) |
| Tiles that will be painted to, possibly use modifier keys here. | |
| editor_action * | click_left (editor_display &disp, int x, int y) |
| Left / right click fills with the respective terrain. | |
| editor_action * | click_right (editor_display &disp, int x, int y) |
| Left / right click fills with the respective terrain. | |
| virtual void | set_mouse_overlay (editor_display &disp) |
| Set the mouse overlay for this action. | |
Protected Attributes | |
| const terrain_palette & | terrain_palette_ |
Fill action.
No dragging capabilities. Uses keyboard modifiers for one-layer painting.
Definition at line 360 of file mouse_action.hpp.
| editor::mouse_action_fill::mouse_action_fill | ( | const CKey & | key, | |
| terrain_palette & | terrain_palette | |||
| ) | [inline] |
Definition at line 363 of file mouse_action.hpp.
| std::set< map_location > editor::mouse_action_fill::affected_hexes | ( | editor_display & | disp, | |
| const map_location & | hex | |||
| ) | [virtual] |
Tiles that will be painted to, possibly use modifier keys here.
Reimplemented from editor::mouse_action.
Definition at line 375 of file mouse_action.cpp.
| editor_action * editor::mouse_action_fill::click_left | ( | editor_display & | disp, | |
| int | x, | |||
| int | y | |||
| ) | [virtual] |
Left / right click fills with the respective terrain.
Implements editor::mouse_action.
Definition at line 381 of file mouse_action.cpp.
| editor_action * editor::mouse_action_fill::click_right | ( | editor_display & | disp, | |
| int | x, | |||
| int | y | |||
| ) | [virtual] |
Left / right click fills with the respective terrain.
Implements editor::mouse_action.
Definition at line 396 of file mouse_action.cpp.
| void editor::mouse_action_fill::set_mouse_overlay | ( | editor_display & | disp | ) | [virtual] |
Set the mouse overlay for this action.
Defaults to an empty overlay.
Reimplemented from editor::mouse_action.
Definition at line 411 of file mouse_action.cpp.
const terrain_palette& editor::mouse_action_fill::terrain_palette_ [protected] |
Definition at line 391 of file mouse_action.hpp.
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:19:32 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |