summaryrefslogtreecommitdiff
path: root/utils/themeeditor/graphics/rbviewport.h
diff options
context:
space:
mode:
authorRobert Bieber <robby@bieberphoto.com>2010-07-02 00:27:47 +0000
committerRobert Bieber <robby@bieberphoto.com>2010-07-02 00:27:47 +0000
commitf58174f7cc1c04436414350916426e2d854fa96f (patch)
tree009b06978ce644029a29449a4abdad0ccf562d71 /utils/themeeditor/graphics/rbviewport.h
parent9742704070732aeaa9fa1287045a682db5cf4527 (diff)
downloadrockbox-f58174f7cc1c04436414350916426e2d854fa96f.tar.gz
rockbox-f58174f7cc1c04436414350916426e2d854fa96f.zip
Theme Editor: Renderer will not insert a newline at the end of a line if it's the same line in the wps file as the viewport declaration, to avoid forcing the first line of text down past where it belongs if Vf and Vb are used. The parser should be modified to make this unnecessary, when a consensus can be reached on how to do it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27230 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/themeeditor/graphics/rbviewport.h')
-rw-r--r--utils/themeeditor/graphics/rbviewport.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/themeeditor/graphics/rbviewport.h b/utils/themeeditor/graphics/rbviewport.h
index 624a9686da..37c642574f 100644
--- a/utils/themeeditor/graphics/rbviewport.h
+++ b/utils/themeeditor/graphics/rbviewport.h
@@ -66,6 +66,8 @@ public:
66 void showPlaylist(const RBRenderInfo& info, int start, skin_element* id3, 66 void showPlaylist(const RBRenderInfo& info, int start, skin_element* id3,
67 skin_element* noId3); 67 skin_element* noId3);
68 68
69 int declarationLine(){ return line; }
70
69private: 71private:
70 72
71 void alignLeft(); 73 void alignLeft();
@@ -91,6 +93,8 @@ private:
91 93
92 bool showStatusBar; 94 bool showStatusBar;
93 QPixmap statusBarTexture; 95 QPixmap statusBarTexture;
96
97 int line;
94}; 98};
95 99
96#endif // RBVIEWPORT_H 100#endif // RBVIEWPORT_H