7 #ifndef CAFU_DIALOG_TERRAIN_EDIT_HPP_INCLUDED
8 #define CAFU_DIALOG_TERRAIN_EDIT_HPP_INCLUDED
10 #include "wxFB/TerrainEditorDialogs.h"
11 #include "Math3D/BoundingBox.hpp"
35 int GetRadius()
const {
return m_SpinCtrlRadius->GetValue(); }
38 int GetHardness()
const {
return m_SpinCtrlHardness->GetValue(); }
50 void OnToolClicked (wxCommandEvent& event);
51 void OnSpinCtrlRadius (wxSpinEvent& event);
52 void OnSliderScrollRadius (wxScrollEvent& event);
53 void OnSpinCtrlHardness (wxSpinEvent& event);
54 void OnSliderScrollHardness (wxScrollEvent& event);
55 void OnSpinCtrlToolEffect (wxSpinEvent& event);
56 void OnSliderScrollToolEffect(wxScrollEvent& event);
57 void OnChoiceResolution (wxCommandEvent& event);
58 void OnButtonImport (wxCommandEvent& event);
59 void OnButtonExport (wxCommandEvent& event);
60 void OnButtonGenerate (wxCommandEvent& event);
void UpdateResolution(unsigned long Resolution)
Updates the dialogs resolution combobox.
Definition: DialogTerrainEdit.cpp:30
bool OnMMouseUp()
React on middle mouse clicks from terrain editor tool.
Definition: DialogTerrainEdit.cpp:57
Definition: DialogTerrainEdit.hpp:19
int GetToolEffect() const
Gets the current tool effect value.
Definition: DialogTerrainEdit.hpp:41
Definition: DialogTerrainGeneration.hpp:14
int GetRadius() const
Gets the current radius value.
Definition: DialogTerrainEdit.hpp:35
TerrainEditorDialogT(wxWindow *Parent, const GameConfigT &GameConfig, ToolTerrainEditorT *ParentTool)
Constructor.
Definition: DialogTerrainEdit.cpp:17
Class TerrainEditorDialogFB.
Definition: TerrainEditorDialogs.h:48
int GetHardness() const
Gets the current hardness value.
Definition: DialogTerrainEdit.hpp:38
The class describes the settings for a game/MOD.
Definition: GameConfig.hpp:32
int GetActiveTool() const
Returns the the currently active tool.
Definition: DialogTerrainEdit.cpp:41