* added a preferences button in the default skin
authorCyril Deguet <asmax@videolan.org>
Mon, 21 Apr 2003 11:47:22 +0000 (11:47 +0000)
committerCyril Deguet <asmax@videolan.org>
Mon, 21 Apr 2003 11:47:22 +0000 (11:47 +0000)
doc/Configure.help
share/skins/default/prefs1.bmp [new file with mode: 0644]
share/skins/default/prefs2.bmp [new file with mode: 0644]
share/skins/default/prefs3.bmp [new file with mode: 0644]
share/skins/default/theme.xml

index 3620d2a..8de277d 100644 (file)
@@ -2,3 +2,8 @@ Gnome Interface
 CONFIG_GNOME
   to be written
 
 CONFIG_GNOME
   to be written
 
+Skins Interface
+CONFIG_SKINS
+  Enables the skins interface.
+  BE CAREFUL: under linux, you must have the wxWindows library compiled 
+  with GTK2 support ! (see http://www.wxwindows.org)
diff --git a/share/skins/default/prefs1.bmp b/share/skins/default/prefs1.bmp
new file mode 100644 (file)
index 0000000..91de246
Binary files /dev/null and b/share/skins/default/prefs1.bmp differ
diff --git a/share/skins/default/prefs2.bmp b/share/skins/default/prefs2.bmp
new file mode 100644 (file)
index 0000000..169fcf2
Binary files /dev/null and b/share/skins/default/prefs2.bmp differ
diff --git a/share/skins/default/prefs3.bmp b/share/skins/default/prefs3.bmp
new file mode 100644 (file)
index 0000000..599093d
Binary files /dev/null and b/share/skins/default/prefs3.bmp differ
index 421f141..1ae5c23 100644 (file)
   <Bitmap id="add3" file="add3.bmp" alphacolor="#FF0000"/>\r
   <Bitmap id="del1" file="del1.bmp" alphacolor="#FF0000"/>\r
   <Bitmap id="del2" file="del2.bmp" alphacolor="#FF0000"/>\r
   <Bitmap id="add3" file="add3.bmp" alphacolor="#FF0000"/>\r
   <Bitmap id="del1" file="del1.bmp" alphacolor="#FF0000"/>\r
   <Bitmap id="del2" file="del2.bmp" alphacolor="#FF0000"/>\r
-  <Bitmap id="del3" file="del3.bmp" alphacolor="#FF0000"/>\r
+  <Bitmap id="del3" file="del3.bmp" alphacolor="#FF0000"/> \r
+  <Bitmap id="prefs1" file="prefs1.bmp" alphacolor="#FF0000"/>\r
+  <Bitmap id="prefs2" file="prefs2.bmp" alphacolor="#FF0000"/>\r
+  <Bitmap id="prefs3" file="prefs3.bmp" alphacolor="#FF0000"/>\r
 \r
   <Event id="hide1" event="CTRL_ID_VISIBLE(img1,FALSE)"/>\r
   <Event id="hide2" event="CTRL_ID_VISIBLE(img2,FALSE)"/>\r
 \r
   <Event id="hide1" event="CTRL_ID_VISIBLE(img1,FALSE)"/>\r
   <Event id="hide2" event="CTRL_ID_VISIBLE(img2,FALSE)"/>\r
   <Event id="hideOpen" event="CTRL_ID_VISIBLE(Open,FALSE)"/>\r
   <Event id="hideAdd"  event="CTRL_ID_VISIBLE(Add,FALSE)"/>\r
   <Event id="hideDel"  event="CTRL_ID_VISIBLE(Del,FALSE)"/>\r
   <Event id="hideOpen" event="CTRL_ID_VISIBLE(Open,FALSE)"/>\r
   <Event id="hideAdd"  event="CTRL_ID_VISIBLE(Add,FALSE)"/>\r
   <Event id="hideDel"  event="CTRL_ID_VISIBLE(Del,FALSE)"/>\r
+  <Event id="hidePrefs"  event="CTRL_ID_VISIBLE(Prefs,FALSE)"/>\r
 \r
   <Event id="showOpen" event="CTRL_ID_VISIBLE(Open,TRUE)"/>\r
   <Event id="showAdd"  event="CTRL_ID_VISIBLE(Add,TRUE)"/>\r
   <Event id="showDel"  event="CTRL_ID_VISIBLE(Del,TRUE)"/>\r
 \r
   <Event id="showOpen" event="CTRL_ID_VISIBLE(Open,TRUE)"/>\r
   <Event id="showAdd"  event="CTRL_ID_VISIBLE(Add,TRUE)"/>\r
   <Event id="showDel"  event="CTRL_ID_VISIBLE(Del,TRUE)"/>\r
+  <Event id="showPrefs"  event="CTRL_ID_VISIBLE(Prefs,TRUE)"/>\r
 \r
   <Event id="MoveWindow" event="WINDOW_MOVE(Window)"/>\r
   <Event id="MovePlaylist" event="WINDOW_MOVE(PlaylistWindow)"/>\r
 \r
   <Event id="MoveWindow" event="WINDOW_MOVE(Window)"/>\r
   <Event id="MovePlaylist" event="WINDOW_MOVE(PlaylistWindow)"/>\r
         <ImageControl id="Open" x="0"  y="0" image="open3" visible="false"/>\r
         <ImageControl id="Add"  x="26" y="0" image="add3"  visible="false"/>\r
         <ImageControl id="Del"  x="52" y="0" image="del3"  visible="false"/>\r
         <ImageControl id="Open" x="0"  y="0" image="open3" visible="false"/>\r
         <ImageControl id="Add"  x="26" y="0" image="add3"  visible="false"/>\r
         <ImageControl id="Del"  x="52" y="0" image="del3"  visible="false"/>\r
+        <ImageControl id="Prefs"  x="78" y="0" image="prefs3"  visible="false"/>\r
         <ButtonControl x="3"   y="3" up="open1" down="open2" onclick="open" onmouseover="showOpen" onmouseout="hideOpen" tooltiptext="Open a file"/>\r
         <ButtonControl x="29"  y="3" up="add1"  down="add2"  onclick="add_file" onmouseover="showAdd"  onmouseout="hideAdd"  tooltiptext="Add files"/>\r
         <ButtonControl x="55"  y="3" up="del1"  down="del2"  onclick="Del" onmouseover="showDel"  onmouseout="hideDel"  tooltiptext="Remove items"/>\r
         <ButtonControl x="3"   y="3" up="open1" down="open2" onclick="open" onmouseover="showOpen" onmouseout="hideOpen" tooltiptext="Open a file"/>\r
         <ButtonControl x="29"  y="3" up="add1"  down="add2"  onclick="add_file" onmouseover="showAdd"  onmouseout="hideAdd"  tooltiptext="Add files"/>\r
         <ButtonControl x="55"  y="3" up="del1"  down="del2"  onclick="Del" onmouseover="showDel"  onmouseout="hideDel"  tooltiptext="Remove items"/>\r
+        <ButtonControl x="81"  y="3" up="prefs1"  down="prefs2"  onclick="show_prefs" onmouseover="showPrefs"  onmouseout="hidePrefs"  tooltiptext="Show preferences"/>\r
       </ControlGroup>\r
       <PlayListControl id="playlist" width="180" selcolor="#C0D0E0" font="playlist1" playfont="playlist2" abs="9,9" ord="35,115">\r
         <SliderControl x="201" up="slider1" down="slider2" abs="0,0" ord="36,149"/>\r
       </ControlGroup>\r
       <PlayListControl id="playlist" width="180" selcolor="#C0D0E0" font="playlist1" playfont="playlist2" abs="9,9" ord="35,115">\r
         <SliderControl x="201" up="slider1" down="slider2" abs="0,0" ord="36,149"/>\r