diff options
author | Michael Jennings <mej@kainx.org> | 2000-02-11 00:25:07 +0000 |
---|---|---|
committer | Michael Jennings <mej@kainx.org> | 2000-02-11 00:25:07 +0000 |
commit | 42fde9c99d5c8c8e51f4175d1069179efdf5154c (patch) | |
tree | 2c4db682de44aa701b02302ce9e03981fc709e52 /themes/Eterm/theme.cfg.in | |
parent | 9a0e0ce8fc220060ad02cb8779bf04a529c5c896 (diff) | |
download | eterm-42fde9c99d5c8c8e51f4175d1069179efdf5154c.tar.gz |
Thu Feb 10 15:10:01 PST 2000 Michael Jennings <mej@eterm.org>
This is the first public availability of the work thus far on Eterm
0.9.1. There's quite a bit of new stuff here.
* Added scrollbar thumb support.
* Completely redid the terminfo/termcap stuff. The terminfo file is
now compiled (by tic) and installed by default (unless you specify
--without-terminfo). The config files still say xterm, though,
because some programs (like SLang and GNU mc) use the silly algorithm
of "Is $TERM set to xterm?" to detect mouse reporting support in a
terminal. =P But if you don't ever use xterm, you can use Eterm's
termcap and just name it "xterm" instead. Thanks to Marius Gedminas
<mgedmin@takas.lt> for his patch that started this whole revamp.
* Added the kEsetroot script for KDE users from Dax Games
<dgames@isoc.net>.
* You can now configure the Home and End emulation via --with-home=
and --with-end= options to configure. The --with-terminfo option is
also new, and --enable-xim is now the default.
* Added a new image state, disabled, for when Eterm loses focus. This
is supported by all widgets (well, all those that could possibly be
on screen when Eterm lost focus), even the background image. So you
could actually have all your images darken on focus out and restore
to normal on focus in.
* Widget colors formerly dealt with as colors (menu text color,
scrollbar color, etc.) are now handled by the imageclasses. Each
image state can have a foreground and background color defined. The
current exception is the background image; I hope to add that later.
The foreground is the text color and the background is the object
color (for solid color mode). So menu text color is set by the menu
imageclass. And again, for unfocused colors, use the disabled state
of the imageclass.
* Proportionally-spaced fonts are now handled much better. They are
still forced into evenly-spaced columns (it's a terminal for crying
out loud!) but at least you don't end up with Eterm's wider than your
screen. :-)
* Home on refresh is gone, as is home on echo. It's now much simpler.
There are two options: home on output, and home on input, the former
being a combination of echo and refresh. Also, keypresses that don't
necessarily have corresonding output can trigger a home on input,
like Ctrl-End or whatever...ones that don't have special meaning.
Credit to Darren Stuart Embry <dse@louisville.edu> for pointing out
this issue and the one with "m-" in font names.
* I finally got around to re-merging the new parser stuff from my
work on the Not Game. Closed up some old potential behavior quirks
with theme parsing.
* Added a new escape sequence to fork-and-exec a program. Also added
a scrollback search capability to highlight all occurances of a string
in your scrollback buffer. Use the new "Etsearch" utility to access
it. "Etsearch string" to search for a string, then "Etsearch" by
itself to reset the highlighting.
* And of course, the biggie. Eterm now supports a completely-
customizeable buttonbar. Not a menubar, a buttonbar. It can have an
arbitrary number of buttons, and each button can perform an action,
just like a menuitem. So a button could bring up a menu (like a
menubar) or launch a program (like a launchbar) or perform an
operation (like a toolbar). Each button can have an icon, text, or
both. And you can have buttons left- or right-justified in the
buttonbar. You will eventually be able to have an arbitrary number
of buttonbars, but I'm still working on that.
As with any change this big, things could very easily be broken. So
beware. :-) I have tested this myself, and everything seems to work,
but I can't test every possibility. Let me know if you find anything
that's broken, and enjoy!
SVN revision: 2048
Diffstat (limited to 'themes/Eterm/theme.cfg.in')
-rw-r--r-- | themes/Eterm/theme.cfg.in | 95 |
1 files changed, 78 insertions, 17 deletions
diff --git a/themes/Eterm/theme.cfg.in b/themes/Eterm/theme.cfg.in index 05aa36f..aa35581 100644 --- a/themes/Eterm/theme.cfg.in +++ b/themes/Eterm/theme.cfg.in @@ -23,11 +23,6 @@ begin main background black cursor #ffff00 cursor_text #880000 - scrollbar #3f1c00 - unfocused_scrollbar #777777 - menu #777777 - unfocused_menu #777777 - menu_text black pointer white # video attribute can either be "normal" or "reverse" @@ -149,27 +144,43 @@ begin main type trough mode image allow image trans viewport auto state normal + color black #666666 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 + border 2 2 2 2 end image begin image type anchor mode image allow image auto state normal + color black #666666 file bar_vertical_1.png geom :scale - border 3 3 2 2 + border 2 2 2 2 state selected file bar_vertical_2.png geom :scale - border 3 3 2 2 + border 2 2 2 2 + end image + begin image + type thumb + mode image allow image auto + state normal + color black #666666 + file thumb_1.png + geom :scale + border 3 3 3 3 + state selected + file thumb_2.png + geom :scale + border 3 3 3 3 end image begin image type up_arrow mode image allow image auto state normal + color black #666666 file button_arrow_up_1.png geom :scale border 2 2 2 2 @@ -186,6 +197,7 @@ begin main type down_arrow mode image allow image auto state normal + color black #666666 file button_arrow_down_1.png geom :scale border 2 2 2 2 @@ -202,18 +214,20 @@ begin main type menu mode image allow image auto state normal + color black #999999 file bar_horizontal_1.png geom 100x100+0+0:scale - border 3 3 2 2 + border 2 2 2 2 state selected file bar_horizontal_2.png geom 100x100+0+0:scale - border 3 3 2 2 + border 2 2 2 2 end image begin image type submenu mode image allow image auto state normal + color black #999999 file menu1.png geom 100x100+0+0:scale border 3 15 3 3 @@ -229,6 +243,36 @@ begin main border 3 15 3 3 padding 3 15 3 3 end image + begin image + type button_bar + mode image allow image auto + state normal + color black #999999 + file bar_horizontal_1.png + geom 100x100+0+0:scale + border 2 2 2 2 + state disabled + color white #333333 + cmod image 0xc0 + border 2 2 2 2 + end image + begin image + type button + mode image allow image auto + state normal + color black #cccccc + file bar_horizontal_1.png + geom 100x100+0+0:scale + border 2 2 2 2 + state selected + file bar_horizontal_2.png + geom 100x100+0+0:scale + border 2 2 2 2 + state clicked + file bar_horizontal_3.png + geom 100x100+0+0:scale + border 2 2 2 2 + end image end %include "menus.cfg" @@ -242,9 +286,27 @@ begin main bind ctrl button1 to string "\e]5;\a" bind ctrl button2 to string "\e[?30t" bind ctrl button3 to menu Eterm - bind anymod 0xffbe to menu Eterm end actions +# This section must also come after the menus if you want any buttons +# to launch menus. (If not, it can go anywhere.) + begin button_bar + +# Specify a font. The default buttonbar font is the default terminal +# font as defined in the attributes section above. + font "-adobe-helvetica-medium-r-normal--10-100-75-75-p-56-iso8859-1" + +# Add a button. The syntax is: +# button <text> [ icon <filename> ] action { string | echo | menu } <parameter> +# + button Eterm action menu "Eterm Operations" + button Font action menu Font + button Background action menu Background + button Terminal action menu Terminal + rbutton icon help.png action string "\e]6;73;Eterm -e man Eterm\a" + rbutton icon exit.png action string "\e]6;70\a" + end button_bar + # The XIM support options. # input_method: set the name of your favorate input method program # preedit_type: OverTheSpot or OffTheSpot or Root @@ -285,13 +347,12 @@ begin main # If true, Eterm will start iconified. iconic false -# If true, Eterm will jump to the bottom of the window when something is echoed -# to the terminal, either by program output or user input. - home_on_echo 1 +# If true, Eterm will jump to the bottom of the window when something is output +# to the terminal. + home_on_output 1 -# If true, Eterm will jump to the bottom of the window when you refresh the -# screen (^L). - home_on_refresh 1 +# If true, Eterm will jump to the bottom of the window when a key is pressed. + home_on_input 1 # If true, Eterm will put the scrollbar on the right of the window (default is left). scrollbar_right true |