summaryrefslogtreecommitdiff
path: root/themes/tn3270
diff options
context:
space:
mode:
authorMichael Jennings <mej@kainx.org>1999-08-18 01:12:47 +0000
committerMichael Jennings <mej@kainx.org>1999-08-18 01:12:47 +0000
commit661b1b9448308e0f50a4a6d131f2b3fb66c63dd4 (patch)
tree828b240bf3a9b9eb44499de1a99300ef956f0a1e /themes/tn3270
parente64e1663de917283ea3c05ab928398d37ca656c7 (diff)
downloadeterm-661b1b9448308e0f50a4a6d131f2b3fb66c63dd4.tar.gz
Tue Aug 17 18:06:01 PDT 1999 Michael Jennings <mej@eterm.org>
Now that we have a fixed CVS server.... This includes the old 0.8.10 code, but it's now 0.9. It also includes a timer subsystem. SVN revision: 52
Diffstat (limited to 'themes/tn3270')
-rw-r--r--themes/tn3270/.cvsignore2
-rw-r--r--themes/tn3270/theme.cfg.in (renamed from themes/tn3270/MAIN.in)181
2 files changed, 155 insertions, 28 deletions
diff --git a/themes/tn3270/.cvsignore b/themes/tn3270/.cvsignore
index e5cdc04..4674fba 100644
--- a/themes/tn3270/.cvsignore
+++ b/themes/tn3270/.cvsignore
@@ -1 +1 @@
-MAIN
+theme.cfg
diff --git a/themes/tn3270/MAIN.in b/themes/tn3270/theme.cfg.in
index 4d93192..0862e74 100644
--- a/themes/tn3270/MAIN.in
+++ b/themes/tn3270/theme.cfg.in
@@ -24,9 +24,11 @@ begin main
background black
cursor #ffff00
cursor_text #880000
- menu_text white
scrollbar #3f1c00
unfocusedscrollbar #777777
+ menu #777777
+ unfocusedmenu #777777
+ menu_text black
pointer white
# video attribute can either be "normal" or "reverse"
@@ -88,31 +90,159 @@ begin main
# font bold 7x14
end attributes
-# This section is for pixmap definitions. The only one used currently
-# is "background". The supplied numbers work just like they do for
-# Enlightenment: first is X (width), second is Y (height). -1 to
-# scale 100%, 0 to tile, any other number specifies W/H in pixels
- begin pixmaps
- background %random(`cat pixmaps.list 2>/dev/null`)
- path "~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:@DATADIR@/Eterm/pix/"
-
-# Support for these is forthcoming
-# scroll_up -1 -1 ~/.Eterm/up_arrow.ppm
-# scroll_down -1 -1 ~/.Eterm/down_arrow.ppm
-# scroll_background 0 0 ~/.Eterm/scroll.ppm
-# scroll_anchor -1 -1 ~/.Eterm/anchor.ppm
+# Define the imageclasses.
+ begin imageclasses
+
+# You must define this before setting any images that use it. This is the $PATH-style variable
+# that determines where Eterm looks for image files.
+ path "./pix/:~/.Eterm/:~/.Eterm/themes/Eterm/pix:~/.Eterm/pix/:@PKGDATADIR@/pix/"
+
+# If you want a different icon than the standard Eterm one, set this.
+# icon Eterm.xpm
+
+# This is the background animator. See the man page for the syntax.
+# anim 3 foo1 foo2 foo3
+
+# Here we define an image.
+ begin image
+
+# The first thing you set when defining an image MUST be the type. No type, no dice. The type
+# should be one of the following: background, up_arrow, down_arrow, left_arrow, right_arrow,
+# trough, anchor, menu, or submenu
+ type background
+
+# Next you should set the state. This is either normal, selected, or clicked.
+ state normal
+
+# Here you set the file. You can also set the geometry string here if you follow the filename with
+# 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
+
+# Th-th-th-th-that's all folks.
+ end image
+
+# The rest of the images.
+ begin image
+ type trough
+ mode image allow trans viewport
+ state normal
+ file bar_vertical_3.png
+# Here is how you specify the geometry string separately. See the man page for its syntax.
+ geom :scale
+ border 3 3 2 2
+ end image
+ begin image
+ type anchor
+ state normal
+ file bar_vertical_1.png
+ geom :scale
+ border 3 3 2 2
+ state selected
+ file bar_vertical_2.png
+ geom :scale
+ border 3 3 2 2
+ end image
+ begin image
+ type up_arrow
+ state normal
+ file button_arrow_up_1.png
+ geom :scale
+ border 2 2 2 2
+ state selected
+ file button_arrow_up_2.png
+ geom :scale
+ border 2 2 2 2
+ state clicked
+ file button_arrow_up_3.png
+ geom :scale
+ border 2 2 2 2
+ end image
+ begin image
+ type down_arrow
+ state normal
+ file button_arrow_down_1.png
+ geom :scale
+ border 2 2 2 2
+ state selected
+ file button_arrow_down_2.png
+ geom :scale
+ border 2 2 2 2
+ state clicked
+ file button_arrow_down_3.png
+ geom :scale
+ border 2 2 2 2
+ end image
+ begin image
+ type menu
+ state normal
+ file bar_horizontal_1.png
+ geom 100x100+0+0:scale
+ border 3 3 2 2
+ state selected
+ file bar_horizontal_2.png
+ geom 100x100+0+0:scale
+ border 3 3 2 2
+ end image
+ begin image
+ type submenu
+ state normal
+ file menu1.png
+ geom 100x100+0+0:scale
+ border 3 15 3 3
+ padding 3 15 3 3
+ state selected
+ file menu2.png
+ geom 100x100+0+0:scale
+ border 3 15 3 3
+ padding 3 15 3 3
+ state clicked
+ file menu3.png
+ geom 100x100+0+0:scale
+ border 3 15 3 3
+ padding 3 15 3 3
+ end image
end
-# The Kanji support options. Same goes for these fonts as for the normal
-# ones. The "encoding" attribute can be either "eucj" or "sjis".
- begin kanji
- font 0 k14
- font 1 jiskan16
- font 2 jiskan18
- font 3 jiskan24
- font 4 jiskan26
- encoding eucj
- end kanji
+# This section *must* come after the menu definitions if you want
+# menu actions to work. C'est la vie. :-)
+#
+# Syntax: bind [ { <modifiers> | anymod } ] { <key> | <keysym> | <button> } to { string | echo | menu } <parameter>
+#
+ begin actions
+ bind ctrl button1 to string "\e]5;\a"
+ bind ctrl button2 to string "\e[?30t"
+ bind ctrl button3 to menu Eterm
+ bind anymod f1 to menu Eterm
+ end actions
+
+# The Multichar support options. Same goes for these fonts as for the normal
+# ones. The "encoding" attribute can be either "eucj" or "sjis" or "euckr"
+# or big5 or gb
+# begin multichar
+# font 0 k14
+# font 1 jiskan16
+# font 2 jiskan18
+# font 3 jiskan24
+# font 4 jiskan26
+# encoding eucj
+# end multichar
+
+# The XIM support options.
+# input_method: set the name of your favorate input method program
+# preedit_type: OverTheSpot or OffTheSpot or Root
+# begin xim
+# input_method Ami
+# preedit_type OverTheSpot
+# end xim
# Boolean variables. The values can be "1", "on", or "true" for TRUE, or "0",
# "off", or "false" for FALSE.
@@ -222,9 +352,6 @@ begin main
# (Default is 5).
border_width 5
-# File to read for menubar
-# menu tn3270.menu
-
# Value to use for $TERM
term_name xterm