diff options
author | Alexander Levin <al.le@rockbox.org> | 2009-03-08 11:32:02 +0000 |
---|---|---|
committer | Alexander Levin <al.le@rockbox.org> | 2009-03-08 11:32:02 +0000 |
commit | 03dcedbbea0fc6bae621a30080c77db74ef4ea1c (patch) | |
tree | 5a152bb687d1f864861ba118b2b2123674676840 | |
parent | e05e7932f39d905f03e9c05e71c23b6aaea6e0c8 (diff) | |
download | rockbox-03dcedbbea0fc6bae621a30080c77db74ef4ea1c.tar.gz rockbox-03dcedbbea0fc6bae621a30080c77db74ef4ea1c.zip |
Changed the comment to more accurately reflect how it works
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20233 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/gui/gwps.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/gui/gwps.h b/apps/gui/gwps.h index 174dff672b..ecf39ef774 100644 --- a/apps/gui/gwps.h +++ b/apps/gui/gwps.h | |||
@@ -58,7 +58,7 @@ | |||
58 | /* wps_data*/ | 58 | /* wps_data*/ |
59 | 59 | ||
60 | #ifdef HAVE_LCD_BITMAP | 60 | #ifdef HAVE_LCD_BITMAP |
61 | struct gui_img{ | 61 | struct gui_img { |
62 | struct bitmap bm; | 62 | struct bitmap bm; |
63 | struct viewport* vp; /* The viewport to display this image in */ | 63 | struct viewport* vp; /* The viewport to display this image in */ |
64 | short int x; /* x-pos */ | 64 | short int x; /* x-pos */ |
@@ -73,7 +73,9 @@ struct gui_img{ | |||
73 | struct progressbar { | 73 | struct progressbar { |
74 | /* regular pb */ | 74 | /* regular pb */ |
75 | short x; | 75 | short x; |
76 | /* Negative if y is line number based (-line_num-1), positive if set explicitely */ | 76 | /* >=0: explicitly set in the tag -> y-coord within the viewport |
77 | <0 : not set in the tag -> negated 1-based line number within | ||
78 | the viewport. y-coord will be computed based on the font height */ | ||
77 | short y; | 79 | short y; |
78 | short width; | 80 | short width; |
79 | short height; | 81 | short height; |