summaryrefslogtreecommitdiff
path: root/themes/trans/theme.cfg.in
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/trans/theme.cfg.in
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/trans/theme.cfg.in')
-rw-r--r--themes/trans/theme.cfg.in47
1 files changed, 26 insertions, 21 deletions
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