summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-09-22 10:29:14 +0000
committerFrancois Pons <fpons@mandriva.com>2000-09-22 10:29:14 +0000
commit8507f5529c1fa95cf068076001adc1dbdc91e4fc (patch)
tree876ee2f2f0e11e80261468a6af017fa1e03970a2 /perl-install
parent2964bfdb899a583e8930740b6d59c1294d723843 (diff)
downloaddrakx-backup-do-not-use-8507f5529c1fa95cf068076001adc1dbdc91e4fc.tar
drakx-backup-do-not-use-8507f5529c1fa95cf068076001adc1dbdc91e4fc.tar.gz
drakx-backup-do-not-use-8507f5529c1fa95cf068076001adc1dbdc91e4fc.tar.bz2
drakx-backup-do-not-use-8507f5529c1fa95cf068076001adc1dbdc91e4fc.tar.xz
drakx-backup-do-not-use-8507f5529c1fa95cf068076001adc1dbdc91e4fc.zip
*** empty log message ***
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/ChangeLog6
-rw-r--r--perl-install/install_gtk.pm2
-rw-r--r--perl-install/share/themes-mdk-Desktop.rc203
-rw-r--r--perl-install/share/themes/mdk-Desktop-bg.pngbin0 -> 153 bytes
4 files changed, 211 insertions, 0 deletions
diff --git a/perl-install/ChangeLog b/perl-install/ChangeLog
index 6f86761b6..97dc5e738 100644
--- a/perl-install/ChangeLog
+++ b/perl-install/ChangeLog
@@ -1,3 +1,9 @@
+2000-09-22 François Pons <fpons@mandrakesoft.com>
+
+ * install_gtk.pm: added Desktop themes.
+ * share/themes-mdk-Desktop.rc, share/themes/mdk-Desktop-bg.png:
+ initial release.
+
2000-09-21 Guillaume Cottenceau <gc@mandrakesoft.com>
* detect_devices.pm (getNet()): really remove plip in standalone
diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm
index 92b1ef797..9b16f93f4 100644
--- a/perl-install/install_gtk.pm
+++ b/perl-install/install_gtk.pm
@@ -12,6 +12,7 @@ use devices;
#-INTERN CONSTANT
#-#####################################################################################
my @themes_vga16 = qw(blue blackwhite savane);
+my @themes_desktop = qw(mdk-Desktop DarkMarble marble3d blueHeart);
my @themes = qw(mdk DarkMarble marble3d blueHeart);
my (@background1, @background2);
@@ -34,6 +35,7 @@ sub load_rc {
sub default_theme {
my ($o) = @_;
+ @themes = @themes_desktop if $o->{meta_class} eq 'desktop';
@themes = @themes_vga16 if $o->{simple_themes} || $o->{vga16};
install_theme($o, $o->{theme} || $themes[0]);
}
diff --git a/perl-install/share/themes-mdk-Desktop.rc b/perl-install/share/themes-mdk-Desktop.rc
new file mode 100644
index 000000000..e8589e708
--- /dev/null
+++ b/perl-install/share/themes-mdk-Desktop.rc
@@ -0,0 +1,203 @@
+style "checkradiobutton" {
+ engine "pixmap" {
+ image
+ {
+ function = CHECK
+ recolorable = TRUE
+ shadow = OUT
+ overlay_file = "mdk-check_off.png"
+ overlay_stretch = FALSE
+ }
+ image
+ {
+ function = CHECK
+ recolorable = TRUE
+ shadow = IN
+ overlay_file = "mdk-check_on.png"
+ overlay_stretch = FALSE
+ }
+ image
+ {
+ function = OPTION
+ recolorable = TRUE
+ shadow = OUT
+ overlay_file = "mdk-toggle_off.png"
+ overlay_stretch = FALSE
+ }
+ image
+ {
+ function = OPTION
+ recolorable = TRUE
+ shadow = IN
+ overlay_file = "mdk-toggle_on.png"
+ overlay_stretch = FALSE
+ }
+ image
+ {
+ function = FOCUS
+ recolorable = TRUE
+ overlay_file = "focus.png"
+ overlay_border = { 4, 4, 4, 4 }
+ overlay_stretch = TRUE
+ }
+ }
+}
+
+style "button"
+{
+ bg[NORMAL] = "#909090"
+
+ engine "pixmap"
+ {
+ image
+ {
+ function = FOCUS
+ recolorable = TRUE
+ overlay_file = "focus.png"
+ overlay_border = { 4, 4, 4, 4 }
+ overlay_stretch = TRUE
+ }
+ image
+ {
+ function = BOX
+ recolorable = TRUE
+ state = NORMAL
+ detail = "buttondefault"
+ shadow = IN
+ file = "blueHeart-button_def.png"
+ border = { 9, 9, 9, 9 }
+ stretch = TRUE
+ }
+ image
+ {
+ function = BOX
+ recolorable = TRUE
+ state = NORMAL
+ shadow = OUT
+ file = "mdk-button1.png"
+ border = { 7, 7, 7, 7 }
+ stretch = TRUE
+ }
+ image
+ {
+ function = BOX
+ recolorable = TRUE
+ state = PRELIGHT
+ shadow = OUT
+ file = "mdk-button1.png"
+ border = { 7, 7, 7, 7 }
+ stretch = TRUE
+ }
+ image
+ {
+ function = BOX
+ recolorable = TRUE
+ state = NORMAL
+ shadow = IN
+ file = "mdk-button4.png"
+ border = { 7, 7, 7, 7 }
+ stretch = TRUE
+ }
+ image
+ {
+ function = BOX
+ recolorable = TRUE
+ state = SELECTED
+ shadow = IN
+ file = "mdk-button4.png"
+ border = { 7, 7, 7, 7 }
+ stretch = TRUE
+ }
+ image
+ {
+ function = BOX
+ recolorable = TRUE
+ state = ACTIVE
+ shadow = IN
+ file = "mdk-button4.png"
+ border = { 7, 7, 7, 7 }
+ stretch = TRUE
+ }
+ }
+}
+
+style "window"
+{
+ engine "pixmap" {
+ image
+ {
+ function = FLAT_BOX
+ recolorable = TRUE
+ file = "mdk-Desktop-bg.png"
+ stretch = FALSE
+ }
+ }
+}
+
+style "any"
+{
+ base[NORMAL] = { 0.6, 0.6, 0.8 }
+ bg[NORMAL] = { 0.6, 0.6, 0.8 }
+ bg[INSENSITIVE] = { 0.2, 0.2, 0.4 }
+ base[INSENSITIVE]={ 0.2, 0.2, 0.4 }
+ bg[ACTIVE] = { 0.2, 0.2, 0.4 }
+ bg[PRELIGHT] = { 0.4, 0.4, 0.6 }
+
+ text[NORMAL] = { 1.0, 1.0, 1.0 }
+ fg[NORMAL] = { 1.0, 1.0, 1.0 }
+ fg[INSENSITIVE] = { 1.0, 1.0, 1.0 }
+ text[INSENSITIVE]={ 1.0, 1.0, 1.0 }
+ fg[ACTIVE] = { 1.0, 1.0, 1.0 }
+ fg[PRELIGHT] = { 0.8, 0.8, 1.0 }
+
+ bg[SELECTED] = { 1.0, 1.0, 1.0 }
+ fg[SELECTED] = { 0.6, 0.6, 0.8 }
+}
+
+style "entry"
+{
+ base[NORMAL] = { 0.4, 0.4, 0.6 }
+ base[ACTIVE] = { 0.4, 0.4, 0.6 }
+ fg[NORMAL] = { 1.0, 1.0, 1.0 }
+}
+
+style "notebook"
+{
+ bg[NORMAL] = { 0.4, 0.4, 0.6 }
+ bg[ACTIVE] = { 0.2, 0.2, 0.4 }
+ fg[NORMAL] = { 1.0, 1.0, 1.0 }
+}
+
+style "button" = "any"
+{
+ bg[NORMAL] = { 0.4, 0.4, 0.6 }
+ fg[NORMAL] = { 1.0, 1.0, 1.0 }
+ bg[PRELIGHT] = { 0.36, 0.36, 0.56 }
+ fg[PRELIGHT] = { 0.8, 0.8, 1.0 }
+}
+
+style "background"
+{
+ bg[NORMAL] = { 0.2, 0.2, 0.4 }
+ bg[PRELIGHT] = { 0.8, 0.8, 0.99 }
+}
+
+style "steps"
+{
+ engine "pixmap" { image { function = FLAT_BOX } }
+ bg[NORMAL] = { 0.4, 0.4, 0.6 }
+ fg[NORMAL] = { 1.0, 1.0, 1.0 }
+}
+
+widget_class "GtkWindow" style "window"
+widget_class "*" style "any"
+widget_class "*GtkSpin*" style "entry"
+widget_class "*GtkEntry*" style "entry"
+widget_class "*Gtk*List*" style "entry"
+widget_class "*GtkCTree*" style "entry"
+widget_class "*GtkNotebook*" style "notebook"
+widget "*GtkButton" style "button"
+widget "*background*" style "background"
+
+class "GtkRadioButton" style "checkradiobutton"
+class "GtkCheckButton" style "checkradiobutton"
diff --git a/perl-install/share/themes/mdk-Desktop-bg.png b/perl-install/share/themes/mdk-Desktop-bg.png
new file mode 100644
index 000000000..14db97364
--- /dev/null
+++ b/perl-install/share/themes/mdk-Desktop-bg.png
Binary files differ