/*
* On-screen Display
*
- * (c) 2013 Martin Mares <mj@ucw.cz>
+ * (c) 2013--2014 Martin Mares <mj@ucw.cz>
*/
#include <stdbool.h>
int outline_width;
union { // Data dependent on type
char text[OSD_MAX_LINE_LEN]; // in UTF-8
+ unsigned int percent; // 0..100 for percentages and slider
} u;
// Used internally
int height;
int x_pos;
int y_pos;
+ int slider_unit;
+ int slider_space;
+ int slider_units;
};
struct osd_state *osd_new(Display *dpy);