summaryrefslogtreecommitdiff
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:
40 Right 40 Right
41 }; 41 };
42 42
43 static const double scrollRate;
44 static const double scrollPause;
45
43 RBViewport(skin_element* node, const RBRenderInfo& info); 46 RBViewport(skin_element* node, const RBRenderInfo& info);
44 virtual ~RBViewport(); 47 virtual ~RBViewport();
45 48
@@ -66,6 +69,7 @@ public:
66 alignRight(); 69 alignRight();
67 alignCenter(); 70 alignCenter();
68 } 71 }
72 void scrollText(double time){ scrollTime = time; }
69 73
70 void enableStatusBar(){ showStatusBar = true; } 74 void enableStatusBar(){ showStatusBar = true; }
71 75
@@ -101,6 +105,8 @@ private:
101 RBText* leftGraphic; 105 RBText* leftGraphic;
102 RBText* centerGraphic; 106 RBText* centerGraphic;
103 RBText* rightGraphic; 107 RBText* rightGraphic;
108
109 double scrollTime;
104}; 110};
105 111
106#endif // RBVIEWPORT_H 112#endif // RBVIEWPORT_H