10#ifndef GUIPRIMITIVE_BUTTON__H_
11#define GUIPRIMITIVE_BUTTON__H_
13#include "GUICompositeObject.h"
15#include "GUICommand.h"
39 const eC_Value& vWidth,
40 const eC_Value& vHeight,
41 const eC_String& rkText,
55 const eC_String& rkText,
73 const eC_Value& vWidth,
74 const eC_Value& vHeight,
192 virtual eC_Bool
DoClick(
const eC_Value& vAbsX = eC_FromInt(-1),
const eC_Value& vAbsY = eC_FromInt(-1));
194 virtual eC_Bool
DoButtonDown(
const eC_Value& vAbsX = eC_FromInt(-1),
const eC_Value& vAbsY = eC_FromInt(-1));
196 virtual eC_Bool
DoButtonUp(
const eC_Value& vAbsX = eC_FromInt(-1),
const eC_Value& vAbsY = eC_FromInt(-1));
198 virtual eC_Bool
DoDrag(
const eC_Value& vDeltaX,
const eC_Value& vDeltaY,
const eC_Value& vAbsX,
const eC_Value& vAbsY);
200 virtual eC_Bool
DoDragEnd(
const eC_Value& vAbsX = eC_FromInt(-1),
const eC_Value& vAbsY = eC_FromInt(-1));
202 virtual eC_Bool
DoMouseEnter(
const eC_Value& vAbsX = eC_FromInt(-1),
const eC_Value& vAbsY = eC_FromInt(-1));
204 virtual eC_Bool
DoMouseLeave(
const eC_Value& vAbsX = eC_FromInt(-1),
const eC_Value& vAbsY = eC_FromInt(-1));
206 virtual eC_Bool
DoMouseMove(
const eC_Value& vAbsX = eC_FromInt(-1),
const eC_Value& vAbs = eC_FromInt(-1));
214#ifdef GUILIANI_STREAM_GUI
217#ifdef GUILIANI_WRITE_GUI
251 void Init(
const eC_String& kText);
ObjectHandle_t
List of object resource ids.
Definition: GUIObjectHandleResource.h:55
Helper Macros in Guiliani
TextResource_t
List of text resource ids.
Definition: GUITextResource.h:40
This is the Guiliani base class for all composite objects.
Definition: GUICompositeObject.h:70
Helper class to supply a platform independent rectangle implementation.
Definition: GUIRect.h:63
Class for handling a text.
Definition: GUIText.h:103