Pyrogenesis
trunk
|
A custom shape that changes the object's "over-ability", and thus where one can click on it. More...
#include <MouseEventMask.h>
Classes | |
class | Impl |
Public Member Functions | |
CGUIMouseEventMask (IGUIObject *owner) | |
~CGUIMouseEventMask () | |
operator bool () const | |
bool | IsMouseOver (const CVector2D &mousePos, const CRect &objectSize) const |
void | ToJSVal (const ScriptRequest &rq, JS::MutableHandleValue value) override |
Converts the setting data to a JS::Value using Script::ToJSVal. More... | |
Public Member Functions inherited from IGUISetting | |
NONCOPYABLE (IGUISetting) | |
IGUISetting (const CStr &name, IGUIObject *owner) | |
bool | FromString (const CStrW &value, const bool sendMessage) |
Parses the given string and assigns to the setting value. More... | |
bool | FromJSVal (const ScriptRequest &rq, JS::HandleValue value, const bool sendMessage) |
Parses the given JS::Value using Script::FromJSVal and assigns it to the setting data. More... | |
Protected Member Functions | |
bool | DoFromString (const CStrW &value) override |
bool | DoFromJSVal (const ScriptRequest &rq, JS::HandleValue value) override |
CStr | GetName () const override |
Return the name of the setting, from JS. More... | |
Protected Member Functions inherited from IGUISetting | |
IGUISetting (IGUISetting &&o) | |
virtual | ~IGUISetting ()=default |
virtual void | OnSettingChange (const CStr &setting, bool sendMessage) |
Triggers the IGUIObject logic when a setting changes. More... | |
Protected Attributes | |
std::string | m_Spec |
std::unique_ptr< Impl > | m_Impl |
Protected Attributes inherited from IGUISetting | |
IGUIObject & | m_pObject |
The object that stores this setting. More... | |
A custom shape that changes the object's "over-ability", and thus where one can click on it.
Supported:
TODO:
CGUIMouseEventMask::CGUIMouseEventMask | ( | IGUIObject * | owner | ) |
CGUIMouseEventMask::~CGUIMouseEventMask | ( | ) |
|
overrideprotectedvirtual |
Implements IGUISetting.
|
overrideprotectedvirtual |
Implements IGUISetting.
|
overrideprotectedvirtual |
Return the name of the setting, from JS.
Implements IGUISetting.
|
inlineexplicit |
|
overridevirtual |
Converts the setting data to a JS::Value using Script::ToJSVal.
Implements IGUISetting.
|
protected |
|
protected |