1. 29 Jun, 2010 2 commits
  2. 26 Jun, 2010 1 commit
  3. 24 Jun, 2010 1 commit
  4. 19 Jun, 2010 1 commit
  5. 04 Apr, 2010 2 commits
  6. 19 Feb, 2010 1 commit
  7. 16 Dec, 2009 1 commit
  8. 06 Nov, 2009 1 commit
  9. 25 Aug, 2009 2 commits
    • Alexander Larsson's avatar
      Clean up gdk_draw_drawable() composite handling · c2546c85
      Alexander Larsson authored
      Instead of doing some magic in gdk_draw_drawable() to avoid double
      offsetting when calling gdk_draw_drawable on the impl we call
      the vfunc directly on the impl. Thus removing the weird magic from
      gdk_draw_drawable().
      
      I tested this with the testgtk test "text", where if the original magic
      code is disabled typing a newline in the middle of a text line causes
      the double offset issue to appear.
      c2546c85
    • Alexander Larsson's avatar
      Fix clipping of drawn pixbufs in the no-render case · 0ad0646d
      Alexander Larsson authored
      The fallback pixbuf rendering case ends up calling gdk_draw_image() on the
      destination drawable wrapper, which resets the previously set clip region.
      So, we need to manually get the impl and draw on that directly.
      
      This fixes bug 592752 where we don't clip pixbuf rendering on non-render
      Xservers.
      0ad0646d
  10. 11 Aug, 2009 1 commit
    • Alexander Larsson's avatar
      Implement fallback for old draw_drawable vfunc · 60fa0da9
      Alexander Larsson authored
      GdkDrawable->draw_drawback was replaced with a new vfunc
      draw_drawback_with_src that is now called from gdk_draw_drawable.
      However, some code seems to call the vfunc directly (see bug #591288),
      so make it chain to the new call.
      
      Note that such direct vfunc calls are a bad idea and won't work for all
      cases.
      60fa0da9
  11. 23 Jul, 2009 1 commit
    • Alexander Larsson's avatar
      Fix clipping of pixbuf drawing to windows · 9d69355e
      Alexander Larsson authored
      When the fallback for gdk_draw_pixbuf (gdk_drawable_real_draw_pixbuf)
      is called with a window destination we have already applied any clip
      regions and offsets for the window, but the window we get is a wrapper
      and not an impl. We have to ensure we really draw to the impl, as
      otherwise the pixbuf drawing will be clipped by client side subwindows.
      
      This fixes bug 588553.
      9d69355e
  12. 07 Jul, 2009 1 commit
    • Alexander Larsson's avatar
      Make clipmasks work for pixbuf rendering · 2678a454
      Alexander Larsson authored
      This is more important in the client side windows world, as clip masks
      may be used for clipping to non-native subwindows. This fixes a bug
      in aisleriot where it uses masked pixbuf drawing and it ends up drawing
      over the moving card subwindow.
      2678a454
  13. 06 Jul, 2009 1 commit
  14. 01 Jul, 2009 2 commits
  15. 27 May, 2009 1 commit
  16. 02 Apr, 2009 5 commits
  17. 21 Oct, 2008 1 commit
    • Michael Natterer's avatar
      gdk/gdkdraw.c gdk/gdkimage.c gdk/gdkscreen.c replace assertions for obj != · 6df89b0a
      Michael Natterer authored
      2008-10-21  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdkdraw.c
      	* gdk/gdkimage.c
      	* gdk/gdkscreen.c
      	* gdk/gdkwindow.c: replace assertions for obj != NULL by
      	GDK_IS_OBJ(), remove redundant != NULL checks when there is
      	already a type check, add some g_return_if_fail() that were
      	missing entirely, fix some broken indentation and spacing.
      
      
      svn path=/trunk/; revision=21695
      6df89b0a
  18. 01 Jul, 2008 1 commit
  19. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
      
              * Practically everything changed.
      
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      
      
      svn path=/trunk/; revision=20709
      fce9c8b7
  20. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      d97cdbdf
  21. 15 Jan, 2008 1 commit
    • Michael Natterer's avatar
      gdk/gdkdisplay.h gdk/gdkdrawable.h gdk/gdkevents.h gdk/gdkpango.h · 8243e3d4
      Michael Natterer authored
      2008-01-15  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdkdisplay.h
      	* gdk/gdkdrawable.h
      	* gdk/gdkevents.h
      	* gdk/gdkpango.h
      	* gdk/gdkregion.h
      	* gdk/gdkrgb.h
      	* gdk/gdkwindow.h: made more struct pointer and array parameters
      	const. GDK should now be constified as far as possible without
      	breaking source compatibility. Includes some minor cleanup like
      	indentation and s/nfoo/n_foo/ (bug #508544).
      
      	* gdk/gdkdisplay.c
      	* gdk/gdkdraw.c
      	* gdk/gdkevents.c
      	* gdk/gdkpango.c
      	* gdk/gdkregion-generic.c
      	* gdk/gdkrgb.c
      	* gdk/directfb/gdkdisplay-directfb.c
      	* gdk/directfb/gdkwindow-directfb.c
      	* gdk/quartz/gdkdisplay-quartz.c
      	* gdk/quartz/gdkwindow-quartz.c
      	* gdk/win32/gdkdisplay-win32.c
      	* gdk/win32/gdkwindow-win32.c
      	* gdk/x11/gdkdisplay-x11.c
      	* gdk/x11/gdkwindow-x11.c: changed accordingly.
      
      
      svn path=/trunk/; revision=19372
      8243e3d4
  22. 16 May, 2007 1 commit
    • Brian Cameron's avatar
      Add Sun mediaLib support so that hardware acceleration via mediaLib is · 94dcec33
      Brian Cameron authored
      2007-05-16  Brian Cameron  <brian.cameron@sun.com>
      
              * acconfig.h, configure.in, gdk/Makefile.am, gdkprivate.h, gdkrgb.c,
                gdkdraw.c, gdk-pixbuf/gdk-pixbuf-scale.c,
                gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/pixops/pixops.[ch],
                gdk-pixbuf/pixops/timescale.c:  Add Sun mediaLib support so that
                hardware acceleration via mediaLib is enabled if mediaLib is
                detected via configure.  Enhancement request #344813.  I was given
                permission to commit in the bug report by Matthias Clasen.
              * gdk/medialib.[ch]: New files added for mediaLib support.
              * docs/reference/gdk-pixbuf/tmpl/scaling.sgml,
                docs/reference/gdk/tmpl/rgb.sgml, gdk/gdkdraw.c:  Add docs for
                mediaLib support.
      
      svn path=/trunk/; revision=17855
      94dcec33
  23. 12 May, 2007 1 commit
  24. 10 May, 2007 1 commit
  25. 14 May, 2006 1 commit
  26. 04 Apr, 2006 1 commit
    • Matthias Clasen's avatar
      Use G_DEFINE_TYPE. · 10f0736a
      Matthias Clasen authored
      2006-04-04  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkdisplay.c:
      	* gdk/gdkdisplaymanager.c:
      	* gdk/gdkdraw.c:
      	* gdk/gdkkeys.c:
      	* gdk/gdkpixmap.c:
      	* gdk/gdkscreen.c:
      	* gdk/gdkwindow.c:
      	* gdk/x11/gdkcolor-x11.c:
      	* gdk/x11/gdkdisplay-x11.c:
      	* gdk/x11/gdkdnd-x11.c:
      	* gdk/x11/gdkdrawable-x11.c:
      	* gdk/x11/gdkgc-x11.c:
      	* gdk/x11/gdkimage-x11.c:
      	* gdk/x11/gdkinput.c:
      	* gdk/x11/gdkpixmap-x11.c:
      	* gdk/x11/gdkscreen-x11.c:
      	* gdk/x11/gdkwindow-x11.c: Use G_DEFINE_TYPE.
      
      	* gdk/x11/gdkcolor-x11.c:
      	* gdk/x11/gdkdnd-x11.c:
      	* gdk/x11/gdkimage-x11.c: Use instance private data.
      10f0736a
  27. 20 Feb, 2006 1 commit
  28. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names before registering the type to avoid unnecessary copies. · 476e138d
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_get_type):
      	* gdk/x11/gdkscreen-x11.c (_gdk_screen_x11_get_type):
      	* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_impl_x11_get_type):
      	* gdk/x11/gdkkeys-x11.c (gdk_keymap_x11_get_type):
      	* gdk/x11/gdkinput.c (gdk_device_get_type):
      	* gdk/x11/gdkimage-x11.c (gdk_image_get_type):
      	* gdk/x11/gdkgc-x11.c (_gdk_gc_x11_get_type):
      	* gdk/x11/gdkdrawable-x11.c (_gdk_drawable_impl_x11_get_type):
      	* gdk/x11/gdkdnd-x11.c (gdk_drag_context_get_type):
      	* gdk/x11/gdkdisplay-x11.c (_gdk_display_x11_get_type):
      	* gdk/x11/gdkcolor-x11.c (gdk_colormap_get_type):
      	* gdk/gdkwindow.c (gdk_window_object_get_type):
      	* gdk/gdkscreen.c (gdk_screen_get_type):
      	* gdk/gdkrectangle.c (gdk_rectangle_get_type):
      	* gdk/gdkpixmap.c (gdk_pixmap_get_type):
      	* gdk/gdkkeys.c (gdk_keymap_get_type):
      	* gdk/gdkfont.c (gdk_font_get_type):
      	* gdk/gdkevents.c (gdk_event_get_type):
      	* gdk/gdkdraw.c (gdk_drawable_get_type):
      	* gdk/gdkdisplaymanager.c (gdk_display_manager_get_type):
      	* gdk/gdkdisplay.c (gdk_display_get_type):
      	* gdk/gdkcursor.c (gdk_cursor_get_type):
      	* gdk/gdkcolor.c (gdk_color_get_type): Intern type names before
      	registering the type to avoid unnecessary copies.
      476e138d
  29. 15 Jul, 2005 1 commit
  30. 14 May, 2005 1 commit
    • Manish Singh's avatar
      gdk/gdkdraw.c #include gdkcairo.h for gdk_cairo_create() declaration. · 4849c705
      Manish Singh authored
      Sat May 14 00:07:46 2005  Manish Singh  <yosh@gimp.org>
      
              * gdk/gdkdraw.c
              * gdk/gdkpango.c: #include gdkcairo.h for gdk_cairo_create()
              declaration.
      
              * gtk/gtkiconview.c (gtk_icon_view_create_drag_icon): actually
              call gdk_cairo_set_source_color() with a color.
      
              * gtk/gtkimage.c (gtk_image_expose): remove unused stock_id variable.
      
              * tests/testiconview.c (main): cast args of drag functions to the
              appropriate type.
      4849c705
  31. 11 May, 2005 1 commit
    • Owen Taylor's avatar
      Use a GtkAlignment rather than a GtkDrawingArea to draw the swatch in to · dda40ca7
      Owen Taylor authored
      2005-05-11  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcolorbutton.c: Use a GtkAlignment rather than a GtkDrawingArea
      	to draw the swatch in to avoid having an extraneous window.
      
      	* gtk/gtkcolorsel.c (color_sample_draw_sample): Actually se tthe
      	color when !has_opacity.
      
      2005-05-10  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkcairo.[ch] gdk/gdkcolor.[ch] gdk/Makefile.am: Add source
      	files for Cairo convenience functionality.
      
      	* gdk/gdkcairo.h (gdk_cairo_rectangle, gdk_cairo_region): Add a
      	convenience functions to add GdkRectangle, GdkRegion to a cairo path.
      
      	* gdk/gdkwindow.c gdk/gdkgc.c gtk/gtkcolorsel.c gtk/gtkiconview.c
      	gtk/gtkstyle.c: Use gdk_cairo_rectangle/region().
      
      	* gdk/gdkcairo.[ch] gdk/gdkdrawable.h gdk/gdkdraw.c: Rename
      	gdk_drawable_create_cairo_context() to gdk_cairo_create().
      
      	* gdk/gdkcairo.c gdk/gdkpixbuf.h gdk/gdkpixbuf-render.c:
      	Rename gdk_pixbuf_set_as_cairo_source() to
      	gdk_cairo_set_source_pixbuf().
      
      	* gdk/gdkdraw.c gdk/gdkpango.c gtk/gtkcolorsel.c gtk/gtkhruler.c
      	gtk/gtkhsv.c gtk/gtkiconview.c gtk/gtkstyle.c gtk/gtkvruler.c:
      	Adjust for renames.
      
      	* gdk/gdk.symbols: Update.
      
      	* gtk/gtkwidget.c (gtk_widget_queue_shallow_draw): Fix
      	coordinate system problem that was causing the wrong portions
      	to be invalidated.
      
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_render)
      	gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render)
      	gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_render)
      	gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render)
      	gtk/gtkcellview.c (gtk_cell_view_expose)
      	gtk/gtkdnd.c (gtk_drag_highlight_expose)
      	gtk/gtkentry.c (gtk_entry_draw_text)
      	gtk/gtktextview.c (text_window_invalidate_rect): Some cairoization.
      
      	* gtk/gtkcalendar.[ch]: Beat into something roughly resembling
      	GTK+ style ... use instance-private data and standard names for
      	private structure, etc. Move function docs inline.
      
      	* gtk/gtkcalendar.[ch]: Switch to drawing everything in
      	expose. Switch drawing to Cairo.
      
      	* gtk/gtkcalendar.c (gtk_calendar_freeze): Deprecate
      	gtk_calendar_freeze/thaw
      dda40ca7
  32. 08 May, 2005 1 commit
    • Matthias Clasen's avatar
      Small documentation additions. · ba20420e
      Matthias Clasen authored
      2005-05-08  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkcolor.c (gdk_cairo_set_source_color):
      	* gdk/gdkimage.h:
      	* gdk/gdkdraw.c:
      	* gdk/gdkcolor.h:
      	* gdk/gdkcursor.h:
      	* gdk/x11/gdkcolor-x11.c: Small documentation additions.
      ba20420e