summaryrefslogtreecommitdiffstats
path: root/utils/themeeditor/graphics/rbviewport.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/themeeditor/graphics/rbviewport.h')
-rw-r--r--utils/themeeditor/graphics/rbviewport.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbviewport.h b/utils/themeeditor/graphics/rbviewport.h
index c557632a40..eeeb7191ef 100644
--- a/utils/themeeditor/graphics/rbviewport.h
+++ b/utils/themeeditor/graphics/rbviewport.h
@@ -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