]> git.sesse.net Git - vlc/commitdiff
No functionnal changes (osd icons/sliders).
authorLaurent Aimar <fenrir@videolan.org>
Thu, 6 May 2010 19:52:34 +0000 (21:52 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 10 May 2010 17:33:03 +0000 (19:33 +0200)
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