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