terraform_gui.h File Reference

GUI stuff related to terraforming. More...

#include "window_type.h"

Go to the source code of this file.

Functions

WindowShowTerraformToolbar (Window *link=NULL)
 Show the toolbar for terraforming in the game.
WindowShowEditorTerraformToolbar ()
 Show the toolbar for terraforming in the scenario editor.

Detailed Description

GUI stuff related to terraforming.

Definition in file terraform_gui.h.


Function Documentation

Window* ShowEditorTerraformToolbar (  ) 

Show the toolbar for terraforming in the scenario editor.

Returns:
The allocated toolbar.

Definition at line 793 of file terraform_gui.cpp.

Referenced by ScenarioEditorToolbarWindow::OnKeyPress().

Window* ShowTerraformToolbar ( Window link  ) 

Show the toolbar for terraforming in the game.

Parameters:
link The toolbar we might want to link to.
Returns:
The allocated toolbar.

Definition at line 376 of file terraform_gui.cpp.

References _current_text_dir, _local_company, DeleteWindowById(), Window::height, Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem<&_company_pool >::IsValidID(), Window::left, Window::SetDirty(), TD_RTL, Window::top, and Window::width.

Referenced by MainToolbarWindow::OnKeyPress().


Generated on Sun May 8 07:30:40 2011 for OpenTTD by  doxygen 1.6.1