Commit 8d9c1ec6 authored by Jean-Paul Saman's avatar Jean-Paul Saman

Non-functional Familiar Linux user interface.

parent 10f8855d
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* familiar.c : familiar plugin for vlc * familiar.c : familiar plugin for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2002 VideoLAN * Copyright (C) 2002 VideoLAN
* $Id: familiar.c,v 1.2 2002/07/22 19:49:40 jpsaman Exp $ * $Id: familiar.c,v 1.3 2002/07/22 20:52:42 jpsaman Exp $
* *
* Authors: Jean-Paul Saman <jpsaman@wxs.nl> * Authors: Jean-Paul Saman <jpsaman@wxs.nl>
* *
...@@ -61,7 +61,7 @@ MODULE_CONFIG_STOP ...@@ -61,7 +61,7 @@ MODULE_CONFIG_STOP
MODULE_INIT_START MODULE_INIT_START
SET_DESCRIPTION( _("Familiar Linux Gtk+ interface module") ) SET_DESCRIPTION( _("Familiar Linux Gtk+ interface module") )
ADD_CAPABILITY( INTF, 590 ) ADD_CAPABILITY( INTF, 70 )
MODULE_INIT_STOP MODULE_INIT_STOP
MODULE_ACTIVATE_START MODULE_ACTIVATE_START
......
...@@ -23,6 +23,11 @@ ...@@ -23,6 +23,11 @@
<name>familiar</name> <name>familiar</name>
<width>240</width> <width>240</width>
<height>320</height> <height>320</height>
<signal>
<name>destroy</name>
<handler>on_familiar_destroy</handler>
<last_modification_time>Mon, 22 Jul 2002 18:58:45 GMT</last_modification_time>
</signal>
<title>vlc (familiar)</title> <title>vlc (familiar)</title>
<type>GTK_WINDOW_TOPLEVEL</type> <type>GTK_WINDOW_TOPLEVEL</type>
<position>GTK_WIN_POS_NONE</position> <position>GTK_WIN_POS_NONE</position>
...@@ -215,7 +220,65 @@ ...@@ -215,7 +220,65 @@
</child> </child>
<widget> <widget>
<class>Placeholder</class> <class>GtkFixed</class>
<name>fixedMedia</name>
<widget>
<class>GtkLabel</class>
<name>labelUrl</name>
<x>4</x>
<y>8</y>
<width>38</width>
<height>18</height>
<label>URL:</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
<widget>
<class>GtkList</class>
<name>listMedia</name>
<x>8</x>
<y>40</y>
<width>220</width>
<height>200</height>
<tooltip>Select multimedia file.</tooltip>
<selection_mode>GTK_SELECTION_MULTIPLE</selection_mode>
</widget>
<widget>
<class>GtkCombo</class>
<name>comboURL</name>
<x>46</x>
<y>6</y>
<width>185</width>
<height>24</height>
<value_in_list>False</value_in_list>
<ok_if_empty>True</ok_if_empty>
<case_sensitive>False</case_sensitive>
<use_arrows>True</use_arrows>
<use_arrows_always>False</use_arrows_always>
<items>file://
ftp://localhost
http://localhost
udp://localhost:1234/
</items>
<widget>
<class>GtkEntry</class>
<child_name>GtkCombo:entry</child_name>
<name>combo-entry1</name>
<can_focus>True</can_focus>
<editable>True</editable>
<text_visible>True</text_visible>
<text_max_length>0</text_max_length>
<text>file://</text>
</widget>
</widget>
</widget> </widget>
<widget> <widget>
...@@ -232,13 +295,142 @@ ...@@ -232,13 +295,142 @@
</widget> </widget>
<widget> <widget>
<class>Placeholder</class> <class>GtkFixed</class>
<name>fixedPreferences</name>
<widget>
<class>GtkButton</class>
<name>buttonSave</name>
<x>8</x>
<y>216</y>
<width>54</width>
<height>24</height>
<can_focus>True</can_focus>
<label>Save</label>
<relief>GTK_RELIEF_NORMAL</relief>
</widget>
<widget>
<class>GtkButton</class>
<name>buttonApply</name>
<x>64</x>
<y>216</y>
<width>54</width>
<height>24</height>
<can_focus>True</can_focus>
<label>Apply</label>
<relief>GTK_RELIEF_NORMAL</relief>
</widget>
<widget>
<class>GtkButton</class>
<name>buttonCancel</name>
<x>176</x>
<y>216</y>
<width>54</width>
<height>24</height>
<can_focus>True</can_focus>
<label>Cancel</label>
<relief>GTK_RELIEF_NORMAL</relief>
</widget>
<widget>
<class>GtkFrame</class>
<name>frameDefaultURL</name>
<x>8</x>
<y>8</y>
<width>220</width>
<height>60</height>
<label>Default URL:</label>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<widget>
<class>GtkFixed</class>
<name>fixed3</name>
<widget>
<class>GtkCombo</class>
<name>comboDefaultURL</name>
<x>8</x>
<y>4</y>
<width>200</width>
<height>24</height>
<value_in_list>False</value_in_list>
<ok_if_empty>True</ok_if_empty>
<case_sensitive>False</case_sensitive>
<use_arrows>True</use_arrows>
<use_arrows_always>False</use_arrows_always>
<items>file://
ftp://localhost
http://localhost
udp://localhost:1234/
</items>
<widget>
<class>GtkEntry</class>
<child_name>GtkCombo:entry</child_name>
<name>combo-entry2</name>
<can_focus>True</can_focus>
<editable>True</editable>
<text_visible>True</text_visible>
<text_max_length>0</text_max_length>
<text>file://</text>
</widget>
</widget>
</widget>
</widget>
<widget>
<class>GtkFrame</class>
<name>frameIP</name>
<x>8</x>
<y>72</y>
<width>220</width>
<height>60</height>
<label>IP version:</label>
<label_xalign>0</label_xalign>
<shadow_type>GTK_SHADOW_ETCHED_IN</shadow_type>
<widget>
<class>GtkFixed</class>
<name>fixed2</name>
<widget>
<class>GtkRadioButton</class>
<name>rbIPv6</name>
<x>112</x>
<y>8</y>
<width>104</width>
<height>26</height>
<can_focus>True</can_focus>
<label>IPv6</label>
<active>False</active>
<draw_indicator>True</draw_indicator>
<group>IPversion</group>
</widget>
<widget>
<class>GtkRadioButton</class>
<name>rbIPv4</name>
<x>8</x>
<y>8</y>
<width>104</width>
<height>26</height>
<can_focus>True</can_focus>
<label>IPv4</label>
<active>True</active>
<draw_indicator>True</draw_indicator>
<group>IPversion</group>
</widget>
</widget>
</widget>
</widget> </widget>
<widget> <widget>
<class>GtkLabel</class> <class>GtkLabel</class>
<child_name>Notebook:tab</child_name> <child_name>Notebook:tab</child_name>
<name>preference</name> <name>preferences</name>
<label>Preference</label> <label>Preference</label>
<justify>GTK_JUSTIFY_CENTER</justify> <justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap> <wrap>False</wrap>
...@@ -249,24 +441,88 @@ ...@@ -249,24 +441,88 @@
</widget> </widget>
<widget> <widget>
<class>Placeholder</class> <class>GtkFixed</class>
</widget> <name>fixedAbout</name>
<widget> <widget>
<class>GtkLabel</class> <class>GtkPixmap</class>
<child_name>Notebook:tab</child_name> <name>logo</name>
<name>help</name> <x>8</x>
<label>Help</label> <y>0</y>
<justify>GTK_JUSTIFY_CENTER</justify> <width>50</width>
<wrap>False</wrap> <height>50</height>
<xalign>0.5</xalign> <filename>vlc32x32.xpm</filename>
<yalign>0.5</yalign> <xalign>0.5</xalign>
<xpad>0</xpad> <yalign>0.5</yalign>
<ypad>0</ypad> <xpad>0</xpad>
</widget> <ypad>0</ypad>
<build_insensitive>True</build_insensitive>
</widget>
<widget> <widget>
<class>Placeholder</class> <class>GtkLabel</class>
<name>labelVlc</name>
<x>64</x>
<y>8</y>
<width>120</width>
<height>40</height>
<label>VideoLAN Client
for familiar Linux</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>True</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
<widget>
<class>GtkLabel</class>
<name>labelCopyright</name>
<x>16</x>
<y>56</y>
<width>200</width>
<height>18</height>
<label>(c) 2002, the VideoLAN Team</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>False</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
<widget>
<class>GtkLabel</class>
<name>labelAuthors</name>
<x>16</x>
<y>80</y>
<width>200</width>
<height>40</height>
<label>Authors: The VideoLAN Team, http://www.videolan.org</label>
<justify>GTK_JUSTIFY_CENTER</justify>
<wrap>True</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
<widget>
<class>GtkLabel</class>
<name>labelAbout</name>
<x>16</x>
<y>128</y>
<width>200</width>
<height>70</height>
<label>The VideoLAN Client is a MPEG, MPEG 2, MP3, DivX player, that accepts input from local or network sources.</label>
<justify>GTK_JUSTIFY_LEFT</justify>
<wrap>True</wrap>
<xalign>0.5</xalign>
<yalign>0.5</yalign>
<xpad>0</xpad>
<ypad>0</ypad>
</widget>
</widget> </widget>
<widget> <widget>
......
...@@ -77,3 +77,11 @@ on_xpm_forward_button_press_event (GtkWidget *widget, ...@@ -77,3 +77,11 @@ on_xpm_forward_button_press_event (GtkWidget *widget,
return FALSE; return FALSE;
} }
void
on_familiar_destroy (GtkObject *object,
gpointer user_data)
{
gtk_main_quit();
}
...@@ -34,3 +34,7 @@ gboolean ...@@ -34,3 +34,7 @@ gboolean
on_xpm_forward_button_press_event (GtkWidget *widget, on_xpm_forward_button_press_event (GtkWidget *widget,
GdkEventButton *event, GdkEventButton *event,
gpointer user_data); gpointer user_data);
void
on_familiar_destroy (GtkObject *object,
gpointer user_data);
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment