X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_vout_osd.h;h=bdf78cab168f30ad531a7a0ebe9e71d8434a4da1;hb=12ade3e3bc975d5426ba4af155b7372c31093b31;hp=a42708c656712848d3adc2380934f2c05584e9c7;hpb=5ce9dc48b8cfcb5d2827aa5c669b9643c36829ab;p=vlc diff --git a/include/vlc_vout_osd.h b/include/vlc_vout_osd.h index a42708c656..bdf78cab16 100644 --- a/include/vlc_vout_osd.h +++ b/include/vlc_vout_osd.h @@ -35,13 +35,17 @@ extern "C" { /** * OSD menu position and picture type defines */ -#define OSD_HOR_SLIDER 1 -#define OSD_VERT_SLIDER 2 - -#define OSD_PLAY_ICON 1 -#define OSD_PAUSE_ICON 2 -#define OSD_SPEAKER_ICON 3 -#define OSD_MUTE_ICON 4 +enum +{ + /* Icons */ + OSD_PLAY_ICON = 1, + OSD_PAUSE_ICON, + OSD_SPEAKER_ICON, + OSD_MUTE_ICON, + /* Sliders */ + OSD_HOR_SLIDER, + OSD_VERT_SLIDER, +}; /********************************************************************** * Vout text and widget overlays