]> git.sesse.net Git - vlc/blobdiff - include/vlc_vout_osd.h
Use var_InheritString for --decklink-video-connection.
[vlc] / include / vlc_vout_osd.h
index a42708c656712848d3adc2380934f2c05584e9c7..bdf78cab168f30ad531a7a0ebe9e71d8434a4da1 100644 (file)
@@ -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