18 #ifndef INCLUDED_GUI_MOUSE_EVENT_MASK 19 #define INCLUDED_GUI_MOUSE_EVENT_MASK 50 explicit operator bool()
const {
return !!
m_Impl; }
69 #endif // INCLUDED_GUI_MOUSE_EVENT_MASK
bool IsMouseOver(const CVector2D &mousePos, const CRect &objectSize) const
Definition: MouseEventMask.cpp:75
~CGUIMouseEventMask()
Definition: MouseEventMask.cpp:53
GUI object such as a button or an input-box.
Definition: IGUIObject.h:59
void ToJSVal(const ScriptRequest &rq, JS::MutableHandleValue value) override
Converts the setting data to a JS::Value using Script::ToJSVal.
Definition: MouseEventMask.cpp:57
CStr GetName() const override
Return the name of the setting, from JS.
Definition: MouseEventMask.cpp:70
bool DoFromJSVal(const ScriptRequest &rq, JS::HandleValue value) override
Definition: MouseEventMask.cpp:62
CGUIMouseEventMask(IGUIObject *owner)
Definition: MouseEventMask.cpp:49
This setting interface allows GUI objects to call setting function functions without having to know t...
Definition: CGUISetting.h:32
Definition: Vector2D.h:31
A custom shape that changes the object's "over-ability", and thus where one can click on it...
Definition: MouseEventMask.h:41
std::unique_ptr< Impl > m_Impl
Definition: MouseEventMask.h:66
Definition: MouseEventMask.cpp:42
bool DoFromString(const CStrW &value) override
Definition: MouseEventMask.cpp:161
std::string m_Spec
Definition: MouseEventMask.h:65
Spidermonkey maintains some 'local' state via the JSContext* object.
Definition: ScriptRequest.h:59
Rectangle class used for screen rectangles.
Definition: Rect.h:30