summaryrefslogtreecommitdiff
path: root/navit/osd.h
diff options
context:
space:
mode:
authorkazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220>2014-10-16 18:09:34 +0000
committerkazer_ <kazer_@ffa7fe5e-494d-0410-b361-a75ebd5db220>2014-10-16 18:09:34 +0000
commitf155a0b23c5d6946793c2b81e00a94daee99fb32 (patch)
treefa4d99e15de13852623b8724e5368256df3320e8 /navit/osd.h
parent17162d7f54b0242909df1d42a76ad4743e42b2d0 (diff)
downloadnavit-svn-f155a0b23c5d6946793c2b81e00a94daee99fb32.tar.gz
Fix:osd:Fixed OSD items display garbage when resized|thank you mvglasow
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5910 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/osd.h')
-rw-r--r--navit/osd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/navit/osd.h b/navit/osd.h
index f30b62b5..851377db 100644
--- a/navit/osd.h
+++ b/navit/osd.h
@@ -55,6 +55,7 @@ struct osd_item {
char *command;
struct command_saved *enable_cs;
char *accesskey;
+ int do_draw; /**< Whether the item needs to be redrawn. */
};
/* prototypes */
@@ -71,6 +72,7 @@ void osd_set_keypress(struct navit *nav, struct osd_item *item);
void osd_set_std_config(struct navit *nav, struct osd_item *item);
void osd_set_std_graphic(struct navit *nav, struct osd_item *item, struct osd_priv *priv);
void osd_std_resize(struct osd_item *item);
+void osd_std_calculate_sizes(struct osd_item *item, int w, int h);
void osd_std_draw(struct osd_item *item);
int osd_set_attr(struct osd *osd, struct attr* attr);
int osd_get_attr(struct osd *this_, enum attr_type type, struct attr *attr, struct attr_iter *iter);