GRE::UI::VIEWTOOL_SIMPLE_T< _TOOLTYPE > Class Template Reference

Template class for simple tool with associated MGUI tool. More...

#include <gre/uiviewtoolsimple.h>

Inheritance diagram for GRE::UI::VIEWTOOL_SIMPLE_T< _TOOLTYPE >:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

template<typename _TOOLTYPE>
class GRE::UI::VIEWTOOL_SIMPLE_T< _TOOLTYPE >

Template class for simple tool with associated MGUI tool.


Constructor & Destructor Documentation

template<typename _TOOLTYPE >
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.

Parameters:
AutoTrans Automatically maintain view/tool transformation to match "view" coordinates
template<typename _TOOLTYPE >
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.

Parameters:
AutoTrans Automatically maintain view/tool transformation to match "view" coordinates

Member Function Documentation

template<typename _TOOLTYPE >
_TOOLTYPE& GRE::UI::VIEWTOOL_SIMPLE_T< _TOOLTYPE >::GetGuiTool (  )  [inline]

Access MGUI tool (non-const).

template<typename _TOOLTYPE >
const _TOOLTYPE& GRE::UI::VIEWTOOL_SIMPLE_T< _TOOLTYPE >::GetGuiTool (  )  const [inline]

Access MGUI tool (const).


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:35:01 2012 for TNTsdk 2012 by  doxygen 1.6.1