summaryrefslogtreecommitdiff
path: root/navit/osd.h
diff options
context:
space:
mode:
authorRobert Pohlink <pohlinkzei@gmx-topmail.de>2018-04-16 17:21:52 +0200
committerPierre GRANDIN <pgrandin@users.noreply.github.com>2018-04-16 08:21:52 -0700
commitd9dd2eb5e844118180ada05d954b533bb305e523 (patch)
tree244632f6ff61e25b396bb045f85823748c239a14 /navit/osd.h
parentc42a8f519b84fe79ea642f497d179daeabefd65e (diff)
downloadnavit-d9dd2eb5e844118180ada05d954b533bb305e523.tar.gz
Fix:OSD:Make Image and Scale osd types obey osd_configuration setting (trac:1202) (#439)
* Fix image osd to obey osd_configuration attr * Fix OSD-Scale and fix osd flags naming * Remove dead code
Diffstat (limited to 'navit/osd.h')
-rw-r--r--navit/osd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/navit/osd.h b/navit/osd.h
index 38fa0e5ff..8694bcd05 100644
--- a/navit/osd.h
+++ b/navit/osd.h
@@ -23,6 +23,10 @@
struct osd_priv;
struct attr;
+#define TRANSPARENT_BG 1
+#define ITEM_HAS_TEXT 2
+#define DISABLE_OVERLAY 4
+
struct osd_methods {
void (*osd_destroy)(struct osd_priv *osd);
int (*set_attr)(struct osd_priv *osd, struct attr* attr);