ToolSelect Class Reference

#include <appwnd.h>

List of all members.

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.


Detailed Description

Tool selection widget

Definition at line 139 of file appwnd.h.


Constructor & Destructor Documentation

ToolSelect::ToolSelect ( int  x,
int  y,
EDrawTool dt 
)

Create widget.

Parameters:
x Widget position.
y Widget position.
dt Pointer to data of this widget. It is used for reading and writeing.

ToolSelect::~ToolSelect (  ) 


Member Function Documentation

virtual void ToolSelect::redraw (  )  [virtual]

Redraw widget. This shloud be called if tool is changed outside this widget.


Member Data Documentation

const int ToolSelect::iRowCnt = 2 [static]

Toolbar rows count.

Definition at line 155 of file appwnd.h.

const int ToolSelect::iColCnt = 4 [static]

Toolbar columns count.

Definition at line 156 of file appwnd.h.

const int ToolSelect::iButtonSize = 64 [static]

Toolbar button size.

Definition at line 157 of file appwnd.h.

const int ToolSelect::iButtonCnt = iRowCnt * iColCnt [static]

Toolbar buttons count.

Definition at line 158 of file appwnd.h.

const int ToolSelect::width = iColCnt * iButtonSize [static]

Widget width.

Definition at line 159 of file appwnd.h.

const int ToolSelect::height = iRowCnt * iButtonSize [static]

Widget height.

Definition at line 160 of file appwnd.h.


The documentation for this class was generated from the following file:
Generated on Wed Aug 29 00:01:04 2007 for GED 2006 by  doxygen 1.5.2