summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* (Part 2) Remove gdk_*_lookup() defines, since they are defined by theElliot Lee2000-07-2435-2129/+2295
| | | | | | | | | | | | | | | (Part 2) * gdk/gdkprivate.h: Remove gdk_*_lookup() defines, since they are defined by the individual backends already. * gdk/gdkregion-generic.h, gdk/gdktypes.h: Put gdkregionbox & gdksegment back together again. Yes, there really is a good reason for this, if you are using the gdkregion internals, and if you're not, why do you care? * gdk/gdkwindow.c: Fix inverted condition * gdk/linux-fb: Compiles (for me - it will not work elsewhere most likely). * gtk/gtkcolorsel.c, gtk/gtkwindow.c: Add include for linux-fb * gtk/gtkrange.c: Redraw trough when moving. * gtk/gtktypeutils.c: Fix warning by adding const cast. * modules/linux-fb/basic.c: Fix unknown glyph retrieval.
* Part 1 of a multipart commitElliot Lee2000-07-244-1/+6
| | | | Part 1 of a multipart commit
* Updated Hungarian translations.Szabolcs BAN2000-07-242-11/+13
| | | | | | 2000-07-24 Szabolcs BAN <shooby@gnome.hu> * hu.po: Updated Hungarian translations.
* More work on the Win32 backend. More files compile now.Tor Lillqvist2000-07-2313-1275/+1293
|
* More work on GDK for Win32. Still in an intermediate state.Tor Lillqvist2000-07-2322-286/+744
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-23 Tor Lillqvist <tml@iki.fi> More work on GDK for Win32. Still in an intermediate state. * gdk/makefile.cygwin * gdk/win32/makefile.cygwin: Removed. * gdk/makefile.mingw.in * gdk/win32/makefile.mingw.in: New files. * gdk/Makefile.am * gdk/win32/Makefile.am: Generate and distribute them. * gdk/win32/gdkwindow-win32.h * gdk/win32/gdkdrawable-win32.h * gdk/win32/gdkpixmap-win32.h: New files. * gdk/win32/gdkcolor-win32.c * gdk/win32/gdkcursor-win32.c * gdk/win32/gdkgc-win32.c * gdk/win32/gdkimage-win32.c * gdk/win32/gdkprivate-win32.h * gdk/win32/gdkwin32.h: Update data structures. Cosmetics: don't use fields and variables called xcursor, xid, etc (leftovers from the X11 backend).
* Check for mkstemp and sigsetjmp. Output gdk-pixbuf/makefile.mingw andTor Lillqvist2000-07-228-1/+38
| | | | | | | 2000-07-23 Tor Lillqvist <tml@iki.fi> * configure.in: Check for mkstemp and sigsetjmp. Output gdk-pixbuf/makefile.mingw and gdk-pixbuf/pixops/makefile.mingw.
* Typos.Tor Lillqvist2000-07-221-8/+8
|
* Win32 build setup:Tor Lillqvist2000-07-2224-14/+438
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-23 Tor Lillqvist <tml@iki.fi> Win32 build setup: * makefile.mingw.in * pixops/makefile.mingw.in * pixbuf_*.def: New files. * Makefile.am * pixops/Makefile.am: Add them. Add rule to generate makefile.mingw. * gdk-pixbuf-io.c (gtk_win32_get_installation_directory): New function, to get the GTK+ installation directory from the Windows Registry, where the installation program for whatever software includes GTK+ has stored it. Used to avoid having hardcoding the directory where to look for loaders. This function is needed by gtk, too, so it should really be just in one place. Maybe a small static library one level up from here? * gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file) * gdk-pixbuf-io.c (gdk_pixbuf_new_from_file): Open file in binary mode. This *is* standard C. (No-op on Unix, of course.) * io-jpeg.c: If we don't HAVE_SIGSETJMP, use normal setjmp(). * io-tiff.c: Use g_get_tmp_dir(). If we don't HAVE_MKSTEMP, use mktemp() and open(). (gdk_pixbuf__tiff_image_stop_load): g_free() also the tempname. * pixops/*.S: The Gas from mingw32 doesn't like the .type pseudo-op. Conditionalise on __MINGW32__, but probably should conditionalise on Gas version instead? Or could we do without .type on all systems? * pixops/timescale.c: Use g_get_current_time() instead of gettimeofday().
* Fix some problems with vertical alignment.Owen Taylor2000-07-229-11/+84
| | | | | | | | | | Sat Jul 22 17:41:26 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtkentry.[ch]: Fix some problems with vertical alignment. * gtk/gtkentry.c (gtk_entry_find_position): Fix char/byte confusion.
* Fix bug where redraw wasn't being done properly when height of dirtyOwen Taylor2000-07-2211-6/+77
| | | | | | | | | | | | | Sat Jul 22 11:16:05 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtktextview.c (changed_handler): Fix bug where redraw wasn't being done properly when height of dirty region changed. * demos/Makefile.am: Remove various references to -lgmodule * Makefile.am (test_gdk_pixbuf_LDADD): Remove -lgmodule
* Use new PangoAttrShape to reserve space for pixmaps, add GSList *pixmapsOwen Taylor2000-07-2114-21/+314
| | | | | | | | | | | | | | | | | Fri Jul 21 15:28:13 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtktextlayout.[ch], gtk/gtktextdisplay.c: Use new PangoAttrShape to reserve space for pixmaps, add GSList *pixmaps to GtkTextLineDisplay, draw the pixmaps in the display functions. * gtk/testgtk.c (create_layout): Set some more exotic scrolled window options * gtk/gtkscrolledwindow.[ch] (gtk_scrolled_window_set_shadow_type): Add function to set the shadow type of a window, to allow putting a shadow around widgets such as GtkLayout or GnomeCanvas which don't draw their own frame.
* New file for packaging DocBook format tutorialBST 2000 Tony Gale2000-07-219-9/+157
| | | | | | | Fri Jul 21 16:34:42 BST 2000 Tony Gale <gale@gtk.org> * docs/tutorial/package-db-tutorial.sh: New file for packaging DocBook format tutorial
* Minor updatesBST 2000 Tony Gale2000-07-2114-203/+3052
| | | | | | | | Fri Jul 21 14:23:51 BST 2000 Tony Gale <gale@gtk.org> * docs/tutorial/gtk-tut.sgml: Minor updates * docs/tutorial/*.jpg *.eps: Screenshots for tutorial
* Fix C++ comment.Tor Lillqvist2000-07-2011-8/+79
| | | | | | | | | | | | 2000-07-19 Tor Lillqvist <tml@iki.fi> * gtk/gtksignal.c: Fix C++ comment. * gtk/gtkimmulticontext.c * gtk/gtktextbtree.c: Remove gccisms: Don't use __FUNCTION__, don't return value from void functions. * gtk/gtk.def: Add gtk_rc_style_unref.
* Include files outside of the extern "C" block. Makes some C++ compilerSebastian Wilhelmi2000-07-1923-50/+130
| | | | | | | | | | | | | | | | 2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdk-pixbuf/gdk-pixbuf.h, gtk/gtkhsv.h, gtk/gtktextbtree.h, gtk/gtktextbuffer.h, gtk/gtktextchild.h, gtk/gtktextdisplay.h, gtk/gtktextiter.h, gtk/gtktextiterprivate.h, gtk/gtktextlayout.h, gtk/gtktextmarkprivate.h, gtk/gtktextsegment.h, gtk/gtktexttag.h, gtk/gtktexttagtable.h, gtk/gtktexttypes.h, gtk/gtktextview.h, gtk/gtktypeutils.h: Include files outside of the extern "C" block. Makes some C++ compiler happy. Reported by Denis Vakatov <vakatov@peony.nlm.nih.gov>. I really hope not to have caused a merging nightmare for all the branches out there. Otherwise I'll be available for crucifixion.
* Yet more clean ups. Completes first pass. Hurrah!BST 2000 Tony Gale2000-07-198-823/+963
| | | | | | | Wed Jul 19 14:07:57 BST 2000 Tony Gale <gale@gtk.org> * docs/tutorial/gtk-tut.sgml: Yet more clean ups. Completes first pass. Hurrah!
* Updates to work with GTK+-2.0 theme engine architecture. It won't evenOwen Taylor2000-07-188-1161/+1334
| | | | | | | | | | | | | | | | | 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.
* More clean ups.BST 2000 Tony Gale2000-07-188-202/+262
| | | | | | Tue Jul 18 17:17:55 BST 2000 Tony Gale <gale@gtk.org> * docs/tutorial/gtk-tut.sgml: More clean ups.
* Restore code to paint the background of the text area which wasOwen Taylor2000-07-1714-376/+852
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Jul 17 18:52:38 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtkentry.c (gtk_entry_draw_text): Restore code to paint the background of the text area which was accidentally removed at some point. * gtk/gtkrc.[ch] gtk/gtkstyle.[ch] gtk/gtkthemes.[ch]: - Move most of the functionality from the theme vtable into GtkRcStyleClass and GtkStyleClass. The moved vtable functions were changed a bit in the move to work better in their new home. - Get rid of the engine and engine_data fields from GtkRcStyle and GtkStyle; instead the theme engine derives theme-specific subclasses of GtkRcStyle and GtkStyle - Add extra dlsym() found entry point to themes, theme_create_rc_style(). * gtk/gtkstyle.c: Copy xthickness, ythickness fields in gtk_style_real_copy. * gtk/themes.[ch]: add a function gtk_theme_engine_register_type() to register a type associated with an engine. (The engine won't be unloaded as there is an instance of the type.)
* Clean ups.BST 2000 Tony Gale2000-07-178-1944/+1985
| | | | | | Mon Jul 17 18:19:06 BST 2000 Tony Gale <gale@gtk.org> * docs/tutorial/gtk-tut.sgml: Clean ups.
* Initial DocBook version. Lots of cleaning up to do.BST 2000 Tony Gale2000-07-178-0/+19399
| | | | | | | Mon Jul 17 13:59:29 BST 2000 Tony Gale <gale@dera.gov.uk> * docs/tutorial/gtk-tut.sgml: Initial DocBook version. Lots of cleaning up to do.
* New file, quick hack to test backends for pixel-by-pixel correctness ofTor Lillqvist2000-07-158-0/+943
| | | | | | | 2000-07-15 Tor Lillqvist <tml@iki.fi> * gdk/testgdk.c: New file, quick hack to test backends for pixel-by-pixel correctness of the most simple graphic operations.
* Really release 1.3.1GTK_1_3_1Owen Taylor2000-07-1510-57/+106
| | | | | | | | | Fri Jul 14 20:30:25 2000 Owen Taylor <otaylor@redhat.com> * Really release 1.3.1 * gtk-config-2.0.in gtk-2.0.m4: Fix up to correspond to new include structure.
* Released 1.3.1Owen Taylor2000-07-1440-99/+127
| | | | | | Fri Jul 14 18:40:39 2000 Owen Taylor <otaylor@redhat.com> * Released 1.3.1
* include <string.h>.Owen Taylor2000-07-142-0/+4
| | | | | | | Sun Jul 9 21:31:23 2000 Owen Taylor <otaylor@redhat.com> * gdk/gdk-pixbuf.c gtk/gdk-pixbuf-loader.c gtk/gtktextview.c: include <string.h>.
* use FALSE for size_only most of the time when callingOwen Taylor2000-07-1414-14/+212
| | | | | | | | | | | | | | | | | | | | | | | | | Fri Jul 14 16:21:26 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtktextlayout.c: use FALSE for size_only most of the time when calling gtk_text_layout_get_line_display() to avoid causing double reshapes when a redraw follows immediately after. Tue Jul 11 11:13:40 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtkrange.c (gtk_range_default_[hv]slider_update): Invalidate appropriate region and gdk_window_process_updates() so trough updating doesn't lag behind the window being scrolled. * gdk/gdkgc.c: Make parent_class pointer static. Sun Jul 9 21:31:23 2000 Owen Taylor <otaylor@redhat.com> * gdk/gdk-pixbuf.c gtk/gdk-pixbuf-loader.c gtk/gtktextview.c: include <string.h>. * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): Fix cut-and-paste error in computing memory offset for 4 channels.
* Remove gtk_rc_append_default_pixmap_path(), since it wasn't adding anOwen Taylor2000-07-148-36/+56
| | | | | | | | | Fri Jul 14 14:05:02 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtkrc.c (gtk_rc_parse_pixmap_path_string): Remove gtk_rc_append_default_pixmap_path(), since it wasn't adding an interesting path and we don't have a meaningful default for this value.
* Move gtk-config to gtk-config-2.0 move gtk_.m4 to gtk-2.0.m4Owen Taylor2000-07-1456-798/+1298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fri Jul 14 12:22:49 2000 Owen Taylor <otaylor@redhat.com> * configure.in Makefile.am gtk-config.m4 gtk.m4: Move gtk-config to gtk-config-2.0 move gtk_.m4 to gtk-2.0.m4 * Makefile.am gtk/Makefile.am gdk-pixbuf/Makefile.am gdk/Makefile.am demos/Makefile.am: Change library names to libgtk-1.3.la, etc, so that we can distinguish gtk-1.2 and gtk-2.0 on the linkline. * Makefile.am gtk/Makefile.am gdk-pixbuf/Makefile.am gdk/Makefile.am gdk/x11/Makfile.am Move include files into /usr/include/gtk-2.0, /usr/lib/gtk-2.0/include/ * autogen.sh acconfig.h configure.in gtk/gtkmain.c gtk/gtkintl.h: Change package for gettext from gtk+ to gtk20. Put hack in autogen.sh to modify po/Makefile.in.in after gettextize to make this possible. * gtk+.spec: Some updates, not tested. * gdk-pixbuf/Makefile.am: Move loaders into $(libdir)/gtk-2.0/$(GTK_VERSION)/loaders. * gtk/Makefile.am gtk/gtkrc.c: Move RC file locations $(sysconfdir)/gtk-2.0 ~/.gtkrc-2.0; theme subdir to THEMENAME/gtk-2.0/. Move engine directory to $(libdir)/gtk-2.0/$(GTK_VERSION)/engines.
* Updated russian translation.Valek Frob2000-07-142-15/+25
|
* Added gtkcolorseldialog.c Updated Norwegian translation.Kjartan Maraas2000-07-133-200/+32
| | | | | | | 2000-07-12 Kjartan Maraas <kmaraas@gnome.org> * POTFILES.in: Added gtkcolorseldialog.c * no.po: Updated Norwegian translation.
* de.po: Updated German translationBenedikt Roth2000-07-123-25/+26
| | | | nl.po: Updated Dutch translation from Dennis Smit <synap@area101.penguin.nl>
* updated pt_BR translationsJorge Godoy2000-07-121-121/+121
|
* gdk/win32/gdkcolor-win32.c gdk/win32/gdkprivate-win32.h Changes to makeTor Lillqvist2000-07-1111-105/+223
| | | | | | | | | | 2000-07-12 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkcc-win32.c: * gdk/win32/gdkcolor-win32.c * gdk/win32/gdkprivate-win32.h * gdk/win32/gdkwin32.h: Changes to make compilable, with new GDK object structure.
* Win32 changes, still doesn't build though.Tor Lillqvist2000-07-1118-129/+279
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-12 Tor Lillqvist <tml@iki.fi> Win32 changes, still doesn't build though. * gdk/makefile.cygwin * gdk/win32/makefile.cygwin * gtk/makefile.cygwin: Updates. * gdk/win32/gdkgc-win32.c (_gdk_win32_gc_new): Use the same default values for fg and bg pixel as X11 does (0 and 1), not black and white. Use PS_ENDCAP_FLAT and PS_JOIN_MITER by default. Use 0 for pen width by default (treated as 1 anyway later, but for apps that might check the value in the GdkGC). (gdk_win32_hdc_get, gdk_win32_hdc_release): New functions, public interface to gdk_gc_predraw and _postdraw. * gdk/win32/gdkwin32.h * gdk/gdk.def: Add gdk_win32_hdc_{get,release}. * gdk/win32/gdkcolor-win32.c (gdk_colormap_alloc1): Remove extraneous semicolon. * gdk/win32/gdkdrawable-win32.c: Check also for pen_width == 0. * gdk/win32/gdkimage-win32.c (gdk_image_new): Use the visual's depth, not the Win32 bitspixel value.
* scratched notion of completely outdated email adress:Tim Janik2000-07-1111-7/+63
| | | | | | | | | | Tue Jul 11 20:59:35 2000 Tim Janik <timj@gtk.org> * docs/tutorial/gtk_tut_12.es.sgml (name): * docs/tutorial/gtk_tut_it.sgml (name): * docs/tutorial/gtk_tut_fr.sgml (name): * docs/tutorial/gtk_tut.sgml (name): scratched notion of completely outdated email adress: s/timj@psynet.net/timj@gtk.org/.
* Cleanup indenting and various small changes.BST 2000 Tony Gale2000-07-118-1796/+2050
| | | | | | | Tue Jul 11 13:10:57 BST 2000 Tony Gale <gale@gtk.org> * docs/faq/gtk-faq.sgml: Cleanup indenting and various small changes.
* eek, i've never seen a bug here, never been here and never fixed anythingTim Janik2000-07-118-0/+55
| | | | | | | | | Tue Jul 11 08:04:58 2000 Tim Janik <timj@gtk.org> * gtk/gtktree.c (gtk_real_tree_select_child): eek, i've never seen a bug here, never been here and never fixed anything ;( (don't segfault if tree->root_tree is NULL, which happens prior to widget realization, but puke instead).
* add xthickness and ythickness to GtkRcStyle and add the necessary tokens.Tim Janik2000-07-1126-74/+422
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tue Jul 11 06:38:42 2000 Tim Janik <timj@gtk.org> * gtk/gtkrc.h: add xthickness and ythickness to GtkRcStyle and add the necessary tokens. * gtk/gtkrc.c (gtk_rc_style_init): properly initiality the rc style. (gtk_rc_style_to_style): copy thicknesses. (gtk_rc_init_style): apply thicknesses. (gtk_rc_parse_style): parse xthickness and ythickness. * gdk/x11/gdkdnd-x11.c: silence compiler in switch() statements. * gdk/x11/gdkwindow-x11.c (gdk_window_foreign_new): (gdk_window_new): (_gdk_windowing_window_init): * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_foreign_new): (gdk_pixmap_create_from_data): (gdk_bitmap_create_from_data): (gdk_pixmap_new): * gdk/x11/gdkimage-x11.c (gdk_image_get): (gdk_image_new): * gdk/x11/gdkgc-x11.c (_gdk_x11_gc_new): * gdk/x11/gdkdnd-x11.c (gdk_drag_context_new): * gdk/x11/gdkcolor-x11.c (gdkx_colormap_get): (gdk_colormap_get_system): (gdk_colormap_new): * gdk/gdkwindow.c (gdk_window_init): * gtk/gtkstyle.c (gtk_style_new): * gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_frame_done): * gdk/gdkpixmap.c (gdk_pixmap_init): * gtk/gtkrc.c (gtk_rc_style_new): use g_object_new() instead of g_type_create_instance() which is a private function for fundamental type implementations. Tue Jul 11 06:20:14 2000 Tim Janik <timj@gtk.org> * io-gif.c (gdk_pixbuf__gif_image_load_animation): * gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): * gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file): use g_object_new() instead of g_type_create_instance() which is a private function for fundamental type implementations.
* Updated Galician translationJesus Bravo Alvarez2000-07-102-30/+32
|
* Add -Wall for gcc.PIXBUF_ENGINE_GTK_1_2Owen Taylor2000-07-094-52/+84
| | | | | | | | | | | | 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.
* s/Liebl/Lebl/ :)George Lebl2000-07-077-14/+14
|
* Add check for db2htmlOwen Taylor2000-07-0652-9736/+8433
| | | | | | | | | | | | | | | | | | | Thu Jul 6 16:12:14 2000 Owen Taylor <otaylor@redhat.com> * configure.in: Add check for db2html Thu Jul 6 14:53:05 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtktypeutils.c (gtk_type_init): Add a temporary hack to set glib_debug_objects based on gtk_debug_flags. Thu Jul 6 14:12:13 2000 Owen Taylor <otaylor@redhat.com> * INSTALL.in: Update the Prerequisites section. * Makefile.am demos/Makefile.am docs/Makefile.am docs/tutorial/Makefile.am gdk/x11/Makefile.am gdk/linux-fb/Makefile.am: Dist fixes
* 10,000 foot view of 1.3.1 changes.Owen Taylor2000-07-068-0/+69
| | | | | | Thu Jul 6 12:26:03 2000 Owen Taylor <otaylor@redhat.com> * NEWS: 10,000 foot view of 1.3.1 changes.
* Patch from George Liebl to add a GdkGrabStatus enumeration to use as aOwen Taylor2000-07-0616-51/+156
| | | | | | | | | | | | | Thu Jul 6 11:54:03 2000 Owen Taylor <otaylor@redhat.com> * gdk/gdk.h gdk/gdktypes.h gdk/linux-fb/gdkmain-fb.c gdk/nanox/gdkmain-nanox.c gdk/win32/gdkevents-win32.c gdk/win32/gdkinput-win32.c gdk/win32/gdkwin32.h gdk/x11/gdkmain-x11.c: Patch from George Liebl to add a GdkGrabStatus enumeration to use as a return value of gdk_*_grab(). Previously, we just returned the X11 values directly.
* Patch from George Liebl to install all the headers in the right place.Owen Taylor2000-07-068-6/+41
| | | | | | | Thu Jul 6 11:27:44 2000 Owen Taylor <otaylor@redhat.com> * gdk/x11/Makefile.am: Patch from George Liebl to install all the headers in the right place.
* Use GTK+ version soname scheme for gdk-pixbuf.Owen Taylor2000-07-062-1/+9
| | | | | | | Thu Jul 6 11:49:47 2000 Owen Taylor <otaylor@redhat.com> * Makefile.am (libgdk_pixbuf_la_LDFLAGS): Use GTK+ version soname scheme for gdk-pixbuf.
* Add remaining sections. Completes initial conversion to DocBook.BST 2000 Tony Gale2000-07-048-0/+523
| | | | | | | Tue Jul 4 13:13:01 BST 2000 Tony Gale <gale@gtk.org> * docs/faq/gtk-faq.sgml: Add remaining sections. Completes initial conversion to DocBook.
* Updated russian translation.Valek Frob2000-07-042-42/+50
|
* Improve a bit.Tor Lillqvist2000-07-048-42/+56
| | | | | | 2000-07-04 Tor Lillqvist <tml@iki.fi> * README.win32: Improve a bit.
* Handle also WM_SYSCHAR, and other changes to get handling of Alt+nnn orTor Lillqvist2000-07-0412-91/+364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-07-04 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle also WM_SYSCHAR, and other changes to get handling of Alt+nnn or Alt+0nnn on the numpad (used to enter characters by numeric code from current DOS or ANSI codepage) working correctly, as in other Windows apps. * gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Use same argument validity tests as in X11 version. (_gdk_cursor_destroy): Use DestroyCursor, not DestroyIcon. * gdk/win32/gdkwin32.h: Add also WM_MOUSEWHEEL and CopyCursor definitions in case missing from headers. * gdk/win32/gdkwindow-win32.c (gdk_win32_window_destroy): ALso destroy the window-specific cursor. (RegisterGdkClass): Use the global gdk_ProgInstance instead of calling GetModuleHandle(NULL). (gdk_window_set_cursor): Reworked to always copy the passed cursor with CopyCursor before setting it. It is OK for the caller to destroy the GdkCursor (and thus also the Windows cursor) after calling this function. Also, destroy any previous cursor for this window. 2000-05-29 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdkevents-win32.c (gdk_WindowProc): The local "event" variable should be of type GdkEventPrivate.