7#ifndef MYGUI_WIDGET_INPUT_H_
8#define MYGUI_WIDGET_INPUT_H_
66 void setNeedToolTip(
bool _value);
68 bool getNeedToolTip()
const;
71 void setPointer(
const std::string&
_value);
73 const std::string& getPointer()
const;
76 void setNeedKeyFocus(
bool _value);
81 bool getNeedKeyFocus()
const;
84 void setNeedMouseFocus(
bool _value);
89 bool getNeedMouseFocus()
const;
96 void setInheritsPick(
bool _value);
98 bool getInheritsPick()
const;
101 void setMaskPick(
const std::string&
_filename);
107 bool getRootMouseFocus()
const;
108 bool getRootKeyFocus()
const;
233 void _riseMouseMove(
int _left,
int _top);
234 void _riseMouseWheel(
int _rel);
237 void _riseMouseButtonClick();
238 void _riseMouseButtonDoubleClick();
243 void _riseMouseChangeRootFocus(
bool _focus);
244 void _riseKeyChangeRootFocus(
bool _focus);
246 void _setRootMouseFocus(
bool _value);
247 void _setRootKeyFocus(
bool _value);
253 virtual void onMouseMove(
int _left,
int _top);
254 virtual void onMouseWheel(
int _rel);
257 virtual void onMouseButtonClick();
258 virtual void onMouseButtonDoubleClick();
263 virtual void onMouseChangeRootFocus(
bool _focus);
264 virtual void onKeyChangeRootFocus(
bool _focus);
267 std::string mPointer;
273 bool mNeedMouseFocus;
275 bool mRootMouseFocus;
delegates::CMultiDelegate2< Widget *, size_t > EventHandle_WidgetSizeT
delegates::CMultiDelegate2< Widget *, bool > EventHandle_WidgetBool
delegates::CMultiDelegate1< Widget * > EventHandle_WidgetVoid
delegates::CMultiDelegate2< Widget *, KeyCode > EventHandle_WidgetKeyCode
delegates::CMultiDelegate3< Widget *, KeyCode, Char > EventHandle_WidgetKeyCodeChar
delegates::CMultiDelegate2< Widget *, Widget * > EventHandle_WidgetWidget
delegates::CMultiDelegate4< Widget *, int, int, MouseButton > EventHandle_WidgetIntIntButton
delegates::CMultiDelegate3< Widget *, int, int > EventHandle_WidgetIntInt
delegates::CMultiDelegate2< Widget *, int > EventHandle_WidgetInt
delegates::CMultiDelegate2< Widget *, const ToolTipInfo & > EventHandle_WidgetToolTip