summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorMichael Jennings <mej@kainx.org>1999-09-20 23:08:00 +0000
committerMichael Jennings <mej@kainx.org>1999-09-20 23:08:00 +0000
commit933cb583be08cdeff4b3da15d5a61542dd9eea6e (patch)
tree8c7d6d5a2941b1ce0b098562ceee94026feda7f5 /themes
parent7ee0bc1332eaccac2bf7ddd9f849955bb0abe0c3 (diff)
downloadeterm-933cb583be08cdeff4b3da15d5a61542dd9eea6e.tar.gz
Mon Sep 20 16:08:41 PDT 1999 Michael Jennings <mej@eterm.org>
Lots of changes here. First off, this should fix the background draw bug with transparency that several people pointed out. While I was at it, I also cleaned up a lot of other related stuff. Three-state images should be a lot more robust now. Then again, some stuff may be broken entirely from this, so let me know. :-) For one thing, the various image modes should work as expected now. You can allow and disallow modes for the various widgets. The fallback mode is "solid" now, rather than "image," so you can cause a certain widget to refuse to use an image if you want to. If you specify an image without specifying a "mode" line that allows the "image" mode, your image will not appear. <-- READ THIS TWICE! I had to go back and fix all the theme files because of this, so you will need to remove your current theme directory and allow Eterm's "make install" to put the new ones in place; otherwise, everything will go back to being solid colors. =] Anytime something changes this drastically, there are bound to be problems. Let me know if you find any of them. :) SVN revision: 345
Diffstat (limited to 'themes')
-rw-r--r--themes/Eterm/theme.cfg.in45
-rw-r--r--themes/cEterm/theme.cfg.in45
-rw-r--r--themes/chooser/theme.cfg.in45
-rw-r--r--themes/emacs/theme.cfg.in45
-rw-r--r--themes/irc/theme.cfg.in53
-rw-r--r--themes/mutt/theme.cfg.in50
-rw-r--r--themes/trans/theme.cfg.in47
7 files changed, 181 insertions, 149 deletions
diff --git a/themes/Eterm/theme.cfg.in b/themes/Eterm/theme.cfg.in
index d1ab54d..4b1b8aa 100644
--- a/themes/Eterm/theme.cfg.in
+++ b/themes/Eterm/theme.cfg.in
@@ -44,24 +44,24 @@ begin main
# The colors below are taken from Rasterman's .Xdefaults file. They are intended to
# display ANSI art properly when combined with a good ANSI-art font (like vga or
# Rasterman's nexus font).
-# color 0 0 0 0
-# color 1 0xaa 0 0
-# color 2 0 0210 0
-# color 3 0xaa 0x55 0x22
-# color 4 0 0 0xaa
-# color 5 0xaa 0 0xaa
-# color 6 0 0xaa 0xaa
-# color 7 0xaa 0xaa 0xaa
-# color 8 0x44 0x44 0x44
-# color 9 0xff 0x44 0x44
-# color 10 0x44 0xff 0x44
-# color 11 0xff 0xff 0x44
-# color 12 0x44 0x44 0xff
-# color 13 0xff 0x44 0xff
-# color 14 0x44 0xff 0xff
-# color 15 #ffffff
-# color bd #ffffff
-# color ul #ffffff
+ color 0 0 0 0
+ color 1 0xaa 0 0
+ color 2 0 0210 0
+ color 3 0xaa 0x55 0x22
+ color 4 0 0 0xaa
+ color 5 0xaa 0 0xaa
+ color 6 0 0xaa 0xaa
+ color 7 0xaa 0xaa 0xaa
+ color 8 0x44 0x44 0x44
+ color 9 0xff 0x44 0x44
+ color 10 0x44 0xff 0x44
+ color 11 0xff 0xff 0x44
+ color 12 0x44 0x44 0xff
+ color 13 0xff 0x44 0xff
+ color 14 0x44 0xff 0xff
+ color 15 #ffffff
+ color bd #ffffff
+ color ul #ffffff
# This ends the color section. Any text after the word "end" is
# assumed to be a comment and ignored.
@@ -121,7 +121,7 @@ begin main
# The mode line. This defines the startup mode for the image, as well as what modes are allowed.
# Valid modes are "image" (to display the image file), "trans" (to be transparent), or "viewport"
# (for viewport mode). Syntax is "mode <startup_mode> allow <allowed_modes>".
- mode image allow trans viewport
+ mode image allow image trans viewport auto
# Set the image border. This is a portion of the image which will be kept at its actual size when
# scaling. Use this for beveled images (buttons, etc.).
@@ -133,7 +133,7 @@ begin main
# The rest of the images.
begin image
type trough
- mode image allow trans viewport
+ mode image allow image trans viewport auto
state normal
file bar_vertical_3.png
# Here is how you specify the geometry string separately. See the man page for its syntax.
@@ -142,6 +142,7 @@ begin main
end image
begin image
type anchor
+ mode image allow image auto
state normal
file bar_vertical_1.png
geom :scale
@@ -153,6 +154,7 @@ begin main
end image
begin image
type up_arrow
+ mode image allow image auto
state normal
file button_arrow_up_1.png
geom :scale
@@ -168,6 +170,7 @@ begin main
end image
begin image
type down_arrow
+ mode image allow image auto
state normal
file button_arrow_down_1.png
geom :scale
@@ -183,6 +186,7 @@ begin main
end image
begin image
type menu
+ mode image allow image auto
state normal
file bar_horizontal_1.png
geom 100x100+0+0:scale
@@ -194,6 +198,7 @@ begin main
end image
begin image
type submenu
+ mode image allow image auto
state normal
file menu1.png
geom 100x100+0+0:scale
diff --git a/themes/cEterm/theme.cfg.in b/themes/cEterm/theme.cfg.in
index d0269ff..e6879e4 100644
--- a/themes/cEterm/theme.cfg.in
+++ b/themes/cEterm/theme.cfg.in
@@ -43,24 +43,24 @@ begin main
# These colors are taken from Alfredo Kojima's cEterm script. Lots of
# people seem to like them. :-)
- color 0 0 0 0
- color 1 0x9e 0x18 0x28
- color 2 0x9e 0x18 0x28
- color 3 #968a38
- color 4 #414171
- color 5 #963c59
- color 6 #418179
- color 7 gray
- color 8 gray40
- color 9 #cf6171
- color 10 #c5f779
- color 11 #fff796
- color 12 #4186be
- color 13 #cf9ebe
- color 14 #71bebe
- color 15 white
- color bd white
- color ul white
+ color 0 0 0 0
+ color 1 0x9e 0x18 0x28
+ color 2 0x9e 0x18 0x28
+ color 3 #968a38
+ color 4 #414171
+ color 5 #963c59
+ color 6 #418179
+ color 7 gray
+ color 8 gray40
+ color 9 #cf6171
+ color 10 #c5f779
+ color 11 #fff796
+ color 12 #4186be
+ color 13 #cf9ebe
+ color 14 #71bebe
+ color 15 white
+ color bd white
+ color ul white
# This ends the color section. Any text after the word "end" is
# assumed to be a comment and ignored.
@@ -120,7 +120,7 @@ begin main
# The mode line. This defines the startup mode for the image, as well as what modes are allowed.
# Valid modes are "image" (to display the image file), "trans" (to be transparent), or "viewport"
# (for viewport mode). Syntax is "mode <startup_mode> allow <allowed_modes>".
- mode image allow trans viewport
+ mode image allow image trans viewport auto
# Set the image border. This is a portion of the image which will be kept at its actual size when
# scaling. Use this for beveled images (buttons, etc.).
@@ -132,7 +132,7 @@ begin main
# The rest of the images.
begin image
type trough
- mode image allow trans viewport
+ mode image allow image trans viewport auto
state normal
file bar_vertical_3.png
# Here is how you specify the geometry string separately. See the man page for its syntax.
@@ -141,6 +141,7 @@ begin main
end image
begin image
type anchor
+ mode image allow image auto
state normal
file bar_vertical_1.png
geom :scale
@@ -152,6 +153,7 @@ begin main
end image
begin image
type up_arrow
+ mode image allow image auto
state normal
file button_arrow_up_1.png
geom :scale
@@ -167,6 +169,7 @@ begin main
end image
begin image
type down_arrow
+ mode image allow image auto
state normal
file button_arrow_down_1.png
geom :scale
@@ -182,6 +185,7 @@ begin main
end image
begin image
type menu
+ mode image allow image auto
state normal
file bar_horizontal_1.png
geom 100x100+0+0:scale
@@ -193,6 +197,7 @@ begin main
end image
begin image
type submenu
+ mode image allow image auto
state normal
file menu1.png
geom 100x100+0+0:scale
diff --git a/themes/chooser/theme.cfg.in b/themes/chooser/theme.cfg.in
index 652e35d..ccd1f23 100644
--- a/themes/chooser/theme.cfg.in
+++ b/themes/chooser/theme.cfg.in
@@ -44,24 +44,24 @@ begin main
# The colors below are taken from Rasterman's .Xdefaults file. They are intended to
# display ANSI art properly when combined with a good ANSI-art font (like vga or
# Rasterman's nexus font).
-# color 0 0 0 0
-# color 1 0xaa 0 0
-# color 2 0 0210 0
-# color 3 0xaa 0x55 0x22
-# color 4 0 0 0xaa
-# color 5 0xaa 0 0xaa
-# color 6 0 0xaa 0xaa
-# color 7 0xaa 0xaa 0xaa
-# color 8 0x44 0x44 0x44
-# color 9 0xff 0x44 0x44
-# color 10 0x44 0xff 0x44
-# color 11 0xff 0xff 0x44
-# color 12 0x44 0x44 0xff
-# color 13 0xff 0x44 0xff
-# color 14 0x44 0xff 0xff
-# color 15 #ffffff
-# color bd #ffffff
-# color ul #ffffff
+ color 0 0 0 0
+ color 1 0xaa 0 0
+ color 2 0 0210 0
+ color 3 0xaa 0x55 0x22
+ color 4 0 0 0xaa
+ color 5 0xaa 0 0xaa
+ color 6 0 0xaa 0xaa
+ color 7 0xaa 0xaa 0xaa
+ color 8 0x44 0x44 0x44
+ color 9 0xff 0x44 0x44
+ color 10 0x44 0xff 0x44
+ color 11 0xff 0xff 0x44
+ color 12 0x44 0x44 0xff
+ color 13 0xff 0x44 0xff
+ color 14 0x44 0xff 0xff
+ color 15 #ffffff
+ color bd #ffffff
+ color ul #ffffff
# This ends the color section. Any text after the word "end" is
# assumed to be a comment and ignored.
@@ -121,7 +121,7 @@ begin main
# The mode line. This defines the startup mode for the image, as well as what modes are allowed.
# Valid modes are "image" (to display the image file), "trans" (to be transparent), or "viewport"
# (for viewport mode). Syntax is "mode <startup_mode> allow <allowed_modes>".
- mode image allow trans viewport
+ mode image allow image trans viewport auto
# Set the image border. This is a portion of the image which will be kept at its actual size when
# scaling. Use this for beveled images (buttons, etc.).
@@ -133,7 +133,7 @@ begin main
# The rest of the images.
begin image
type trough
- mode image allow trans viewport
+ mode image allow image trans viewport auto
state normal
file bar_vertical_3.png
# Here is how you specify the geometry string separately. See the man page for its syntax.
@@ -142,6 +142,7 @@ begin main
end image
begin image
type anchor
+ mode image allow image auto
state normal
file bar_vertical_1.png
geom :scale
@@ -153,6 +154,7 @@ begin main
end image
begin image
type up_arrow
+ mode image allow image auto
state normal
file button_arrow_up_1.png
geom :scale
@@ -168,6 +170,7 @@ begin main
end image
begin image
type down_arrow
+ mode image allow image auto
state normal
file button_arrow_down_1.png
geom :scale
@@ -183,6 +186,7 @@ begin main
end image
begin image
type menu
+ mode image allow image auto
state normal
file bar_horizontal_1.png
geom 100x100+0+0:scale
@@ -194,6 +198,7 @@ begin main
end image
begin image
type submenu
+ mode image allow image auto
state normal
file menu1.png
geom 100x100+0+0:scale
diff --git a/themes/emacs/theme.cfg.in b/themes/emacs/theme.cfg.in
index 9f979df..788bb87 100644
--- a/themes/emacs/theme.cfg.in
+++ b/themes/emacs/theme.cfg.in
@@ -44,24 +44,24 @@ begin main
# The colors below are taken from Rasterman's .Xdefaults file. They are intended to
# display ANSI art properly when combined with a good ANSI-art font (like vga or
# Rasterman's nexus font).
-# color 0 0 0 0
-# color 1 0xaa 0 0
-# color 2 0 0210 0
-# color 3 0xaa 0x55 0x22
-# color 4 0 0 0xaa
-# color 5 0xaa 0 0xaa
-# color 6 0 0xaa 0xaa
-# color 7 0xaa 0xaa 0xaa
-# color 8 0x44 0x44 0x44
-# color 9 0xff 0x44 0x44
-# color 10 0x44 0xff 0x44
-# color 11 0xff 0xff 0x44
-# color 12 0x44 0x44 0xff
-# color 13 0xff 0x44 0xff
-# color 14 0x44 0xff 0xff
-# color 15 #ffffff
-# color bd #ffffff
-# color ul #ffffff
+ color 0 0 0 0
+ color 1 0xaa 0 0
+ color 2 0 0210 0
+ color 3 0xaa 0x55 0x22
+ color 4 0 0 0xaa
+ color 5 0xaa 0 0xaa
+ color 6 0 0xaa 0xaa
+ color 7 0xaa 0xaa 0xaa
+ color 8 0x44 0x44 0x44
+ color 9 0xff 0x44 0x44
+ color 10 0x44 0xff 0x44
+ color 11 0xff 0xff 0x44
+ color 12 0x44 0x44 0xff
+ color 13 0xff 0x44 0xff
+ color 14 0x44 0xff 0xff
+ color 15 #ffffff
+ color bd #ffffff
+ color ul #ffffff
# This ends the color section. Any text after the word "end" is
# assumed to be a comment and ignored.
@@ -121,7 +121,7 @@ begin main
# The mode line. This defines the startup mode for the image, as well as what modes are allowed.
# Valid modes are "image" (to display the image file), "trans" (to be transparent), or "viewport"
# (for viewport mode). Syntax is "mode <startup_mode> allow <allowed_modes>".
- mode image allow trans viewport
+ mode image allow image trans viewport auto
# Set the image border. This is a portion of the image which will be kept at its actual size when
# scaling. Use this for beveled images (buttons, etc.).
@@ -133,7 +133,7 @@ begin main
# The rest of the images.
begin image
type trough
- mode image allow trans viewport
+ mode image allow image trans viewport auto
state normal
file bar_vertical_3.png
# Here is how you specify the geometry string separately. See the man page for its syntax.
@@ -142,6 +142,7 @@ begin main
end image
begin image
type anchor
+ mode image allow image auto
state normal
file bar_vertical_1.png
geom :scale
@@ -153,6 +154,7 @@ begin main
end image
begin image
type up_arrow
+ mode image allow image auto
state normal
file button_arrow_up_1.png
geom :scale
@@ -168,6 +170,7 @@ begin main
end image
begin image
type down_arrow
+ mode image allow image auto
state normal
file button_arrow_down_1.png
geom :scale
@@ -183,6 +186,7 @@ begin main
end image
begin image
type menu
+ mode image allow image auto
state normal
file bar_horizontal_1.png
geom 100x100+0+0:scale
@@ -194,6 +198,7 @@ begin main
end image
begin image
type submenu
+ mode image allow image auto
state normal
file menu1.png
geom 100x100+0+0:scale
diff --git a/themes/irc/theme.cfg.in b/themes/irc/theme.cfg.in
index a742c9a..d63cc71 100644
--- a/themes/irc/theme.cfg.in
+++ b/themes/irc/theme.cfg.in
@@ -44,24 +44,24 @@ begin main
# The colors below are taken from Rasterman's .Xdefaults file. They are intended to
# display ANSI art properly when combined with a good ANSI-art font (like vga or
# Rasterman's nexus font).
- color 0 0 0 0
- color 1 0xaa 0 0
- color 2 0 0210 0
- color 3 0xaa 0x55 0x22
- color 4 0 0 0xaa
- color 5 0xaa 0 0xaa
- color 6 0 0xaa 0xaa
- color 7 0xaa 0xaa 0xaa
- color 8 0x44 0x44 0x44
- color 9 0xff 0x44 0x44
- color 10 0x44 0xff 0x44
- color 11 0xff 0xff 0x44
- color 12 0x44 0x44 0xff
- color 13 0xff 0x44 0xff
- color 14 0x44 0xff 0xff
- color 15 #ffffff
- color bd #ffffff
- color ul #ffffff
+ color 0 0 0 0
+ color 1 0xaa 0 0
+ color 2 0 0210 0
+ color 3 0xaa 0x55 0x22
+ color 4 0 0 0xaa
+ color 5 0xaa 0 0xaa
+ color 6 0 0xaa 0xaa
+ color 7 0xaa 0xaa 0xaa
+ color 8 0x44 0x44 0x44
+ color 9 0xff 0x44 0x44
+ color 10 0x44 0xff 0x44
+ color 11 0xff 0xff 0x44
+ color 12 0x44 0x44 0xff
+ color 13 0xff 0x44 0xff
+ color 14 0x44 0xff 0xff
+ color 15 #ffffff
+ color bd #ffffff
+ color ul #ffffff
# This ends the color section. Any text after the word "end" is
# assumed to be a comment and ignored.
@@ -111,6 +111,11 @@ begin main
# trough, anchor, menu, or submenu
type background
+# The mode line. This defines the startup mode for the image, as well as what modes are allowed.
+# Valid modes are "image" (to display the image file), "trans" (to be transparent), or "viewport"
+# (for viewport mode). Syntax is "mode <startup_mode> allow <allowed_modes>".
+ mode image allow image trans viewport auto
+
# Next you should set the state. This is either normal, selected, or clicked.
state normal
@@ -118,11 +123,6 @@ begin main
# an @ sign. That way, you can include the geometries in your pixmaps.list file.
file %random(`cat pixmaps.list`)
-# The mode line. This defines the startup mode for the image, as well as what modes are allowed.
-# Valid modes are "image" (to display the image file), "trans" (to be transparent), or "viewport"
-# (for viewport mode). Syntax is "mode <startup_mode> allow <allowed_modes>".
- mode image allow trans viewport
-
# Set the image border. This is a portion of the image which will be kept at its actual size when
# scaling. Use this for beveled images (buttons, etc.).
border 0 0 0 0
@@ -133,7 +133,7 @@ begin main
# The rest of the images.
begin image
type trough
- mode image allow trans viewport
+ mode image allow image trans viewport auto
state normal
file bar_vertical_3.png
# Here is how you specify the geometry string separately. See the man page for its syntax.
@@ -142,6 +142,7 @@ begin main
end image
begin image
type anchor
+ mode image allow image auto
state normal
file bar_vertical_1.png
geom :scale
@@ -153,6 +154,7 @@ begin main
end image
begin image
type up_arrow
+ mode image allow image auto
state normal
file button_arrow_up_1.png
geom :scale
@@ -168,6 +170,7 @@ begin main
end image
begin image
type down_arrow
+ mode image allow image auto
state normal
file button_arrow_down_1.png
geom :scale
@@ -183,6 +186,7 @@ begin main
end image
begin image
type menu
+ mode image allow image auto
state normal
file bar_horizontal_1.png
geom 100x100+0+0:scale
@@ -194,6 +198,7 @@ begin main
end image
begin image
type submenu
+ mode image allow image auto
state normal
file menu1.png
geom 100x100+0+0:scale
diff --git a/themes/mutt/theme.cfg.in b/themes/mutt/theme.cfg.in
index 70afe1b..2bbfe2d 100644
--- a/themes/mutt/theme.cfg.in
+++ b/themes/mutt/theme.cfg.in
@@ -1,4 +1,4 @@
-<Eterm-0.8>
+<Eterm-0.9>
# ^- This must be the first line of any Eterm config file!
# Format is: <Eterm-VERSION> where VERSION is replaced by
# the version it was written for,
@@ -44,24 +44,24 @@ begin main
# The colors below are taken from Rasterman's .Xdefaults file. They are intended to
# display ANSI art properly when combined with a good ANSI-art font (like vga or
# Rasterman's nexus font).
-# color 0 0 0 0
-# color 1 0xaa 0 0
-# color 2 0 0210 0
-# color 3 0xaa 0x55 0x22
-# color 4 0 0 0xaa
-# color 5 0xaa 0 0xaa
-# color 6 0 0xaa 0xaa
-# color 7 0xaa 0xaa 0xaa
-# color 8 0x44 0x44 0x44
-# color 9 0xff 0x44 0x44
-# color 10 0x44 0xff 0x44
-# color 11 0xff 0xff 0x44
-# color 12 0x44 0x44 0xff
-# color 13 0xff 0x44 0xff
-# color 14 0x44 0xff 0xff
-# color 15 #ffffff
-# color bd #ffffff
-# color ul #ffffff
+ color 0 0 0 0
+ color 1 0xaa 0 0
+ color 2 0 0210 0
+ color 3 0xaa 0x55 0x22
+ color 4 0 0 0xaa
+ color 5 0xaa 0 0xaa
+ color 6 0 0xaa 0xaa
+ color 7 0xaa 0xaa 0xaa
+ color 8 0x44 0x44 0x44
+ color 9 0xff 0x44 0x44
+ color 10 0x44 0xff 0x44
+ color 11 0xff 0xff 0x44
+ color 12 0x44 0x44 0xff
+ color 13 0xff 0x44 0xff
+ color 14 0x44 0xff 0xff
+ color 15 #ffffff
+ color bd #ffffff
+ color ul #ffffff
# This ends the color section. Any text after the word "end" is
# assumed to be a comment and ignored.
@@ -111,6 +111,11 @@ begin main
# trough, anchor, menu, or submenu
type background
+# The mode line. This defines the startup mode for the image, as well as what modes are allowed.
+# Valid modes are "image" (to display the image file), "trans" (to be transparent), or "viewport"
+# (for viewport mode). Syntax is "mode <startup_mode> allow <allowed_modes>".
+ mode image allow image trans viewport auto
+
# Next you should set the state. This is either normal, selected, or clicked.
state normal
@@ -118,11 +123,6 @@ begin main
# an @ sign. That way, you can include the geometries in your pixmaps.list file.
file %random(`cat pixmaps.list`)
-# The mode line. This defines the startup mode for the image, as well as what modes are allowed.
-# Valid modes are "image" (to display the image file), "trans" (to be transparent), or "viewport"
-# (for viewport mode). Syntax is "mode <startup_mode> allow <allowed_modes>".
- mode image allow trans viewport
-
# Set the image border. This is a portion of the image which will be kept at its actual size when
# scaling. Use this for beveled images (buttons, etc.).
border 0 0 0 0
@@ -132,6 +132,7 @@ begin main
begin image
type menu
+ mode image allow image auto
state normal
file bar_horizontal_1.png
geom 100x100+0+0:scale
@@ -143,6 +144,7 @@ begin main
end image
begin image
type submenu
+ mode image allow image auto
state normal
file menu1.png
geom 100x100+0+0:scale
diff --git a/themes/trans/theme.cfg.in b/themes/trans/theme.cfg.in
index 71e0069..e1cc336 100644
--- a/themes/trans/theme.cfg.in
+++ b/themes/trans/theme.cfg.in
@@ -44,24 +44,24 @@ begin main
# The colors below are taken from Rasterman's .Xdefaults file. They are intended to
# display ANSI art properly when combined with a good ANSI-art font (like vga or
# Rasterman's nexus font).
-# color 0 0 0 0
-# color 1 0xaa 0 0
-# color 2 0 0210 0
-# color 3 0xaa 0x55 0x22
-# color 4 0 0 0xaa
-# color 5 0xaa 0 0xaa
-# color 6 0 0xaa 0xaa
-# color 7 0xaa 0xaa 0xaa
-# color 8 0x44 0x44 0x44
-# color 9 0xff 0x44 0x44
-# color 10 0x44 0xff 0x44
-# color 11 0xff 0xff 0x44
-# color 12 0x44 0x44 0xff
-# color 13 0xff 0x44 0xff
-# color 14 0x44 0xff 0xff
-# color 15 #ffffff
-# color bd #ffffff
-# color ul #ffffff
+ color 0 0 0 0
+ color 1 0xaa 0 0
+ color 2 0 0210 0
+ color 3 0xaa 0x55 0x22
+ color 4 0 0 0xaa
+ color 5 0xaa 0 0xaa
+ color 6 0 0xaa 0xaa
+ color 7 0xaa 0xaa 0xaa
+ color 8 0x44 0x44 0x44
+ color 9 0xff 0x44 0x44
+ color 10 0x44 0xff 0x44
+ color 11 0xff 0xff 0x44
+ color 12 0x44 0x44 0xff
+ color 13 0xff 0x44 0xff
+ color 14 0x44 0xff 0xff
+ color 15 #ffffff
+ color bd #ffffff
+ color ul #ffffff
# This ends the color section. Any text after the word "end" is
# assumed to be a comment and ignored.
@@ -121,7 +121,7 @@ begin main
# The mode line. This defines the startup mode for the image, as well as what modes are allowed.
# Valid modes are "image" (to display the image file), "trans" (to be transparent), or "viewport"
# (for viewport mode). Syntax is "mode <startup_mode> allow <allowed_modes>".
- mode trans allow image trans viewport
+ mode trans allow image trans viewport auto
# Set the image border. This is a portion of the image which will be kept at its actual size when
# scaling. Use this for beveled images (buttons, etc.).
@@ -133,7 +133,7 @@ begin main
# The rest of the images.
begin image
type trough
- mode image allow trans viewport
+ mode trans allow image trans viewport auto
state normal
file bar_vertical_3.png
# Here is how you specify the geometry string separately. See the man page for its syntax.
@@ -142,6 +142,7 @@ begin main
end image
begin image
type anchor
+ mode image allow image auto
state normal
file bar_vertical_1.png
geom :scale
@@ -153,6 +154,7 @@ begin main
end image
begin image
type up_arrow
+ mode image allow image auto
state normal
file button_arrow_up_1.png
geom :scale
@@ -168,6 +170,7 @@ begin main
end image
begin image
type down_arrow
+ mode image allow image auto
state normal
file button_arrow_down_1.png
geom :scale
@@ -183,6 +186,7 @@ begin main
end image
begin image
type menu
+ mode image allow image auto
state normal
file bar_horizontal_1.png
geom 100x100+0+0:scale
@@ -194,6 +198,7 @@ begin main
end image
begin image
type submenu
+ mode image allow image auto
state normal
file menu1.png
geom 100x100+0+0:scale
@@ -291,7 +296,7 @@ begin main
borderless true
# If true, Eterm will use save-unders.
- save_under true
+ backing_store true
end toggles