Changeset View
Changeset View
Standalone View
Standalone View
source/gui/IGUITextOwner.h
Show All 26 Lines | --Overview-- | ||||
as a text-box, a button, a radio button etc. | as a text-box, a button, a radio button etc. | ||||
*/ | */ | ||||
#ifndef INCLUDED_IGUITEXTOWNER | #ifndef INCLUDED_IGUITEXTOWNER | ||||
#define INCLUDED_IGUITEXTOWNER | #define INCLUDED_IGUITEXTOWNER | ||||
#include "gui/IGUIObject.h" | #include "gui/IGUIObject.h" | ||||
#include "gui/scripting/JSInterface_IGUITextOwner.h" | #include "gui/scripting/JSInterface_IGUITextOwner.h" | ||||
#include "ps/CStrIntern.h" | |||||
#include <vector> | #include <vector> | ||||
struct CGUIColor; | struct CGUIColor; | ||||
class CGUIText; | class CGUIText; | ||||
class CGUIString; | class CGUIString; | ||||
/** | /** | ||||
Show All 10 Lines | public: | ||||
/** | /** | ||||
* Adds a text object. | * Adds a text object. | ||||
*/ | */ | ||||
CGUIText& AddText(); | CGUIText& AddText(); | ||||
/** | /** | ||||
* Adds a text generated by the given arguments. | * Adds a text generated by the given arguments. | ||||
*/ | */ | ||||
CGUIText& AddText(const CGUIString& Text, const CStrW& Font, const float& Width, const float& BufferZone); | CGUIText& AddText(const CGUIString& Text, const CStrIntern& Font, const float& Width, const float& BufferZone); | ||||
/** | /** | ||||
* Subscribe the custom JS methods. | * Subscribe the custom JS methods. | ||||
*/ | */ | ||||
void CreateJSObject(); | void CreateJSObject(); | ||||
/** | /** | ||||
* @see IGUIObject#HandleMessage() | * @see IGUIObject#HandleMessage() | ||||
▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator