Commit Graph

314 Commits

Author SHA1 Message Date
Matthias Clasen
d585120eeb 2.7.3 2005-07-15 20:33:47 +00:00
Matthias Clasen
92da84155f 2.7.2 2005-07-08 18:52:47 +00:00
Matthias Clasen
2bd25d8f45 2.7.1 2005-07-01 19:24:05 +00:00
Matthias Clasen
58a1af804c 2.7.0 2005-06-20 22:06:27 +00:00
Matthias Clasen
3febaff1e4 Try to handle the situation that the borders are larger than the area we
2005-06-12  Matthias Clasen  <mclasen@redhat.com>

	* pixbuf-render.c (theme_pixbuf_render): Try to
	handle the situation that the borders are larger
	than the area we are rendering.  (#169731,
	Benjamin Otte)
2005-06-12 06:04:40 +00:00
Tor Lillqvist
b60940539e modules/engines/Makefile.am Decide whether to build the ms-windows theme
2005-06-05  Tor Lillqvist  <tml@novell.com>

	* modules/engines/Makefile.am
	* modules/input/Makefile.am: Decide whether to build the
	ms-windows theme engine based on the GDK backend, not based on
	platform. (I.e., if building for Cygwin with the X11 backend, we
	shouldn't build the ms-windows engine, but if building for Cygwin
	but with the Win32 backend, we should.) Ditto for the IME
	(Windows) input module. (#305832)
2005-06-04 22:08:50 +00:00
Tor Lillqvist
3dde363831 Render insensitive icons in a way that more closely matches Windows.
2005-06-04  Tor Lillqvist  <tml@novell.com>

	* modules/engines/ms-windows/msw_style.c: Render insensitive icons
	in a way that more closely matches Windows. (#305986, Tim Evans).

	* modules/engines/ms-windows/Makefile.am (LDADDS): Link with
	gdk-pixbuf.
2005-06-04 20:19:36 +00:00
Dom Lachowicz
d751518bd7 re-sync with gtk-wimp's cvs repository 2005-06-03 19:54:03 +00:00
Tor Lillqvist
a2f426f36f Silence gcc warnings (unused variables, unhandled enum value in switch).
2005-03-21  Tor Lillqvist  <tml@novell.com>

	* modules/engines/ms-windows/*.c: Silence gcc warnings (unused
	variables, unhandled enum value in switch). Use g_object_unref()
	instead of deprecated gdk_gc_unref() and gdk_drawable_unref().

	* modules/engines/ms-windows/xp_theme.c (xp_theme_map_gtk_state):
	Add missing "case" keyword.

	* modules/engines/ms-windows/Makefile.am: Link with -lgdi32
	explicitly.
2005-03-20 23:10:14 +00:00
Matthias Clasen
65d7ef8ff4 2.6.1 2005-01-08 07:50:46 +00:00
Matthias Clasen
203e5edc6f 2.6.0 2004-12-16 18:21:44 +00:00
Tor Lillqvist
f3da170539 gtk/gtkaccelmap.[ch] gtk/gtkfilechooser.[ch] gtk/gtkfilesel.c
2004-12-12  Tor Lillqvist  <tml@iki.fi>

	* gtk/gtkaccelmap.[ch]
	* gtk/gtkfilechooser.[ch]
	* gtk/gtkfilesel.c
	* gtk/gtkfilesystemwin32.c
	* gtk/gtkiconfactory.[ch]
	* gtk/gtkicontheme.[ch]
	* gtk/gtkimage.[ch]
	* gtk/gtkimmodule.c
	* gtk/gtkmodules.c
	* gtk/gtkrc.[ch]
	* gtk/gtkuimanager.[ch]
	* gtk/gtkwindow.[ch]
	* gtk/updateiconcache.c
	* gtk/gtk.symbols: Use gstdio wrappers. On Windows, convert
	environment variables referring to pathnames from locale encoding
	to UTF-8. As in GLib, in order to preserve Windows DLL ABI
	stability, add binary compatibility versions of functions that
	take file names as arguments, or return file names. Add a _utf8
	suffix to the "real" such functions on Windows. The ABI
	compatibility versions keep the old name.

	* gtk/Makefile.am: Strip PRIVATE symbols from the GNU import
	library.

	* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Implement
	file mapping on Win32.

	* gtk/updateiconcache.c: Don't crash if invoked without
	argument. Use binary mode when opening file.

	* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am: Install
	gtkrc in correct place, in <datadir>/themes/MS-Windows/gtk-2.0.
2004-12-12 21:09:13 +00:00
Matthias Clasen
00c069f2b6 2.5.6 2004-12-03 06:32:17 +00:00
Dom Lachowicz
b00ab02597 xp theme combo box arrows on toolbars 2004-12-01 17:25:19 +00:00
Dom Lachowicz
29ada43da2 draw XP status bar grip, toolbar grip properly 2004-12-01 16:13:06 +00:00
Dom Lachowicz
692bb5126f ms-windows theme should use ms-windows button order 2004-12-01 15:40:03 +00:00
Dom Lachowicz
39b513a5ad ms windows theme menus should not have tearoffs 2004-11-30 23:32:49 +00:00
Matthias Clasen
de33692b05 Add necessary libraries to make it compile with -no-undefined. (#159713,
2004-11-28  Matthias Clasen  <mclasen@redhat.com>

	* Makefile.am (LDADDS): Add necessary libraries to make
	it compile with -no-undefined.  (#159713, Robert Ögren)
2004-11-28 17:21:06 +00:00
Manish Singh
54b45a19b9 modules/engines/ms-windows/msw_rc_style.c
Fri Nov 19 15:18:51 2004  Manish Singh  <yosh@gimp.org>

        * modules/engines/ms-windows/msw_rc_style.c
        * modules/engines/ms-windows/msw_style.c
        * modules/engines/ms-windows/msw_theme_main.c
        * modules/engines/pixbuf/pixbuf-main.c
        * modules/engines/pixbuf/pixbuf-rc-style.c
        * modules/input/gtkimcontextime.c
        * modules/input/gtkimcontextxim.c
        * modules/input/imam-et.c
        * modules/input/imcedilla.c
        * modules/input/imcyrillic-translit.c
        * modules/input/iminuktitut.c
        * modules/input/imipa.c
        * modules/input/imthai-broken.c
        * modules/input/imti-er.c
        * modules/input/imti-et.c
        * modules/input/imviqr.c
        * tests/prop-editor.c
        * tests/testentrycompletion.c
        * tests/testfilechooser.c
        * tests/testmerge.c
        * tests/testtoolbar.c
        * tests/testtreecolumns.c
        * tests/testtreeview.c: get rid of unnecessary casts.

        * tests/testgtk.c (create_labels): add GTK_LABEL() casts for
        gtk_label_set_ellipsize() calls.

        * tests/testicontheme.c (main): remove unused pixbuf variable.
2004-11-19 23:30:47 +00:00
Manish Singh
aa04eae7b7 Output Makefile for the pixbuf engine directory.
Mon Nov 15 17:17:17 2004  Manish Singh  <yosh@gimp.org>

        * configure.in: Output Makefile for the pixbuf engine directory.

        * gtk/gtk.symbols: Add gtk_button_{get,set}_image.

        * modules/engines/pixbuf/pixbuf-render.c: Replace usage of deprecated
        functions.

        * modules/engines/pixbuf/pixbuf-draw.c: undef GDK_DISABLE_DEPRECATED
        for gdk_draw_string (ick).
2004-11-16 01:20:47 +00:00
Matthias Clasen
db54ca44bb Add pixbuf.
2004-11-15  Matthias Clasen  <mclasen@redhat.com>

	* modules/engines/Makefile.am (SUBDIRS): Add pixbuf.
2004-11-15 19:26:53 +00:00
Matthias Clasen
66cec03401 Remove uses of deprecated symbols.
2004-11-15  Matthias Clasen  <mclasen@redhat.com>

	* pixbuf-render.c:
	* pixbuf-draw.c:
	* pixbuf-rc-style.c: Remove uses of deprecated symbols.
2004-11-15 18:42:12 +00:00
Matthias Clasen
7e7e4cbb6e Remove examples, adjust Makefile.am 2004-11-15 18:25:11 +00:00
Matthias Clasen
26cbda1b88 Check for uxtheme.h (#157967, J. Ali Harlow)
2004-11-11  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Check for uxtheme.h  (#157967, J. Ali Harlow)
2004-11-12 03:51:40 +00:00
Sven Neumann
0f32b61dde added .cvsignore files to shut up CVS 2004-09-24 22:24:20 +00:00
Tor Lillqvist
585471a479 Make the ms-windows theme engine build with mingw.
2004-08-30  Tor Lillqvist  <tml@iki.fi>

	Make the ms-windows theme engine build with mingw.

	* configure.in: Expand also modules/engines/ms-windows/Theme/
	Makefile and .../Theme/gtk-2.0/Makefile.

	* modules/engines/ms-windows/Makefile.am: Adapt for building
	inside the GTK sources.

	* modules/engines/ms-windows/*.c: Use "foo.h" style includes for
	GTK and GDK headers. Use correct path for gdkwin32.h header.

	* modules/engines/ms-windows/msw_style.c: Don't use deprecated GDK
	API.

	* modules/engines/ms-windows/xp_theme_defs.h
	* modules/engines/ms-windows/xp_theme.c: Move definitions of TMT_*
	to xp_theme.c, as they are neither in mingw's nor Platform
	SDK's tmschema.h.

	* modules/engines/ms-windows/xp_theme.c: Define _WIN32_WINNT as
	0x0501 to get the necesssary stuff from mingw's uxtheme.h.
2004-08-30 20:58:57 +00:00
Matthias Clasen
7feff029c9 Integrate the ms-windows theme engine (better known as Wimp) into the
2004-08-30  Matthias Clasen  <mclasen@redhat.com>

	Integrate the ms-windows theme engine (better known as Wimp)
	into the autotools build. Wimp (http://gtk-wimp.sourceforge.net/)
	was written by Raymond Penners and Dom Lachowicz. The Wimp 0.6.2
	sources have been added to the GTK+ source tree in
	modules/engines/ms-windows, and there is a ChangeLog detailing
	the history of Wimp. (#109615, Havoc Pennington)

	* configure.in: Generate modules/engines/Makefile and
	modules/engines/ms-windows/Makefile.

	* modules/Makefile.am (SUBDIRS): Add engines.

	* modules/engines/Makefile.am: Compile ms-windows for win32.
2004-08-30 14:20:00 +00:00
Raymond Penners
96533d5c40 Scrollbar patch 2004-08-23 20:53:53 +00:00
cinamod
2e0ddb6121 bump version number 2004-08-23 14:11:28 +00:00
cinamod
45c766084d don't draw handle box grippies for GtkPaned 2004-08-13 17:07:17 +00:00
cinamod
452dfcb081 draw handle box tearoffs properly now in XP mode 2004-08-13 16:56:30 +00:00
cinamod
edf3f56501 make things etched-in 2004-08-13 15:32:19 +00:00
cinamod
30d9d564e1 don't add tearoffs to GtkComboBoxes 2004-07-28 16:19:05 +00:00
cinamod
1093e2c646 some menubar theming improvements 2004-07-20 15:58:29 +00:00
cinamod
290f060d1d this makes inkscape look better 2004-07-20 15:46:44 +00:00
cinamod
6a2313e001 change icon sizes, toolbar sizes 2004-07-09 20:28:41 +00:00
Raymond Penners
f7e3b1ecd4 0.6.1 2004-07-01 22:46:02 +00:00
Raymond Penners
f93cf125f0 Button icons configurable, 0.6.1 2004-07-01 21:30:16 +00:00
cinamod
4432ce213e fix build 2004-06-07 13:58:09 +00:00
cinamod
0cc11ea6e1 disable icons in buttons 2004-06-07 02:11:50 +00:00
cinamod
02039ad7e0 fix inkscape's toolbar buttons, disable application theming if asked nicely, downgrade gtk+ requirements 2004-06-02 19:53:55 +00:00
cinamod
0916b965d6 remove unused cruft 2004-05-22 15:05:06 +00:00
cinamod
3d07c4a958 remove unecessary comments 2004-05-22 02:14:34 +00:00
Raymond Penners
e9ad49365f 0.6.0 2004-05-21 21:15:32 +00:00
Raymond Penners
c8134c7fda Patch 939583 2004-05-21 21:12:07 +00:00
cinamod
0a1f711eb0 fix toolbar button hilite in Luna theme 2004-05-21 21:01:55 +00:00
cinamod
6c6637ab27 rename to libwimp.dll 2004-05-21 19:02:59 +00:00
cinamod
f8cdf240fe win32 color changes work, xp style changes work 2004-05-21 18:35:56 +00:00
cinamod
07ac527c6d better icon sizes 2004-05-21 17:54:37 +00:00
Raymond Penners
43a6de6c89 Renamed GTK-Wimp to MS-Windows Engine 2004-03-20 11:42:30 +00:00
Owen Taylor
bc60ec0b83 Fix ./-> typo. (Federic Crozat)
Thu Mar 18 10:07:15 2004  Owen Taylor  <otaylor@redhat.com>

        * pixbuf-draw.c (match_theme_image): Fix ./-> typo.
        (Federic Crozat)
2004-03-18 15:09:55 +00:00
Owen Taylor
22767f65f7 Fix problem with NULL details. (#112066, MINAMI Hirokazu, Matthias Clasen)
Wed Mar 17 16:38:00 2004  Owen Taylor  <otaylor@redhat.com>

        * pixbuf-draw.c (match_theme_image): Fix problem with
        NULL details. (#112066, MINAMI Hirokazu, Matthias Clasen)
2004-03-17 21:43:47 +00:00
Raymond Penners
3a03f4a071 0.5.4 2004-03-11 20:29:13 +00:00
cinamod
ae308c1491 bump version # 2004-03-10 15:20:45 +00:00
cinamod
df2ab6f687 fix font encoding bug 2004-02-25 22:38:58 +00:00
cinamod
30e463b6b4 remove UXTHEME_HAS_LINES, fix menu coloration 2004-01-20 21:46:59 +00:00
cinamod
16f9478ee3 toward bug 853775 2003-12-30 17:22:30 +00:00
cinamod
7b61ec8c3b fix bug 852354 2003-12-30 16:44:40 +00:00
cinamod
4f42c35a0c fix expander's +/- part coloration 2003-12-01 18:56:34 +00:00
cinamod
6e63e7f75a fix coloration in several gimp widgets 2003-11-26 18:03:14 +00:00
cinamod
af05c04e31 fix menu bar bgs 2003-11-24 15:05:48 +00:00
Raymond Penners
11ff1a2a6d 0.5.2 2003-11-19 22:26:45 +00:00
cinamod
5df65643e2 fix background colors for brick 2003-11-14 17:51:31 +00:00
cinamod
18db2c24e2 fix icon sizes 2003-11-05 21:19:13 +00:00
cinamod
c6e019fbe3 menubars now have shadow=NONE 2003-11-05 17:47:36 +00:00
cinamod
524f0ba1bd scrollbar steppers are now ETCHED_IN 2003-11-05 15:10:27 +00:00
cinamod
4a1bdfb977 win32 color scheme work 2003-11-04 21:59:26 +00:00
Raymond Penners
73ab722107 scrollbar grippers 2003-11-01 15:28:25 +00:00
Raymond Penners
432c583ad5 0.5.1 2003-10-23 18:00:10 +00:00
cinamod
0aca654ce0 update xp_theme_defs 2003-10-23 14:20:27 +00:00
Raymond Penners
0727b51dc2 More code formatting 2003-10-22 18:41:02 +00:00
Raymond Penners
bce3094486 Code formatting 2003-10-22 18:25:50 +00:00
cinamod
28087cb57d use more XP style functions 2003-10-21 18:51:29 +00:00
Raymond Penners
c7353d84ee Scrollbar grippers 2003-10-20 17:38:53 +00:00
cinamod
aac8660254 bump version # 2003-10-20 14:53:05 +00:00
Raymond Penners
bd40282903 gtkrc 2003-10-18 20:45:15 +00:00
Raymond Penners
52349beb92 Grippers 2003-10-18 20:37:30 +00:00
Raymond Penners
a0628bab9a Scrollbar fixes 2003-10-17 18:00:44 +00:00
Raymond Penners
e246918d1b Merged patch from Arnaud Charlet 2003-10-14 18:35:43 +00:00
Raymond Penners
52595ffaf5 Released 0.5.0 2003-10-08 19:22:37 +00:00
Raymond Penners
995c756f11 added safety 2003-10-07 20:53:15 +00:00
Raymond Penners
3d279086dd Messed up changelog, again, zzz 2003-10-07 20:41:36 +00:00
Raymond Penners
359d5c9857 Messed up changelog 2003-10-07 20:40:32 +00:00
Raymond Penners
de1c1916ea Removed debugging stuff 2003-10-07 20:31:45 +00:00
cinamod
c7f1da6b0c clean up some return values in xp_theme 2003-10-07 20:11:27 +00:00
cinamod
3b960961f5 remove C++ comments 2003-10-07 20:07:49 +00:00
Raymond Penners
ab490bdcde Lightweight theme switching 2003-10-07 19:58:28 +00:00
cinamod
bb3f3dbc15 mingw build system 2003-10-07 19:10:15 +00:00
Raymond Penners
8a93f2ff7a Fixes 2003-10-07 18:56:57 +00:00
cinamod
5f5323d820 define HTHEME 2003-10-07 18:21:24 +00:00
Raymond Penners
2b7bd1f817 IsThemeActive and dfns->defs 2003-10-07 18:03:34 +00:00
cinamod
dc825592f4 xp theme definitions for platforms NOT winxp, catch system settings changes, disable theme switching 2003-10-06 16:38:53 +00:00
cinamod
795d24d459 fix menu delays 2003-10-03 18:17:39 +00:00
cinamod
2af224b3a5 redo how we do styles 2003-10-03 17:02:45 +00:00
cinamod
0f5490e5de catch color changes properly now 2003-10-03 16:20:25 +00:00
cinamod
1993a58518 catch theme and color changes 2003-10-03 15:54:20 +00:00
cinamod
84841faf7f don't leak as many GCs 2003-10-03 13:51:41 +00:00
cinamod
c0addc2e40 be more protective about when we install properties 2003-10-01 20:49:44 +00:00
cinamod
f81a63fde9 add gtksetting 2003-09-30 14:44:11 +00:00
cinamod
97f1b098af set delay on popdown menus 2003-09-25 15:07:02 +00:00
cinamod
86b43475c8 set delay on popdown menus 2003-09-25 15:04:16 +00:00
cinamod
dc16c121f9 const some strings 2003-09-22 14:36:30 +00:00
Raymond Penners
e95ad99afe 0.4.3 2003-09-20 09:56:27 +00:00
Raymond Penners
c2cee519e3 0.4.2 2003-09-18 19:30:06 +00:00
cinamod
db2ba3d0e0 ignore clip rect for now 2003-09-16 13:36:20 +00:00
Raymond Penners
405f24c9e6 0.4.1 2003-09-15 20:53:07 +00:00
Raymond Penners
0815d43bce Tree expanders fixed 2003-09-15 20:52:37 +00:00
Raymond Penners
b14b12f9d2 Several last-minute fixes 2003-09-15 17:58:44 +00:00
cinamod
2344c84ea5 implement caret blink 2003-09-15 14:02:23 +00:00
Raymond Penners
c647c4dd51 Console error messages 2003-09-14 18:54:00 +00:00
Raymond Penners
b24d3fd352 sf bug 805259 2003-09-14 09:47:25 +00:00
cinamod
fdb5605164 fix gtkrc 2003-09-11 19:22:01 +00:00
Raymond Penners
b427fbd8bc 0.4.0 2003-09-11 18:51:05 +00:00
Raymond Penners
33500b568c Notebook regression fixed 2003-09-11 18:44:39 +00:00
cinamod
0d7de37eb0 fix font problem in workrave 2003-09-09 15:07:33 +00:00
cinamod
7ba35e56de make a bunch of data const 2003-09-09 14:18:43 +00:00
cinamod
96196a4e47 scrollbar sizes, button sizes, paned sizes 2003-09-08 13:53:25 +00:00
cinamod
1ff4c35fdb use tooltip color, font 2003-09-03 17:40:23 +00:00
cinamod
15dbb7c912 respect boldness and italic 2003-09-02 22:09:49 +00:00
cinamod
4a32a34717 fix build 2003-09-02 19:21:11 +00:00
cinamod
d536cdde02 some tooltips work -waiting for gtk 2.4 2003-08-29 22:45:18 +00:00
cinamod
a5c6a1759d better font handling 2003-08-29 22:10:07 +00:00
cinamod
8f51ccc0e7 toolbar chevrons 2003-08-29 21:00:14 +00:00
cinamod
b75882291f better non-XP handle boxes 2003-08-28 18:36:17 +00:00
cinamod
ccdf6b9bc9 tooltips, handle boxes, menus, toolbars 2003-08-26 21:53:30 +00:00
Raymond Penners
b1b4498b0e 0.3.0 2003-08-26 18:45:08 +00:00
Raymond Penners
14554b4496 Fixes 2003-08-23 11:39:36 +00:00
Raymond Penners
f245464c67 Tooltip colors 2003-08-23 09:21:06 +00:00
Raymond Penners
d5cf3f17d9 Disabled alternating color rules 2003-08-20 00:18:54 +00:00
Raymond Penners
badb53eb1e Make files & tree expanders 2003-08-20 00:07:23 +00:00
Raymond Penners
f87cb63be3 Menu colors 2003-08-11 19:55:17 +00:00
Raymond Penners
6ec4aefa64 Progress bars 2003-08-06 20:05:39 +00:00
Raymond Penners
3f416961dc Text entry 2003-08-05 19:55:33 +00:00
Raymond Penners
857c1b8f5b Lots of changes 2003-08-05 19:34:17 +00:00
Mark McLoughlin
bc8567d488 make pixbuf_cache static to avoid possible symbol conflicts.
2003-07-15  Mark McLoughlin  <mark@skynet.ie>

        * pixbuf-render.c: make pixbuf_cache static to avoid
        possible symbol conflicts.
2003-07-15 11:40:19 +00:00
Raymond Penners
0d4391195b Started changelog 2003-04-15 18:32:56 +00:00
Raymond Penners
aba99542bf Merged with Arnaud Charlet + notebook TOP changes 2003-04-15 18:31:55 +00:00
Raymond Penners
cf68a240d0 Initial revision 2003-03-18 20:05:10 +00:00
Tor Lillqvist
45e99b52b1 Call AC_LIBTOOL_WIN32_DLL. Set OS_WIN32 conditional on Windows.
2003-03-02  Tor Lillqvist  <tml@iki.fi>

	* configure.in: Call AC_LIBTOOL_WIN32_DLL. Set OS_WIN32
	conditional on Windows.

	* makefile.cygwin: Remove, unmaintained and obsolete.

	* Makefile.am (EXTRA_DIST): Remove here, too.

	* README.win32: Update.

pixbuf:
2003-03-02  Tor Lillqvist  <tml@iki.fi>

	* Makefile.am: Use -no-undefined on Windows.

metal and redmond95:
2003-03-02  Tor Lillqvist  <tml@iki.fi>

	* Makefile.am: Use -no-undefined, and do use GTK_LIBS on Windows.
2003-03-02 02:00:50 +00:00
Owen Taylor
f824f0390c Update ChangeLog credits 2002-09-07 00:38:31 +00:00
Owen Taylor
11c6627174 Account for the possibility of detail == NULL (#89561, Hongli Lai)
Fri Sep  6 20:32:45 2002  Owen Taylor  <otaylor@redhat.com>

	* pixbuf-draw.c: Account for the possibility of detail == NULL
	(#89561, Hongli Lai)
2002-09-07 00:35:57 +00:00
Owen Taylor
1ffde0469e Add a fake STEPPER function that is used for drawing scrollbar steppers,
Sun Apr 21 14:10:04 2002  Owen Taylor  <otaylor@redhat.com>

        * pixbuf-rc-style.c pixbuf.h pixbuf-draw.c: Add a fake STEPPER
        function that is used for drawing scrollbar steppers,
        so that themes that want to draw the button and arrow
        separately can override the default handling.

        * pixbuf-draw.c: Remove draw_polygon() since it was
        just a cut-and-paste of the default one. Remove
        some unused code.
2002-04-21 19:00:52 +00:00
James Henstridge
9d16a01cfb link pixbuf engine against the gtk+ libraries, so that it can be used with
2002-03-07  James Henstridge  <james@daa.com.au>

	* Makefile.am (libpixmap_la_LIBADD): link pixbuf engine against
	the gtk+ libraries, so that it can be used with programs that
	dlopen gtk+ without the RTLD_GLOBAL flag (such as scripting
	languages and mozilla).
2002-03-06 23:34:11 +00:00
Owen Taylor
ac939d3355 Add gradient rendering -- if the source width/height is zero, render a
Thu Feb  7 00:21:21 2002  Owen Taylor  <otaylor@redhat.com>

        * pixbuf-render.c (pixbuf_render): Add gradient
        rendering -- if the source width/height is zero,
        render a gradient from the surrounding values.
2002-02-07 05:43:55 +00:00
Owen Taylor
cef69b57fe Fix hint computation again.
Mon Jan 28 15:34:43 2002  Owen Taylor  <otaylor@redhat.com>

	* pixbuf-render.c (compute_hint): Fix hint computation
	again.
2002-01-28 20:36:38 +00:00
Owen Taylor
929c8ed53e Fix problems in computing MISSING hint.
Mon Jan 28 12:17:07 2002  Owen Taylor  <otaylor@redhat.com>

        * pixbuf-render.c (compute_hint): Fix problems in computing
        MISSING hint.
2002-01-28 17:25:14 +00:00
Owen Taylor
6090d199a5 Optimize the case where a component is entirely transparent by skipping
Sun Jan 27 23:58:13 2002  Owen Taylor  <otaylor@redhat.com>

        * pixbuf-render.c (compute_hint): Optimize the case
        where a component is entirely transparent by skipping
        drawing it.

        * pixbuf-rc-style.c (theme_parse_image): Catch case
        where background or overlay border/stretch are specified
        without a background image.

        * pixbuf-render.c (theme_pixbuf_destroy): Actually free
        the structure and filename.
2002-01-28 05:34:17 +00:00
Owen Taylor
188ceabf8b Move back into gtk-engines 2002-01-20 02:16:54 +00:00
Owen Taylor
029b235234 Catch invalid borders, and warn.
Sat Jan 19 02:45:17 2002  Owen Taylor  <otaylor@redhat.com>

        * src/pixbuf-render.c (theme_pixbuf_compute_hints): Catch
        invalid borders, and warn.
2002-01-19 07:52:52 +00:00
Owen Taylor
4661db56ae fix image file names 2002-01-19 07:28:56 +00:00
Owen Taylor
465dfdf2ec add missed file 2002-01-19 07:24:59 +00:00
Owen Taylor
c77a8b9183 Add an extrodinarily ugly example.
Sat Jan 19 00:32:14 2002  Owen Taylor  <otaylor@redhat.com>

        * examples/*: Add an extrodinarily ugly example.

        * src/pixbuf-draw.c (draw_simple_image): Never shape
        the window, even if we are allowed to. Shaping is
        ugly -- if the widget isn't NO_WINDOW (most are),
        you'll just have to draw it rectangular.

        * src/pixbuf-render.c (pixbuf_render): Always use
        gdk_pixbuf_render_alpha() with FULL_ALPHA() as the
        type.

        * pixbuf.h src/pixbuf-render.c (theme_pixbuf_compute_hints): To
        speed up scaling, cache whether pixbufs have constant rows
        or constant columns.

        * src/pixbuf-render.c (pixbuf_render): Speed up scaling
        by using the hints from compute_hints().
2002-01-19 05:39:43 +00:00
Owen Taylor
3f100bb819 Fix for changes to draw_focus.
Fri Jan 18 18:14:11 2002  Owen Taylor  <otaylor@redhat.com>

        * src/pixbuf-draw.c (draw_focus): Fix for changes to draw_focus.
2002-01-18 23:14:45 +00:00
Hans Breuer
ed7aefc36a GtkRcStyle::parse has a GtkSettings parameter now. Pass it through
2001-09-21  Hans Breuer  <hans@breuer.org>

	* src/pixbuf-rc-style-c :  GtkRcStyle::parse has a GtkSettings
	parameter now. Pass it through theme_parse_file () to use it
	gtk_rc_find_pixmap_in_path ()

	* src/pixbuf-draw.c : the font field from GtkStyle is private
	now, use accessor gtk_style_get_font ()

	* makefile.msc : compile on win32, use it if you have a _real_
	fast computer or want to see gtk in slow motion :-)
2001-09-21 22:33:48 +00:00
Owen Taylor
d8c421f35d Fix trailing comma on enumeration. (#54071)
Thu May  3 05:36:06 2001  Owen Taylor  <otaylor@redhat.com>

        * pixbuf.h: Fix trailing comma on enumeration. (#54071)
2001-05-03 09:38:45 +00:00
Michael Natterer
3839abae10 made the "parent_class" pointer static.
2001-03-05  Michael Natterer  <mitch@gimp.org>

	* src/pixbuf-draw.c: made the "parent_class" pointer static.

	(Owen, I just commented out the draw methods which don't exist any
	more to make it compile).
2001-03-05 16:44:18 +00:00
Sven Neumann
8832f1d3ad use draw_vline method of parent_class, not draw_hline
2001-02-20  Sven Neumann  <sven@convergence.de>

	* src/pixbuf-draw.c (draw_vline): use draw_vline method of
	parent_class, not draw_hline
2001-02-20 21:15:31 +00:00
Owen Taylor
cebfe95660 A few updates for GTypePlugin.
Wed Nov 15 21:56:28 2000  Owen Taylor  <otaylor@redhat.com>

	* src/pixbuf-*: A few updates for GTypePlugin.
2001-02-01 23:55:43 +00:00
Owen Taylor
2aa67df2e1 Updates to work with GTK+-2.0 theme engine architecture. It won't even
Tue Jul 18 12:13:19 2000  Owen Taylor  <otaylor@redhat.com>

        Updates to work with GTK+-2.0 theme engine architecture.
	It won't even sort of work with GTK+-1.2 any more.

	* configure.in src/Makefile.am: Look for GTK+-2.0,
	install engine into GTK+-2.0 location.

	* src/pixbuf-style.h src/pixbuf-rc-style.[ch]: New
	files for GtkRcStyle and GtkStyle subclasses. Parsing,
	etc, moves to pixbuf-rc-style.[ch]

	* src/pixbuf-draw.c: Chain up to parent implementation
	when images aren't found for a certain element.
2000-07-18 16:21:33 +00:00
Owen Taylor
06df244dd5 Add -Wall for gcc.
Sun Jul  9 18:15:58 2000  Owen Taylor  <otaylor@redhat.com>

	* configure.in (ACLOCAL): Add -Wall for gcc.

	* src/pixbuf-render.c (pixbuf_render): Fix problem
	using gdk_rectangle_intersect() from GTK+-1.2.

	* src/pixbuf-render.c src/pixbuf-draw.c: Remove
	direct access to pixbuf internals.
2000-07-09 22:18:21 +00:00
Owen Taylor
35226a7be5 Moved into docs/ subdir
Mon Mar  6 11:44:58 2000  Owen Taylor  <otaylor@redhat.com>

        * docs/gap-geometry.fig: Moved into docs/ subdir

        * Makefile.am configure.in autogen.sh src/Makefile.am:
	automakify

	* src/pixbuf.h src/pixbuf-render.c src/pixbuf-draw.c
	src/pixbuf-main.c: Move sources into subdir and
	rename.
2000-03-06 18:47:32 +00:00
Owen Taylor
7ed05e22e5 Start automake-ifying 2000-03-06 16:39:14 +00:00
Owen Taylor
b8c691e6b2 Handle drawing transparency without a mask correctly.
Mon Mar  6 11:02:07 2000  Owen Taylor  <otaylor@redhat.com>

	* pixmap_theme_pixbuf.c: Handle drawing transparency without a
	mask correctly.

	* pixmap_theme_main.c pixmap_theme_draw.c: Remove duplicate
	includes.
2000-03-06 16:12:22 +00:00
Owen Taylor
1ac1bfb995 Initial revision 2000-02-07 02:36:39 +00:00