1999-08-17 16:01:18 -07:00
|
|
|
# $Id$
|
|
|
|
|
|
|
|
DIRS = tile scale
|
2001-05-04 23:57:28 -07:00
|
|
|
EXTRA_DIST = tile/014.jpg tile/circuit.jpg tile/giger1.jpg tile/40.jpg tile/blackstone.jpg \
|
Mon Jun 11 17:49:55 PDT 2001 Michael Jennings <mej@eterm.org>
Okay, first off, I removed 3 scaled backgrounds. See www.kainx.org or
my post to enlightenment-devel for details.
Second, I redid the default bindings for the mouse wheel. Basically,
the wheel alone will scroll by pages. Ctrl+wheel will scroll by pages
in groups of 5. Shift+wheel will scroll by a single line. If you
hold down the Alt key, the same combinations will work the same way,
but instead of scrolling within Eterm, they'll scroll the application
in the terminal (by sending PgUp/PgDn and up/down arrows). This works
in less, bash, and any other application which groks those keys.
I also added a --without-mousewheel option to configure that will turn
off the default scrollwheel bindings. Of course, you can always use
action bindings in the config file to bind/rebind these any way you
like.
While I was at it, I found and fixed a bug in the handling of the
Alt and Meta keys.
I added a scroll() function to the script stuff which allows you to
bind keys/buttons to scroll up and down. While I was at it, I added
comments to script.c for each function you can use.
And finally, the config file parser was moved to libast.
SVN revision: 4806
2001-06-11 18:04:45 -07:00
|
|
|
tile/nebula.jpg scale/Dragon.jpg \
|
1999-08-17 16:01:18 -07:00
|
|
|
README.backgrounds
|
|
|
|
pixmapdir = $(pkgdatadir)/pix
|
|
|
|
themedir = $(pkgdatadir)/themes
|
|
|
|
|
|
|
|
all: Makefile
|
1999-08-17 18:12:47 -07:00
|
|
|
@echo "*** Generating pixmap list files from images in tile/ and scale/..."
|
1999-09-03 16:41:25 -07:00
|
|
|
@true > $(srcdir)/pixmaps.list
|
|
|
|
@true > $(srcdir)/tile/tiled-pixmaps.list
|
|
|
|
@true > $(srcdir)/scale/scaled-pixmaps.list
|
1999-09-07 13:10:12 -07:00
|
|
|
@for i in `(cd $(srcdir)/tile && ls -1 | grep -v CVS | grep -v \.cvsignore | grep -v pixmaps.list)` ; do \
|
1999-09-03 16:41:25 -07:00
|
|
|
echo $$i >> $(srcdir)/tile/tiled-pixmaps.list ; \
|
|
|
|
echo '"'$$i'@0x0+0+0:tile"' >> $(srcdir)/pixmaps.list ; \
|
1999-09-07 13:10:12 -07:00
|
|
|
done
|
|
|
|
@for i in `(cd $(srcdir)/scale && ls -1 | grep -v CVS | grep -v \.cvsignore | grep -v pixmaps.list)` ; do \
|
1999-09-03 16:41:25 -07:00
|
|
|
echo $$i >> $(srcdir)/scale/scaled-pixmaps.list ; \
|
|
|
|
echo '"'$$i'@100x100"' >> $(srcdir)/pixmaps.list ; \
|
1999-08-17 16:01:18 -07:00
|
|
|
done
|
|
|
|
|
|
|
|
install-data-hook:
|
1999-09-03 16:41:25 -07:00
|
|
|
@if test ! -f $(srcdir)/pixmaps.list ; then $(MAKE) all ; fi
|
1999-08-17 16:01:18 -07:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pixmapdir)
|
1999-09-03 16:41:25 -07:00
|
|
|
@(for j in $(DIRS) ; do echo "Installing pixmaps in $$j" ; cd $(srcdir)/$$j ; \
|
1999-08-17 18:12:47 -07:00
|
|
|
for i in `ls -1 | grep -v CVS | grep -v \.cvsignore | grep -v pixmaps.list` ; do \
|
1999-08-17 16:01:18 -07:00
|
|
|
echo $(INSTALL_DATA) $$i $(DESTDIR)${pixmapdir} ; \
|
|
|
|
$(INSTALL_DATA) $$i $(DESTDIR)${pixmapdir} ; \
|
Mon Sep 20 18:32:01 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: 348
1999-09-20 18:16:46 -07:00
|
|
|
done ; cd .. ; \
|
1999-09-03 16:41:25 -07:00
|
|
|
done)
|
1999-08-17 18:12:47 -07:00
|
|
|
@for i in tiled-pixmaps.list scaled-pixmaps.list pixmaps.list ; do \
|
|
|
|
if test -f $(DESTDIR)${pixmapdir}/$$i ; then \
|
|
|
|
$(CP) -p $(DESTDIR)${pixmapdir}/$$i $(DESTDIR)${pixmapdir}/$$i.old ; \
|
|
|
|
echo "WARNING: Backup of existing $$i created." ; \
|
|
|
|
fi ; \
|
|
|
|
done
|
1999-09-03 16:41:25 -07:00
|
|
|
$(INSTALL_DATA) $(srcdir)/tile/tiled-pixmaps.list $(DESTDIR)${pixmapdir}
|
|
|
|
$(INSTALL_DATA) $(srcdir)/scale/scaled-pixmaps.list $(DESTDIR)${pixmapdir}
|
|
|
|
$(INSTALL_DATA) $(srcdir)/pixmaps.list $(DESTDIR)${pixmapdir}
|
1999-08-17 16:01:18 -07:00
|
|
|
@for i in `ls -1d $(DESTDIR)${themedir}/*` ; do \
|
1999-08-17 18:12:47 -07:00
|
|
|
for j in tiled-pixmaps.list scaled-pixmaps.list pixmaps.list ; do \
|
|
|
|
if test $$i != "." -a $$i != ".." -a ! -f $$i/$$j ; then \
|
|
|
|
echo "$(LN_S) ../../pix/$$j $$i/$$j" ; \
|
|
|
|
$(LN_S) ../../pix/$$j $$i/$$j ; \
|
|
|
|
fi ; \
|
|
|
|
done ; \
|
1999-08-17 16:01:18 -07:00
|
|
|
done
|