[vlc-commits] commit: No functionnal changes (osd icons/sliders). (Laurent Aimar )

git at videolan.org git at videolan.org
Mon May 10 19:55:10 CEST 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu May  6 21:52:34 2010 +0200| [2991f900904b633585a31c042c91c2964e657582] | committer: Laurent Aimar 

No functionnal changes (osd icons/sliders).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2991f900904b633585a31c042c91c2964e657582
---

 include/vlc_vout_osd.h |   18 +++++++++++-------
 1 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/include/vlc_vout_osd.h b/include/vlc_vout_osd.h
index a42708c..bdf78ca 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



More information about the vlc-commits mailing list