#include <appwnd.h>
Public Member Functions | |
| ToolSelect (int x, int y, EDrawTool *dt) | |
| ~ToolSelect () | |
| virtual void | redraw () |
Static Public Attributes | |
| static const int | iRowCnt = 2 |
| Toolbar rows count. | |
| static const int | iColCnt = 4 |
| Toolbar columns count. | |
| static const int | iButtonSize = 64 |
| Toolbar button size. | |
| static const int | iButtonCnt = iRowCnt * iColCnt |
| Toolbar buttons count. | |
| static const int | width = iColCnt * iButtonSize |
| Widget width. | |
| static const int | height = iRowCnt * iButtonSize |
| Widget height. | |
Definition at line 139 of file appwnd.h.
| ToolSelect::ToolSelect | ( | int | x, | |
| int | y, | |||
| EDrawTool * | dt | |||
| ) |
Create widget.
| x | Widget position. | |
| y | Widget position. | |
| dt | Pointer to data of this widget. It is used for reading and writeing. |
| ToolSelect::~ToolSelect | ( | ) |
| virtual void ToolSelect::redraw | ( | ) | [virtual] |
Redraw widget. This shloud be called if tool is changed outside this widget.
const int ToolSelect::iRowCnt = 2 [static] |
const int ToolSelect::iColCnt = 4 [static] |
const int ToolSelect::iButtonSize = 64 [static] |
const int ToolSelect::iButtonCnt = iRowCnt * iColCnt [static] |
const int ToolSelect::width = iColCnt * iButtonSize [static] |
const int ToolSelect::height = iRowCnt * iButtonSize [static] |
1.5.2