Commit Graph

1057 Commits

Author SHA1 Message Date
Frank Belew (Myth)
b6449d3dce see ChangeLog 1998-09-01 05:10:55 +00:00
Owen Taylor
d213168f12 Eliminate a gdk_window_clear_area() that snuck in with the menu underlines
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.
1998-08-30 20:46:30 +00:00
Owen Taylor
69746cb4d5 Make sure the mark we pass to line start is the beginning of a real line,
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.
1998-08-25 22:19:33 +00:00
Owen Taylor
dfccba3826 Lot's of merges from main branch.
Mon Aug 24 23:37:26 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtktext.c: Fixed some remaining background drawing,
	  merges from main branch, cleanups.
1998-08-25 03:35:02 +00:00
Owen Taylor
4d24cab4f9 Don't dereference NULL focus tab.
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.)
1998-08-24 14:49:58 +00:00
Carsten Haitzler
b3f01550bc Allrighty then... :)
Allrighty then... :)
1998-08-22 01:29:55 +00:00
Owen Taylor
4ccce42527 More files. 1998-08-22 00:13:35 +00:00
Owen Taylor
7839d25a17 More adding files, added .cvsignore's 1998-08-21 23:47:22 +00:00
Owen Taylor
2b547db814 Cleanups to the set of active files. 1998-08-21 23:41:07 +00:00
Owen Taylor
375eea1317 Fit scales into the theme-drawing framework. We do this by making them,
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.
1998-08-21 23:38:47 +00:00
EDT 1998 The Rasterman
82765c7aa4 gtkrc.c - added api calls to find module and theme paths from gtk. nuked
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.
1998-08-21 20:08:09 +00:00
EDT 1998 The Rasterman
66bbad7838 fixed gtk_install_prefix global.
Fri Aug 21 12:36:46 EDT 1998 The Rasterman <raster@redhat.com>
        * fixed gtk_install_prefix global.
1998-08-21 16:30:09 +00:00
EDT 1998 The Rasterman
6c29fb342b added ~/.gtk/lib/themes/engines/ to the defautl searchpath for gtk theme
Thu Aug 20 18:27:29 EDT 1998 The Rasterman <raster@redhat.com>
        * added ~/.gtk/lib/themes/engines/ to the defautl searchpath for
	gtk theme engines
1998-08-20 22:27:16 +00:00
EDT 1998 The Rasterman
4d675735b0 made gtkrc scanner append dir that gtkrc is read from to pixmap path.
Thu Aug 20 18:27:29 EDT 1998 The Rasterman <raster@redhat.com>
        * made gtkrc scanner append dir that gtkrc is read from to pixmap path.
1998-08-20 22:21:41 +00:00
EDT 1998 The Rasterman
d9e68d7ac3 added metal theme, fixed pixmap theme now to use pixmap path - and removed
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.
1998-08-20 22:20:49 +00:00
The Rasterman
f54298e6dc Fixed minor problem in gtkhandlebox.c with drawing, and some notebook
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.
1998-08-19 03:04:34 +00:00
Jaka Mocnik
2660911fd7 added themes to SRC_SUBDIRS
1998-08-15  Jaka Mocnik  <jaka.mocnik@kiss.uni-lj.si>

	* added themes to SRC_SUBDIRS
1998-08-15 11:02:12 +00:00
Carsten Haitzler
d7022170c7 damn - left some debugging printf's!
damn - left some debugging printf's!
1998-08-11 03:25:06 +00:00
Owen Taylor
ec42a2fd24 Fixed up queued area resizing once more.
Mon Aug 10 23:03:55 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_clip_rect): Fixed up
	  queued area resizing once more.
1998-08-11 03:15:46 +00:00
Carsten Haitzler
2d4bb49ed2 Mon Aug 10 23:09:30 EDT 1998 Added a few drawing fixes for notebook and
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.
1998-08-11 03:06:26 +00:00
Owen Taylor
13e1213e9a Draw into a drawing area, draw in an expose handler.
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.
1998-08-06 20:44:44 +00:00
Owen Taylor
89f7a5a848 Moved creation of GC's so that they will be set before they are used for
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.
1998-08-05 20:23:18 +00:00
Owen Taylor
b163129911 Merges from main. (Hmm most of those files are unmodified...) 1998-08-05 13:38:16 +00:00
Owen Taylor
976849f090 Fixed up handling of partially clipped areas.
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.
1998-08-04 23:16:19 +00:00
EDT 1998 EDT 1998 The Rasterman
e1722f3d15 Wheeeeeeeeeeeeeeee fixed radiobittons to work in gimp again.
Sat Aug  1 17:44:31 EDT 1998 EDT 1998 The Rasterman <raster@redhat.com>
        * Wheeeeeeeeeeeeeeee fixed radiobittons to work in gimp again.
