10#ifndef GUIBASEMESSAGEBOX__H_
11#define GUIBASEMESSAGEBOX__H_
16#include "GUICompositeObject.h"
55 const eC_Value& vX,
const eC_Value& vY,
56 const eC_Value& vWidth,
const eC_Value& vHeight,
57 const eC_String &kTitle,
58 const eC_Bool &bModal =
false,
73 const eC_Value& vX,
const eC_Value& vY,
74 const eC_Value& vWidth,
const eC_Value& vHeight,
76 const eC_Bool &bModal =
false,
89 const eC_String &kTitle,
90 const eC_Bool &bModal =
false,
93 eC_Bool
DoClick(
const eC_Value& vAbsX,
const eC_Value& vAbsY);
158 virtual eC_Bool
DoButtonDown(
const eC_Value& vAbsX,
const eC_Value& vAbsY);
160 virtual eC_Bool
DoDrag(
const eC_Value& vDeltaX,
const eC_Value& vDeltaY,
const eC_Value& vAbsX,
const eC_Value& vAbsY);
162#ifdef GUILIANI_STREAM_GUI
166#ifdef GUILIANI_WRITE_GUI
180 void Init(
const eC_Value& vX,
const eC_Value& vY,
const eC_Value& vWidth,
const eC_Value& vHeight,
const eC_Bool& bModal);
188 eC_Value m_vDragPosX;
189 eC_Value m_vDragPosY;
Helper Macros in Guiliani
FontResource_t
List of font resource ids.
Definition: GUIFontResource.h:54
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 Message Box base class.
Definition: GUIBaseMessageBox.h:41
eC_String GetText() const
virtual eC_Bool DoButtonDown(const eC_Value &vAbsX, const eC_Value &vAbsY)
eC_Bool DoClick(const eC_Value &vAbsX, const eC_Value &vAbsY)
eC_UInt GetBackgroundColor() const
void SetTextColor(const eC_UInt uiTextColor)
virtual void WriteToStream(const eC_Bool bWriteClassID=false)
CGUIBaseMessageBox(CGUICompositeObject *const pkParent, const CGUIRect &kRect, const eC_String &kTitle, const eC_Bool &bModal=false, const ObjectHandle_t &eID=NO_HANDLE)
void SetTextFont(const FontResource_t &eFontID)
CGUIBaseMessageBox(CGUICompositeObject *const pkParent, const eC_Value &vX, const eC_Value &vY, const eC_Value &vWidth, const eC_Value &vHeight, const TextResource_t &eTextID, const eC_Bool &bModal=false, const ObjectHandle_t &eID=NO_HANDLE)
CGUIBaseMessageBox(CGUICompositeObject *const pkParent, const eC_Value &vX, const eC_Value &vY, const eC_Value &vWidth, const eC_Value &vHeight, const eC_String &kTitle, const eC_Bool &bModal=false, const ObjectHandle_t &eID=NO_HANDLE)
virtual eC_Bool DoDrag(const eC_Value &vDeltaX, const eC_Value &vDeltaY, const eC_Value &vAbsX, const eC_Value &vAbsY)
FontResource_t GetTextFont() const
FontResource_t GetButtonFont() const
eC_UInt GetTextColor() const
virtual void ReadFromStream()
void SetText(const eC_String &kText)
void SetButtonFont(const FontResource_t &eFontID)
void SetBackgroundColor(const eC_UInt uiColor)
void SetText(const TextResource_t &eTextID)
Represents a simple GUI object containing a text.
Definition: GUIBaseTextField.h:64
This is the Guiliani base class for all composite objects.
Definition: GUICompositeObject.h:70
Simple control for displaying geometrical primitives.
Definition: GUIGeometryObject.h:38
Helper class to supply a platform independent rectangle implementation.
Definition: GUIRect.h:63