From f58174f7cc1c04436414350916426e2d854fa96f Mon Sep 17 00:00:00 2001 From: Robert Bieber Date: Fri, 2 Jul 2010 00:27:47 +0000 Subject: 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 --- utils/themeeditor/graphics/rbviewport.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'utils/themeeditor/graphics/rbviewport.h') 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: void showPlaylist(const RBRenderInfo& info, int start, skin_element* id3, skin_element* noId3); + int declarationLine(){ return line; } + private: void alignLeft(); @@ -91,6 +93,8 @@ private: bool showStatusBar; QPixmap statusBarTexture; + + int line; }; #endif // RBVIEWPORT_H -- cgit v1.2.3