1998-08-01 21:45:05 +00:00
EDT 1998 The Rasterman
a1a5ef5800 YES YES YES YES YES clist borders work again! YES! YES YES! gimme more
Fri Jul 31 19:45:12 EDT 1998 The Rasterman <raster@redhat.com>
        * YES YES YES YES YES clist borders work again! YES! YES YES! gimme
	more baby oooh yeah more more MORE YES YES.
1998-07-31 23:58:10 +00:00
EDT 1998 The Rasterman
8654cf632e hopefulyl fixed problem wiht togglebuttons acting like radiobuttons in
Fri Jul 31 19:45:12 EDT 1998 The Rasterman <raster@redhat.com>
        * hopefulyl fixed problem wiht togglebuttons acting like
	radiobuttons in gtktogglebutton.c
1998-07-31 23:41:39 +00:00
Owen Taylor
607f7ddde9 Added missed case into draw code. (Thanks Tim!)
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().
1998-07-31 18:27:00 +00:00
Carsten Haitzler
257ef68381 ???????????
???????????
1998-07-31 17:02:42 +00:00
Carsten Haitzler
798e25b6f7 DAMN CVS!
DAMN CVS!
1998-07-31 16:47:51 +00:00
Carsten Haitzler
8f3e4424bf blah
blah
1998-07-31 16:20:34 +00:00
Carsten Haitzler
f22d8e2248 missed 2 files form lats commit
missed 2 files form lats commit
1998-07-31 04:01:36 +00:00
EDT 1998 The Rasterman
ea278eb5bb fixed another drawing buglet in the frame drawing code (actually in the
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)
1998-07-31 03:46:11 +00:00
EDT 1998 The Rasterman
bef62ec152 Fixed warning from colorsel widget...
Thu Jul 30 19:23:48 EDT 1998 The Rasterman <raster@redhat.com>
        * Fixed warning from colorsel widget...
1998-07-30 23:21:02 +00:00
EDT 1998 The Rasterman
38c30244bb Fixed defautl drawing code to no longer clobber the original style pixmap
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.
1998-07-30 23:11:06 +00:00
Owen Taylor
e439315d93 More mm fixups
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.
1998-07-30 22:04:38 +00:00
Owen Taylor
1b1aa9d98d Abstract out checking for shape extension into a function.
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.
1998-07-30 21:21:43 +00:00
EDT 1998 The Rasterman
70b7979df8 Moved all the themes to install cleanly the engine *.so's in
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.
1998-07-30 18:53:11 +00:00
Owen Taylor
ac4aaf0def Fixed mistaken deletion of a line; updates from main branch 1998-07-30 16:30:27 +00:00
Owen Taylor
8461f6e3eb Memory management fixups.
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.
1998-07-30 15:14:36 +00:00
Owen Taylor
798d7ca2da Fairly implementation of expose compression. (No GraphicsExpose
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()
1998-07-29 21:07:00 +00:00
EDT 1998 The Rasterman
8fc624c81b Fixed drawing functions to handle switching themes on the fly gracefully
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.
1998-07-29 19:59:53 +00:00
EDT 1998 The Rasterman
513de4171a Added all the theme drawing code to all widgets, fixed up minor nigglies
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).
1998-07-29 03:29:17 +00:00
Owen Taylor
842d668599 Set up the demo theme so it is loaded from the RC file.
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/)
1998-07-29 03:10:22 +00:00
Owen Taylor
79ba0b2aed Set up the demo theme so it is loaded from the RC file.
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()
1998-07-29 02:47:01 +00:00
Owen Taylor
d0f68a5c1f nternal handling of styles and RC styles pretty much completely reworked
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.
1998-07-29 01:29:30 +00:00
Owen Taylor
b01d52b537 Single line change to fix window redraws. 1998-07-28 23:25:22 +00:00
Carsten Haitzler
78a42b742e oops missed them
oops missed them
1998-07-28 20:53:25 +00:00
Carsten Haitzler
742c12580d GTK theme revision 2 now in CVS themes 2 branch........ WHEEEEEEEEEEE!
GTK theme revision 2 now in CVS themes 2 branch........ WHEEEEEEEEEEE!
1998-07-28 20:39:26 +00:00
Owen Taylor
b6c34a8190 Added the concept of queued redraws of partial areas. This can be done
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 ]
1998-07-28 19:26:21 +00:00