Sun Aug 30 16:48:27 1998 Owen Taylor <otaylor@gtk.org>
* gtk/gtklabel.c (gtk_label_set): Eliminate a
gdk_window_clear_area() that snuck in with the
menu underlines merge.
Tue Aug 25 16:52:47 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktext.c (recompute_geometry): Make sure the
mark we pass to line start is the beginning of a
real line, not a wrapped one.
Mon Aug 24 10:55:51 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtknotebook.c (gtk_notebook_draw_tab): Don't
dereference NULL focus tab.
* gtk/gtkscale.c (gtk_scale_[un]map): Add map/unmap
functions since we need to both show/hide and
queue a redraw. (There's some duplication of drawing here,
we probably should only be queuing a redraw on the
"value" portion of the scale.)
Fri Aug 21 19:02:30 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.[ch] gtk/gtkhscale.c gtk/gtkvscale.[ch]: Fit scales
into the theme-drawing framework. We do this by making them,
like check/radio-buttons, no-window widgets with subwindows. We
then move the value by calling gtk_widget_queue_clear() and only
redraw the value in our draw() / expose() handler. A virtual
function clear_background is added which queues a clear on the
"background" portion of the widget.
Fri Aug 21 13:04:27 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktext.c (mark_bg_gc): Make background colors work
again. (We can't always paint the background with a
paint() function - only do that for selected text)
Mon Aug 17 20:31:01 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktearoffmenuitem.c gtk/gtkclist.[ch] gtk/gtkctree.[ch]
gtk/gtklabel.c gtk/gtkmenu.c: Merges from main branch.
* Makefile.am (SRC_SUBDIRS): Removed themes from SRC_SUBDIRS.
the themes can't be built as part of the same build since
they depend on gdk_imlib.
Fri Aug 14 12:44:30 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkthemes.c (gtk_theme_engine_get): Removed sample engine code
from gtkthemes.c.
* configure.in ltconfig.in ltmain.sh gdk/Makefile.am gtk/Makefile.am
gtk/
- Upgrade to libtool-1.2b + patch to add shared library dependencies
for Linux. (Needs to be extended to other platforms where they
are safe)
- Check for -ldl so this branch should build on all platforms, though
themes will work on all platforms they could work on.
- Use -version and -release simultaneously: sonames stay as they are
in the current scheme, but -lgtk-1.1 changes to -lgtk.
- Added in extra -l flags to library LDFLAGS so we get shared library
dependencies against X libs and -ldl. (But not libgtk against
libgdk or libglib yet, since dependencies against uninstalled
libraries aren't portable)
Fri Aug 21 19:08:25 1998 Owen Taylor <otaylor@redhat.com>
* Makefile.am: Added support for metal theme.
Install/distribute gtkrc's for each theme.
Mon Aug 17 20:32:53 1998 Owen Taylor <otaylor@redhat.com>
* Makefile.am, pixmap/Makefile.am: Switch back to using automake,
fix things up to make dist properly.
* pixmap_theme.h: Rationalized.
* win95_theme.h motif_theme.h: Removed
* Started ChangeLog.
Fri Aug 21 16:10:38 EDT 1998 The Rasterman <raster@redhat.com>
* gtkrc.c - added api calls to find module and theme paths from gtk.
nuked gtk_install_prefix global.
Thu Aug 20 18:25:07 EDT 1998 The Rasterman <raster@redhat.com>
* added metal theme, fixed pixmap theme now to use pixmap path - and
removed lots of annoying print's, added gtkr's for each
theme data.. all your rc needs to do is include these rc's.
Mon Aug 10 23:03:55 1998 The Rasterman <raster@redhat.com>
* Fixed minor problem in gtkhandlebox.c with drawing, and some
notebook stuff. Also pixmap theme is now "clean" again.
Mon Aug 10 23:09:30 EDT 1998
* Added a few drawing fixes for notebook and other widgets. finished
pixmap theme up to the level that can be supported so far. (need to
add path discovery 9ie where is the rc fiel from - add to pixmap
path so we can get theimages from there too). then we can package
themes. After that need to add to theme seartch path stuff in users
home dir.
Thu Aug 6 16:49:25 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtktooltips.c (gtk_tooltips_expose): Draw into a
drawing area, draw in an expose handler.
* gtk/gtknotebook.c (gtk_notebook_expose): Check for
empty current page.
Wed Aug 5 16:13:15 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkcolorsel.c (gtk_color_selection_draw_wheel): Moved
creation of GC's so that they will be set before
they are used for map events (why are they used there?)
* gtk/gtkwidget.c: Fixed mistake that caused widgets to
be queued in multiple times in the queue.
Tue Aug 4 19:12:14 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_idle_draw): Fixed up
handling of partially clipped areas.
Merges from main branch.
Fri Jul 31 19:45:12 EDT 1998 The Rasterman <raster@redhat.com>
* hopefulyl fixed problem wiht togglebuttons acting like
radiobuttons in gtktogglebutton.c
Fri Jul 31 13:23:50 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.c (gtk_widget_queue_clear_area): Added
missed case into draw code. (Thanks Tim!)
* gtk/gtkrc.c gtk/gtkstyle.c: When unrealizing/destroying
call engine-specific code first. Misc cleanups.
* themes/Makefile.in themes/configure.in: Fixups with
GTK_CFLAGS.
Thu Jul 30 18:09:21 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c gtk/gtkstyle.c: More mm fixups
* gtk/gtktooltips.c: Pass a widget (the window) to the
drawing function instead of the GtkTooltips.
Thu Jul 30 17:27:10 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c: Abstract out checking for shape
extension into a function.
* gtk/gtkwindow.c: Fix up gtk_window_expose()/draw().
Remove extra callls to gtk_window_draw().
Thu Jul 30 23:36:46 EDT 1998 The Rasterman <raster@redhat.com>
* fixed another drawing buglet in the frame drawing code (actually
in the clearing code but anyway in gtkstyle.c)
Thu Jul 30 19:10:42 EDT 1998 The Rasterman <raster@redhat.com>
* Fixed defautl drawing code to no longer clobber the original style
pixmap bgs as it did and added a helper funciton in gtkstyle.c to
help with this.
Thu Jul 30 18:09:21 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrc.c gtk/gtkstyle.c: More mm fixups
* gtk/gtktooltips.c: Pass a widget (the window) to the
drawing function instead of the GtkTooltips.
Thu Jul 30 17:27:10 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdkwindow.c: Abstract out checking for shape
extension into a function.
* gtk/gtkwindow.c: Fix up gtk_window_expose()/draw().
Remove extra callls to gtk_window_draw().
Miscellaneous indentation fixes.
Thu Jul 30 14:51:34 EDT 1998 The Rasterman <raster@redhat.com>
* Moved all the themes to install cleanly the engine *.so's in
$(exec_prefix)/lib/gtk/themes/engines/ .
All the data for themes is now installed in
$(exec_prefix)/share/gtk/themes/theme_name/
All things build using GNU configure and autoconf and libtool now.
I have created a win95, motif and pixmap theme setup - i have to
work on the motif and win95 ones - pixmap theme also need work -
it partially parses a gtkrc for itself. This is goign to be a good
sample base to work from if you wish to write your own theme engines.
Thu Jul 30 11:18:43 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c gtk/gtkrc.c: Memory management fixups.
* themes/th_main.c: Moved messages around so they are
printed before destroying strings.
Wed Jul 29 16:56:07 1998 Owen Taylor <otaylor@redhat.com>
* gdk/gdk.c: Fairly implementation of expose compression.
(No GraphicsExpose compression yet, always compress
with the equivalent of XtCompressMultiple - no compression
of Expose events across non-Expose events)
* gdk/gdk.h gdk/gdkrectangle.c: gdk_rectangle_union()
Find rectangle bounding two rectangles.
* gtk/gtkstyle.c: Set clip rects for a few extra GC's
in gdk_default_draw_shadow()
Wed Jul 29 16:03:20 EDT 1998 The Rasterman <raster@redhat.com>
* Fixed drawing functions to handle switching themes on the fly
gracefully and look decent.
Tue Jul 28 22:52:10 EDT 1998 The Rasterman <raster@redhat.com>
* Added all the theme drawing code to all widgets, fixed up minor
nigglies in some widgets when it comes to themes, seem to be
running into some funky behavior with clipping rects in GC's. Too
many files to list here. (all files that now use gtk_paint_* are
affected).
Tue Jul 28 22:49:16 1998 Owen Taylor <otaylor@redhat.com>
* themes/th_main.c themes/th_draw.c gtk/testgtkrc:
Set up the demo theme so it is loaded from the RC file.
* themes/th_draw.c: Alleviate the hardcoded paths a wee
bit. (use $HOME/themes/)
Tue Jul 28 22:49:16 1998 Owen Taylor <otaylor@redhat.com>
* themes/th_main.c themes/th_draw.c gtk/testgtkrc:
Set up the demo theme so it is loaded from the RC file.
* themes/th_draw.c: Alleviate the hardcoded paths a wee
bit. (use $HOME/themes/)
* gtk/gtkthemes.[ch] gtk/gtkmain.c: Load engines specified in
the RC file via dlopen()
nternal handling of styles and RC styles pretty much
completely reworked for Theme work.
* gtkthemes.[ch]:
- Added routines for virtualization of RcStyle and Style handling.
- Temporary "sample" inline theme-engine. (Does nothing
but print out a few messages.
* gtkrc.[ch]
- Made GtkRcStyle public, added flags to tell if particular
colors have been set.
- RC Styles are "transparent", and the final style for
a widget is the composition of all matching styles
- Added pointer to GtkThemeEngine, and gpointer engine_data
to RC style and style.
- Parse "engine" keyword, load the appropriate theme engine
and call the engine's parser.
* gtkstyle.[ch]
- Keep a GtkRcStyle * in styles created from Rc Styles.
- Load up images from RC file at style attachment time.
- Call ->engine->foo() at appropriate times.
- Don't use a GCache. All incarnations for a style are
just linked together in a list, depend on the RC style
code to find the existing copy.
Tue Jul 28 14:41:54 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwidget.[ch]: Added the concept of queued redraws
of partial areas. This can be done either relative
to the existing windows (gtk_widget_queue_clear[_area]())
or relative to the future allocation of the widget
(gtk_widget_queue_draw[_area]).
The initial implementation is pretty braindead, but
can be improved.
* gtk/gtkwidget.[ch]: Removed calls to gdk_window_clear_area()
in favor of gtk_widget_queue_clear().
* gtk/gtklabel.[ch] gtk/gtkpixmap.[ch]: Removed needs_clear
flags in favor of gtk_widget_queue_clear()
[ Began a new branch for ongoing RHAD themes work ]