summaryrefslogtreecommitdiff
path: root/navit/osd.c
diff options
context:
space:
mode:
authormvglasow <michael -at- vonglasow.com>2016-01-21 13:17:03 +0100
committermvglasow <michael -at- vonglasow.com>2016-01-21 13:17:03 +0100
commit6585dd2d01f7458e90aec7ee4dd19f82a95f8b4e (patch)
treef49bbcdab571c493cf23f07e784d3dbe15094f47 /navit/osd.c
parent86df00e1313d5b0351452f0e0ee7a7750fd06223 (diff)
downloadnavit-6585dd2d01f7458e90aec7ee4dd19f82a95f8b4e.tar.gz
Refactor:osd:Document osd_set_std_graphicR6544
Signed-off-by: mvglasow <michael -at- vonglasow.com>
Diffstat (limited to 'navit/osd.c')
-rw-r--r--navit/osd.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/navit/osd.c b/navit/osd.c
index a5530c0d7..38371f6cd 100644
--- a/navit/osd.c
+++ b/navit/osd.c
@@ -395,6 +395,16 @@ osd_set_keypress(struct navit *nav, struct osd_item *item)
}
}
+/**
+ * @brief Sets up the graphics for an item.
+ *
+ * This method creates a new graphics overlay for an item and initializes its attributes (colors, font
+ * and callbacks for resize and key events).
+ *
+ * @param nav The navit object
+ * @param item The OSD item
+ * @param priv The `struct osd_priv` for the OSD item
+ */
void
osd_set_std_graphic(struct navit *nav, struct osd_item *item, struct osd_priv *priv)
{