This class is used to handle showing the toolbar. The actual functions of the tools are handled in core.cpp instead.
More...
#include "source/toolbar.h"
This class is used to handle showing the toolbar. The actual functions of the tools are handled in core.cpp instead.
◆ clsToolbar()
clsToolbar::clsToolbar |
( |
| ) |
|
- Todo:
- (GamerMan7799#9#): Make toolbar bigger?
◆ getTool()
uchar clsToolbar::getTool |
( |
void |
| ) |
|
Returns current selected tool
- Returns
- Selected tool based on enumTools
◆ incrementTool()
void clsToolbar::incrementTool |
( |
char |
dir | ) |
|
Moves toolbox to the next or previous tool
- Parameters
-
dir | = value to increment tool box up or down |
◆ setTool()
void clsToolbar::setTool |
( |
uchar |
newtool | ) |
|
◆ show()
void clsToolbar::show |
( |
void |
| ) |
|
Displays the toolbox if enabled
◆ toggleToolbox()
void clsToolbar::toggleToolbox |
( |
void |
| ) |
|
Toggles showing the toolbox on/off.
The documentation for this class was generated from the following files: