|
| CGUITextBox (int parentID, int controlID, float posX, float posY, float width, float height, const CLabelInfo &labelInfo, int scrollTime=200, const CLabelInfo *labelInfoMono=nullptr) |
|
| CGUITextBox (const CGUITextBox &from) |
|
| ~CGUITextBox (void) override |
|
CGUITextBox * | Clone () const override |
|
void | DoProcess (unsigned int currentTime, CDirtyRegionList &dirtyregions) override |
|
void | Process (unsigned int currentTime, CDirtyRegionList &dirtyregions) override |
|
void | Render () override |
|
bool | OnMessage (CGUIMessage &message) override |
|
float | GetHeight () const override |
|
void | SetMinHeight (float minHeight) |
|
void | SetPageControl (int pageControl) |
|
bool | CanFocus () const override |
|
void | SetInfo (const KODI::GUILIB::GUIINFO::CGUIInfoLabel &info) |
|
void | SetAutoScrolling (const TiXmlNode *node) |
|
void | SetAutoScrolling (int delay, int time, int repeatTime, const std::string &condition="") |
|
void | ResetAutoScrolling () |
|
void | AssignDepth () override |
|
bool | GetCondition (int condition, int data) const override |
|
virtual std::string | GetLabel (int info) const |
|
std::string | GetDescription () const override |
|
void | Scroll (unsigned int offset) |
|
| CGUIControl () |
|
| CGUIControl (int parentID, int controlID, float posX, float posY, float width, float height) |
|
| CGUIControl (const CGUIControl &) |
|
virtual | ~CGUIControl (void) |
|
virtual void | DoRender () |
|
virtual void | RenderEx () |
|
bool | HasProcessed () const |
| Returns whether or not we have processed.
|
|
virtual bool | OnAction (const CAction &action) |
|
virtual void | OnUp () |
|
virtual void | OnDown () |
|
virtual void | OnLeft () |
|
virtual void | OnRight () |
|
virtual bool | OnBack () |
|
virtual bool | OnInfo () |
|
virtual void | OnNextControl () |
|
virtual void | OnPrevControl () |
|
virtual void | OnFocus () |
|
virtual void | OnUnFocus () |
|
virtual EVENT_RESULT | SendMouseEvent (const CPoint &point, const KODI::MOUSE::CMouseEvent &event) |
| React to a mouse event.
|
|
virtual EVENT_RESULT | OnMouseEvent (const CPoint &point, const KODI::MOUSE::CMouseEvent &event) |
| Perform a mouse action.
|
|
virtual void | UnfocusFromPoint (const CPoint &point) |
| Unfocus the control if the given point on screen is not within it's boundary.
|
|
virtual bool | HitTest (const CPoint &point) const |
| Used to test whether the point is inside a control.
|
|
virtual int | GetID (void) const |
|
virtual void | SetID (int id) |
|
int | GetParentID () const |
|
virtual bool | HasFocus () const |
|
virtual void | AllocResources () |
|
virtual void | FreeResources (bool immediately=false) |
|
virtual void | DynamicResourceAlloc (bool bOnOff) |
|
virtual bool | IsDynamicallyAllocated () |
|
virtual bool | IsVisible () const |
|
bool | IsVisibleFromSkin () const |
|
virtual bool | IsDisabled () const |
|
virtual void | SetPosition (float posX, float posY) |
|
virtual void | SetHitRect (const CRect &rect, const KODI::UTILS::COLOR::Color &color) |
|
virtual void | SetCamera (const CPoint &camera) |
|
virtual void | SetStereoFactor (const float &factor) |
|
bool | SetColorDiffuse (const KODI::GUILIB::GUIINFO::CGUIInfoColor &color) |
|
CPoint | GetRenderPosition () const |
|
virtual float | GetXPosition () const |
|
virtual float | GetYPosition () const |
|
virtual float | GetWidth () const |
|
void | MarkDirtyRegion (const unsigned int dirtyState=DIRTY_STATE_CONTROL) |
|
bool | IsControlDirty () const |
|
const CRect & | GetRenderRegion () const |
| return the render region in screen coordinates of this control
|
|
virtual CRect | CalcRenderRegion () const |
| calculate the render region in parentcontrol coordinates of this control Called during process to update m_renderRegion
|
|
void | SetActions (const ActionMap &actions) |
|
void | SetAction (int actionID, const CGUIAction &action, bool replace=true) |
| Set actions to perform on navigation Navigations are set if replace is true or if there is no previously set action.
|
|
CGUIAction | GetAction (int actionID) const |
| Get an action the control can be perform.
|
|
bool | Navigate (int direction) const |
| Start navigating in given direction.
|
|
virtual void | SetFocus (bool focus) |
|
virtual void | SetWidth (float width) |
|
virtual void | SetHeight (float height) |
|
virtual void | SetVisible (bool bVisible, bool setVisState=false) |
|
void | SetVisibleCondition (const std::string &expression, const std::string &allowHiddenFocus="") |
|
bool | HasVisibleCondition () const |
|
void | SetEnableCondition (const std::string &expression) |
|
virtual void | SetInitialVisibility () |
|
virtual void | SetEnabled (bool bEnable) |
|
virtual void | SetInvalid () |
|
virtual void | SetPulseOnSelect (bool pulse) |
|
virtual std::string | GetDescriptionByIndex (int index) const |
|
void | SetAnimations (const std::vector< CAnimation > &animations) |
|
const std::vector< CAnimation > & | GetAnimations () const |
|
virtual void | QueueAnimation (ANIMATION_TYPE anim) |
|
virtual bool | IsAnimating (ANIMATION_TYPE anim) |
|
virtual bool | HasAnimation (ANIMATION_TYPE anim) |
|
CAnimation * | GetAnimation (ANIMATION_TYPE type, bool checkConditions=true) |
|
virtual void | ResetAnimation (ANIMATION_TYPE type) |
|
virtual void | ResetAnimations () |
|
virtual void | SetPushUpdates (bool pushUpdates) |
|
virtual bool | IsGroup () const |
|
virtual bool | IsContainer () const |
|
void | SetParentControl (CGUIControl *control) |
|
CGUIControl * | GetParentControl (void) const |
|
virtual void | SaveStates (std::vector< CControlState > &states) |
|
virtual CGUIControl * | GetControl (int id, std::vector< CGUIControl * > *idCollector=nullptr) |
|
void | SetControlStats (GUICONTROLSTATS *controlStats) |
|
virtual void | UpdateControlStats () |
|
GUICONTROLTYPES | GetControlType () const |
|
bool | IsControlRenderable () |
| Test whether the control is "drawable" (not a group or similar)
|
|
| CGUITextLayout (CGUIFont *font, bool wrap, float fHeight=0.0f, CGUIFont *borderFont=NULL) |
|
bool | UpdateScrollinfo (CScrollInfo &scrollInfo) |
|
void | Render (float x, float y, float angle, KODI::UTILS::COLOR::Color color, KODI::UTILS::COLOR::Color shadowColor, uint32_t alignment, float maxWidth, bool solid=false) |
|
void | RenderScrolling (float x, float y, float angle, KODI::UTILS::COLOR::Color color, KODI::UTILS::COLOR::Color shadowColor, uint32_t alignment, float maxWidth, const CScrollInfo &scrollInfo) |
|
void | RenderOutline (float x, float y, KODI::UTILS::COLOR::Color color, KODI::UTILS::COLOR::Color outlineColor, uint32_t alignment, float maxWidth) |
|
void | GetTextExtent (float &width, float &height) const |
| Returns the precalculated width and height of the text to be rendered (in constant time).
|
|
float | GetTextWidth () const |
| Returns the precalculated width of the text to be rendered (in constant time).
|
|
float | GetTextWidth (const std::wstring &text) const |
|
float | GetTextWidth (const vecText &text) const |
|
float | GetTextHeight () const |
| Returns the precalculated height of the text to be rendered (in constant time).
|
|
bool | Update (const std::string &text, float maxWidth=0, bool forceUpdate=false, bool forceLTRReadingOrder=false) |
|
bool | UpdateW (const std::wstring &text, float maxWidth=0, bool forceUpdate=false, bool forceLTRReadingOrder=false) |
|
void | UpdateStyled (const vecText &text, const std::vector< KODI::UTILS::COLOR::Color > &colors, float maxWidth=0, bool forceLTRReadingOrder=false) |
| Update text from a pre-styled vecText/std::vector<KODI::UTILS::COLOR::Color> combination Allows styled text to be passed directly to the text layout.
|
|
unsigned int | GetTextLength () const |
|
void | GetFirstText (vecText &text) const |
|
void | Reset () |
|
void | SetWrap (bool bWrap=true) |
|
void | SetMaxHeight (float fHeight) |
|