7#ifndef MYGUI_WIDGET_INPUT_H_
8#define MYGUI_WIDGET_INPUT_H_
65 void setNeedToolTip(
bool _value);
67 bool getNeedToolTip()
const;
70 void setPointer(std::string_view
_value);
72 const std::string& getPointer()
const;
75 void setNeedKeyFocus(
bool _value);
80 bool getNeedKeyFocus()
const;
83 void setNeedMouseFocus(
bool _value);
88 bool getNeedMouseFocus()
const;
95 void setInheritsPick(
bool _value);
97 bool getInheritsPick()
const;
100 void setMaskPick(
const std::string&
_filename);
106 bool getRootMouseFocus()
const;
107 bool getRootKeyFocus()
const;
232 void _riseMouseMove(
int _left,
int _top);
233 void _riseMouseWheel(
int _rel);
236 void _riseMouseButtonClick();
237 void _riseMouseButtonDoubleClick();
242 void _riseMouseChangeRootFocus(
bool _focus);
243 void _riseKeyChangeRootFocus(
bool _focus);
245 void _setRootMouseFocus(
bool _value);
246 void _setRootKeyFocus(
bool _value);
252 virtual void onMouseMove(
int _left,
int _top);
253 virtual void onMouseWheel(
int _rel);
256 virtual void onMouseButtonClick();
257 virtual void onMouseButtonDoubleClick();
262 virtual void onMouseChangeRootFocus(
bool _focus);
263 virtual void onKeyChangeRootFocus(
bool _focus);
266 std::string mPointer;
269 bool mNeedToolTip{
false};
270 bool mInheritsPick{
false};
271 bool mNeedKeyFocus{
false};
272 bool mNeedMouseFocus{
true};
274 bool mRootMouseFocus{
false};
275 bool mRootKeyFocus{
false};