$#include "UI.h" class UI : public Object { void SetCursor(Cursor* cursor); void SetFocusElement(UIElement* element); bool SetModalElement(UIElement* modalElement, bool enable); void Clear(); void Update(float timeStep); void RenderUpdate(); void Render(); void DebugDraw(UIElement* element); bool SaveLayout(Serializer& dest, UIElement* element); void SetClipBoardText(const String text); void SetDoubleClickInterval(float interval); void SetMaxFontTextureSize(int size); void SetNonFocusedMouseWheel(bool nonFocusedMouseWheel); void SetUseSystemClipBoard(bool enable); void SetUseMutableGlyphs(bool enable); void SetForceAutoHint(bool enable); UIElement* GetRoot() const; UIElement* GetRootModalElement() const; Cursor* GetCursor() const; UIElement* GetElementAt(const IntVector2& position, bool enabledOnly = true); UIElement* GetElementAt(int x, int y, bool enabledOnly = true); UIElement* GetFocusElement() const; UIElement* GetFrontElement() const; IntVector2 GetCursorPosition() const; const String& GetClipBoardText() const; float GetDoubleClickInterval() const; int GetMaxFontTextureSize() const; bool IsNonFocusedMouseWheel() const; bool GetUseSystemClipBoard() const; bool GetUseMutableGlyphs() const; bool GetForceAutoHint() const; bool HasModalElement() const; tolua_readonly tolua_property__get_set UIElement* root; tolua_readonly tolua_property__get_set UIElement* rootModalElement; tolua_property__get_set Cursor* cursor; tolua_readonly tolua_property__get_set UIElement* focusElement; tolua_readonly tolua_property__get_set UIElement* frontElement; tolua_readonly tolua_property__get_set IntVector2 cursorPosition; tolua_property__get_set String& clipBoardText; tolua_property__get_set float doubleClickInterval; tolua_property__get_set int maxFontTextureSize; tolua_property__is_set bool nonFocusedMouseWheel; tolua_property__get_set bool useSystemClipBoard; tolua_property__get_set bool useMutableGlyphs; tolua_property__get_set bool forceAutoHint; tolua_readonly tolua_property__has_set bool modalElement; };