diff options
author | jmarshallnz <jmarshallnz@svn> | 2009-09-23 10:03:22 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2009-09-23 10:03:22 +0000 |
commit | c3018c6090df3c4cf3c5a96cc2310f931ef8f37f (patch) | |
tree | e22747627d63a591f15d9f87e15aa08cde10a563 /guilib/GUIFadeLabelControl.h | |
parent | 59629d6966e46a99fc8e41a05f5e460d984997a4 (diff) |
changed: DWORD -> unsigned int for frame-based timings, and moved to using CTimeUtils::Update/GetFrameTime() for UI timing.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23109 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIFadeLabelControl.h')
-rw-r--r-- | guilib/GUIFadeLabelControl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/guilib/GUIFadeLabelControl.h b/guilib/GUIFadeLabelControl.h index bfa73d9557..b3b6407554 100644 --- a/guilib/GUIFadeLabelControl.h +++ b/guilib/GUIFadeLabelControl.h @@ -40,12 +40,12 @@ class CGUIFadeLabelControl : public CGUIControl { public: - CGUIFadeLabelControl(int parentID, int controlID, float posX, float posY, float width, float height, const CLabelInfo& labelInfo, bool scrollOut, int scrollSpeed, DWORD timeToDelayAtEnd, bool resetOnLabelChange); + CGUIFadeLabelControl(int parentID, int controlID, float posX, float posY, float width, float height, const CLabelInfo& labelInfo, bool scrollOut, int scrollSpeed, unsigned int timeToDelayAtEnd, bool resetOnLabelChange); CGUIFadeLabelControl(const CGUIFadeLabelControl &from); virtual ~CGUIFadeLabelControl(void); virtual CGUIFadeLabelControl *Clone() const { return new CGUIFadeLabelControl(*this); }; - virtual void DoRender(DWORD currentTime); + virtual void DoRender(unsigned int currentTime); virtual void Render(); virtual bool CanFocus() const; virtual bool OnMessage(CGUIMessage& message); @@ -68,7 +68,7 @@ protected: CScrollInfo m_scrollInfo; CGUITextLayout m_textLayout; CAnimation *m_fadeAnim; - DWORD m_renderTime; + unsigned int m_renderTime; unsigned int m_scrollSpeed; bool m_resetOnLabelChange; }; |