Template class for simple tool with associated MGUI tool. More...
#include <gre/uiviewtoolsimple.h>

Public Member Functions | |
| VIEWTOOL_SIMPLE_T (GRE::UI::VIEW_CANVAS &view, const MISTRING &name, ICONID iconid, ICID icidmenu, ICID icidbutton, bool AutoTrans=true, VIEWTOOLID toolid=VIEWTOOLID_Unspecified, char HotKey=0) | |
| VIEWTOOL_SIMPLE_T (GRE::UI::VIEW_CANVAS &view, const MISTRING &name, ICONID iconid, bool AutoTrans=true, VIEWTOOLID toolid=VIEWTOOLID_Unspecified, char HotKey=0) | |
| _TOOLTYPE & | GetGuiTool () |
| const _TOOLTYPE & | GetGuiTool () const |
Template class for simple tool with associated MGUI tool.
| GRE::UI::VIEWTOOL_SIMPLE_T< _TOOLTYPE >::VIEWTOOL_SIMPLE_T | ( | GRE::UI::VIEW_CANVAS & | view, | |
| const MISTRING & | name, | |||
| ICONID | iconid, | |||
| bool | AutoTrans = true, |
|||
| VIEWTOOLID | toolid = VIEWTOOLID_Unspecified, |
|||
| char | HotKey = 0 | |||
| ) | [inline] |
Construct.
| AutoTrans | Automatically maintain view/tool transformation to match "view" coordinates |
| GRE::UI::VIEWTOOL_SIMPLE_T< _TOOLTYPE >::VIEWTOOL_SIMPLE_T | ( | GRE::UI::VIEW_CANVAS & | view, | |
| const MISTRING & | name, | |||
| ICONID | iconid, | |||
| ICID | icidmenu, | |||
| ICID | icidbutton, | |||
| bool | AutoTrans = true, |
|||
| VIEWTOOLID | toolid = VIEWTOOLID_Unspecified, |
|||
| char | HotKey = 0 | |||
| ) | [inline] |
Construct with customization IDs.
| AutoTrans | Automatically maintain view/tool transformation to match "view" coordinates |
| _TOOLTYPE& GRE::UI::VIEWTOOL_SIMPLE_T< _TOOLTYPE >::GetGuiTool | ( | ) | [inline] |
Access MGUI tool (non-const).
| const _TOOLTYPE& GRE::UI::VIEWTOOL_SIMPLE_T< _TOOLTYPE >::GetGuiTool | ( | ) | const [inline] |
Access MGUI tool (const).
1.6.1