forked from len0rd/rockbox
Theme Editor: Implemented line scrolling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27344 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d4f4104a4a
commit
13e97cd5f5
5 changed files with 126 additions and 3 deletions
|
|
@ -40,6 +40,9 @@ public:
|
|||
Right
|
||||
};
|
||||
|
||||
static const double scrollRate;
|
||||
static const double scrollPause;
|
||||
|
||||
RBViewport(skin_element* node, const RBRenderInfo& info);
|
||||
virtual ~RBViewport();
|
||||
|
||||
|
|
@ -66,6 +69,7 @@ public:
|
|||
alignRight();
|
||||
alignCenter();
|
||||
}
|
||||
void scrollText(double time){ scrollTime = time; }
|
||||
|
||||
void enableStatusBar(){ showStatusBar = true; }
|
||||
|
||||
|
|
@ -101,6 +105,8 @@ private:
|
|||
RBText* leftGraphic;
|
||||
RBText* centerGraphic;
|
||||
RBText* rightGraphic;
|
||||
|
||||
double scrollTime;
|
||||
};
|
||||
|
||||
#endif // RBVIEWPORT_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue