OpenTTD Source
20241120-master-g6d3adc6169
|
Stuff related to the (main) toolbar. More...
Go to the source code of this file.
Functions | |
void | AllocateToolbar () |
Allocate the toolbar. | |
void | ToggleBoundingBoxes () |
Toggle drawing of sprites' bounding boxes. More... | |
void | ToggleDirtyBlocks () |
Toggle drawing of the dirty blocks. More... | |
void | ToggleWidgetOutlines () |
Toggle drawing of widget outlihes. More... | |
Variables | |
uint | _toolbar_width |
Width of the toolbar, shared by statusbar. | |
Stuff related to the (main) toolbar.
Definition in file toolbar_gui.h.
void ToggleBoundingBoxes | ( | ) |
Toggle drawing of sprites' bounding boxes.
Function is found here and not in viewport.cpp in order to avoid importing the settings structs to there.
Definition at line 1067 of file toolbar_gui.cpp.
void ToggleDirtyBlocks | ( | ) |
Toggle drawing of the dirty blocks.
Function is found here and not in viewport.cpp in order to avoid importing the settings structs to there.
Definition at line 1084 of file toolbar_gui.cpp.
void ToggleWidgetOutlines | ( | ) |
Toggle drawing of widget outlihes.
Definition at line 1098 of file toolbar_gui.cpp.