(svn r17692) -Codechange: minor coding style fixes

This commit is contained in:
smatz
2009-10-04 17:10:57 +00:00
parent 1666f7a1a9
commit 32cbe57178
12 changed files with 28 additions and 16 deletions

View File

@@ -660,7 +660,8 @@ struct ScenarioEditorLandscapeGenerationWindow : Window {
this->GetWidget<NWidgetCore>(ETTW_PLACE_DESERT_LIGHTHOUSE)->tool_tip = (_settings_game.game_creation.landscape == LT_TROPIC) ? STR_TERRAFORM_TOOLTIP_DEFINE_DESERT_AREA : STR_TERRAFORM_TOOLTIP_PLACE_LIGHTHOUSE;
}
virtual void OnPaint() {
virtual void OnPaint()
{
this->DrawWidgets();
if (this->IsWidgetLowered(ETTW_LOWER_LAND) || this->IsWidgetLowered(ETTW_RAISE_LAND)) { // change area-size if raise/lower corner is selected