From bf817385c7ccf898cdd5fdfdf984ff5ccb8b4b53 Mon Sep 17 00:00:00 2001 From: alle Date: Sun, 8 Mar 2009 11:32:02 +0000 Subject: [PATCH] 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 --- apps/gui/gwps.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/gui/gwps.h b/apps/gui/gwps.h index 174dff672..ecf39ef77 100644 --- a/apps/gui/gwps.h +++ b/apps/gui/gwps.h @@ -58,7 +58,7 @@ /* wps_data*/ #ifdef HAVE_LCD_BITMAP -struct gui_img{ +struct gui_img { struct bitmap bm; struct viewport* vp; /* The viewport to display this image in */ short int x; /* x-pos */ @@ -73,7 +73,9 @@ struct gui_img{ struct progressbar { /* regular pb */ short x; - /* Negative if y is line number based (-line_num-1), positive if set explicitely */ + /* >=0: explicitly set in the tag -> y-coord within the viewport + <0 : not set in the tag -> negated 1-based line number within + the viewport. y-coord will be computed based on the font height */ short y; short width; short height; -- 2.11.4.GIT