ClanLib
2.3.7
|
GUI mouse pointer change notification message. More...
#include <gui_message_pointer.h>
Public Member Functions | |
Construction | |
CL_GUIMessage_Pointer () | |
Constructs an input GUI message. More... | |
CL_GUIMessage_Pointer (const CL_GUIMessage &message) | |
Constructs a GUIMessage Pointer. More... | |
~CL_GUIMessage_Pointer () | |
Operations | |
void | set_pointer_type (PointerType pointer_type) |
Sets the pointer type for this message. More... | |
Attributes | |
CL_StringRef | get_type () const |
Returns the message type name. More... | |
bool | is_type (const CL_StringRef &type) const |
Returns true if the message matches the type. More... | |
CL_SharedPtr< CL_GUIMessageData > | get_data (const CL_StringRef &data_name) const |
Returns the stored data object for a given data name. More... | |
CL_GUIComponent * | get_target () const |
Returns the target destination of the message. More... | |
bool | is_consumed () const |
Returns true if the message has been consumed by a component. More... | |
Operations | |
void | set_type (const CL_StringRef &type) |
Sets the message type name. More... | |
void | set_data (const CL_StringRef &data_name, const CL_SharedPtr< CL_GUIMessageData > &ptr) |
Stores an object in the given data name slot. More... | |
void | set_target (CL_GUIComponent *target) |
Sets the target destination. More... | |
void | set_null () |
Sets this message to be a null message. More... | |
void | set_consumed () |
Sets this message as consumed. More... | |
Attributes | |
enum | PointerType { pointer_enter, pointer_leave } |
PointerType | get_pointer_type () const |
Retrieves the pointer type of this message. More... | |
static CL_StringRef | get_type_name () |
Get Type name. More... | |
GUI mouse pointer change notification message.
CL_GUIMessage_Pointer::CL_GUIMessage_Pointer | ( | ) |
Constructs an input GUI message.
CL_GUIMessage_Pointer::CL_GUIMessage_Pointer | ( | const CL_GUIMessage & | message) |
Constructs a GUIMessage Pointer.
message | = GUIMessage |
CL_GUIMessage_Pointer::~CL_GUIMessage_Pointer | ( | ) |
|
inherited |
Returns the stored data object for a given data name.
PointerType CL_GUIMessage_Pointer::get_pointer_type | ( | ) | const |
Retrieves the pointer type of this message.
|
inherited |
Returns the target destination of the message.
|
inherited |
Returns the message type name.
|
static |
Get Type name.
|
inherited |
Returns true if the message has been consumed by a component.
|
inherited |
Returns true if the message matches the type.
|
inherited |
Sets this message as consumed.
|
inherited |
Stores an object in the given data name slot.
|
inherited |
Sets this message to be a null message.
void CL_GUIMessage_Pointer::set_pointer_type | ( | PointerType | pointer_type) |
Sets the pointer type for this message.
|
inherited |
Sets the target destination.
|
inherited |
Sets the message type name.