From 6585dd2d01f7458e90aec7ee4dd19f82a95f8b4e Mon Sep 17 00:00:00 2001 From: mvglasow Date: Thu, 21 Jan 2016 13:17:03 +0100 Subject: Refactor:osd:Document osd_set_std_graphic Signed-off-by: mvglasow --- navit/osd.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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) { -- cgit v1.2.1