Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/gui/IGUITextOwner.h
Show All 19 Lines | |||||
--Overview-- | --Overview-- | ||||
Interface class that enhance the IGUIObject with | Interface class that enhance the IGUIObject with | ||||
cached CGUIStrings. This class is not at all needed, | cached CGUIStrings. This class is not at all needed, | ||||
and many controls that will use CGUIStrings might | and many controls that will use CGUIStrings might | ||||
not use this, but does help for regular usage such | not use this, but does help for regular usage such | ||||
as a text-box, a button, a radio button etc. | as a text-box, a button, a radio button etc. | ||||
--More info-- | |||||
Check GUI.h | |||||
*/ | */ | ||||
#ifndef INCLUDED_IGUITEXTOWNER | #ifndef INCLUDED_IGUITEXTOWNER | ||||
#define INCLUDED_IGUITEXTOWNER | #define INCLUDED_IGUITEXTOWNER | ||||
#include "GUI.h" | #include "gui/CGUIText.h" | ||||
#include "gui/IGUIObject.h" | |||||
#include "gui/scripting/JSInterface_IGUITextOwner.h" | #include "gui/scripting/JSInterface_IGUITextOwner.h" | ||||
#include <vector> | |||||
/** | /** | ||||
* Framework for handling Output text. | * Framework for handling Output text. | ||||
* | |||||
* @see IGUIObject | |||||
*/ | */ | ||||
class IGUITextOwner : virtual public IGUIObject | class IGUITextOwner : virtual public IGUIObject | ||||
{ | { | ||||
friend bool JSI_IGUITextOwner::GetTextSize(JSContext* cx, uint argc, JS::Value* vp); | friend bool JSI_IGUITextOwner::GetTextSize(JSContext* cx, uint argc, JS::Value* vp); | ||||
public: | public: | ||||
IGUITextOwner(CGUI& pGUI); | IGUITextOwner(CGUI& pGUI); | ||||
virtual ~IGUITextOwner(); | virtual ~IGUITextOwner(); | ||||
▲ Show 20 Lines • Show All 77 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator