1. 28 Oct, 2014 1 commit
  2. 12 Jun, 2014 1 commit
    • Matthias Clasen's avatar
      Drop GDK_MULTIHEAD_SAFE · 5334fb89
      Matthias Clasen authored
      We don't support multiple screens anymore, so there is no need
      for marking API as multihead safe any longer.
      5334fb89
  3. 04 Feb, 2014 1 commit
  4. 07 Aug, 2013 2 commits
    • Alexander Larsson's avatar
      gdk: Add gdk_cursor_new_from_surface · b2113b73
      Alexander Larsson authored
      We need this to be able to handle scaled cursor images.
      We implement the new _from_pixbuf by converting to a surface and
      assuming the scale was 1.
      b2113b73
    • Alexander Larsson's avatar
      gdk: Add gdk_cursor_get_surface() · 71fe4354
      Alexander Larsson authored
      We want a surface so we can properly represent the scale factor for it.
      All backends are converted to use surfaces and we reimplement the
      backwards compat code in the generic code.
      71fe4354
  5. 05 May, 2013 1 commit
  6. 28 Dec, 2012 1 commit
  7. 27 Feb, 2012 2 commits
  8. 10 Nov, 2011 1 commit
  9. 11 Oct, 2011 1 commit
  10. 09 Oct, 2011 1 commit
  11. 24 Dec, 2010 1 commit
  12. 21 Dec, 2010 3 commits
  13. 16 Nov, 2010 1 commit
  14. 15 Nov, 2010 1 commit
  15. 26 Sep, 2010 1 commit
  16. 25 Jul, 2010 1 commit
  17. 25 May, 2010 1 commit
    • Matthias Clasen's avatar
      Seal gdk · 50a72eda
      Matthias Clasen authored
      Add G_SEAL annotation for struct members, and add accessors for
      the (useful) fields. Patch based on work by Garrett Regier,
      see bug #592580.
      50a72eda
  18. 02 May, 2010 2 commits
  19. 20 Jan, 2009 1 commit
    • Matthias Clasen's avatar
      Cache cursors to avoid libXcursor theme lookup overhead. · 1cba7387
      Matthias Clasen authored
              Patch by David Alan Gilbert.
      
              * gdk/gdkcursor.h: Add a GDK_BLANK_CURSOR cursor type.
      
              * gdk/x11/gdkcursor-x11.c: Cache font cursors and named cursors.
      
              * gdk/x11/gdkprivate-x11.h:
              * gdk/x11/gdkcdisplay-x11.c: Remove cached cursors when a
              display if finalized.
      
      
      svn path=/trunk/; revision=22145
      1cba7387
  20. 01 Jul, 2008 1 commit
  21. 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
  22. 28 May, 2008 1 commit
    • Michael Natterer's avatar
      define __GDK_H_INSIDE__ around including all other headers. · 791ac426
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
      	headers.
      
      	* gdk/gdkenumtypes.h.template
      	* gdk/gdk*.h: add single-include guards that #error out if
      	GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
      	included individually. Also removed some redundant includes and
      	did some tiny trailing whitespace removal that's not worth to
      	commit separately.
      
      	* gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
      	files.
      
      	* gdk/win32/gdkwin32.h
      	* gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
      	other includes.
      
      
      svn path=/trunk/; revision=20217
      791ac426
  23. 12 Jul, 2005 1 commit
  24. 18 Jun, 2005 1 commit
  25. 17 Jun, 2005 1 commit
  26. 14 Jun, 2005 1 commit
  27. 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
  28. 28 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Mark as const. · fdec8714
      Matthias Clasen authored
      2004-11-28  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdkvisual.h (gdk_visual_get_type):
      	* gdk/gdkscreen.h (gdk_screen_get_type):
      	* gdk/gdkinput.h (gdk_device_get_type):
      	* gdk/gdk.h (gdk_rectangle_get_type):
      	* gdk/gdkfont.h (gdk_font_get_type):
      	* gdk/gdkevents.h (gdk_event_get_type):
      	* gdk/gdkdrawable.h (gdk_drawable_get_type):
      	* gdk/gdkdisplay.h (gdk_display_get_type):
      	* gdk/gdkcursor.h (gdk_cursor_get_type):
      	* gdk/gdkcolor.h (gdk_color_get_type): Mark as const.
      
      	* gdk/gdk.symbols:
      	* gdk/Makefile.am (stamp-gdkenumtypes.h): Mark get_type() functions
      	generated by glib-mkenums as const.
      fdec8714
  29. 26 Jan, 2004 1 commit
    • Federico Mena Quintero's avatar
      Fix #105497; constify uses of GdkColor. · 5ebb6b04
      Federico Mena Quintero authored
      2004-01-26  Federico Mena Quintero  <federico@ximian.com>
      
      	Fix #105497; constify uses of GdkColor.
      
      	* gdk/gdkgc.c (gdk_gc_set_rgb_fg_color): Constify.
      	(gdk_gc_set_rgb_bg_color): Constify.
      	(gdk_gc_set_foreground): Constify.
      
      	* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): Constify.
      	* gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Constify.
      	* gdk/linux-fb/gdkcursor-fb.c (gdk_cursor_new_from_pixmap): Constify.
      
      	* gdk/x11/gdkpixmap-x11.c (gdk_pixmap_create_from_data): Constify.
      	* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_create_from_data): Constify.
      	* gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_create_from_data): Constify.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_background): Constify.
      	* gdk/win32/gdkwindow-win32.c (gdk_window_set_background): Constify.
      	* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_background): Constify.
      
      	* gdk/gdkpango.c (gdk_draw_layout_line_with_colors): Constify.
      	(gdk_draw_layout_with_colors): Constify.
      
      	* gdk/gdkpixmap.c (gdk_pixmap_colormap_new_from_pixbuf): Constify.
      	(gdk_pixmap_colormap_create_from_xpm): Constify.
      	(gdk_pixmap_create_from_xpm): Constify.
      	(gdk_pixmap_colormap_create_from_xpm_d): Constify.
      	(gdk_pixmap_create_from_xpm_d): Constify.
      
      	* gtk/gtkcellview.c (gtk_cell_view_set_background_color): Constify.
      
      	* gtk/gtkclist.c (gtk_clist_set_foreground): Constify.
      	(gtk_clist_set_background): Constify.
      
      	* gtk/gtkcolorbutton.c (gtk_color_button_new_with_color): Constify.
      	(gtk_color_button_set_color): Constify.
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_set_current_color):
      	Constify and add a check for color != NULL.
      	(gtk_color_selection_get_current_color): Add a check for color != NULL.
      	(gtk_color_selection_set_previous_color): Constify and add a check
      	for color != NULL.
      	(gtk_color_selection_get_previous_color): Add a check for color != NULL.
      
      	* gtk/gtkctree.c (gtk_ctree_node_set_foreground): Constify.
      	(gtk_ctree_node_set_background): Constify.
      
      	* gtk/gtktext.c (gtk_text_insert): Constify.
      	(insert_text_property): Constify.
      	(text_properties_equal): Constify.
      	(new_text_property): Constify.
      
      	* gtk/gtkwidget.c (gtk_widget_modify_color_component): Constify.
      	(gtk_widget_modify_fg): Constify.
      	(gtk_widget_modify_bg): Constify.
      	(gtk_widget_modify_text): Constify.
      	(gtk_widget_modify_base): Constify.
      5ebb6b04
  30. 30 Jun, 2003 1 commit
    • Matthias Clasen's avatar
      Check for Xcursor. · eb7135ad
      Matthias Clasen authored
      2003-07-01  Matthias Clasen  <maclas@gmx.de>
      
      	* configure.in: Check for Xcursor.
      
      	* gdk/x11/gdkcursor-x11.c:
      	* gdk/gdkdisplay.h:
      	* gdk/gdkcursor.h: RGBA cursor support based on Xcursor. New functions:
      	gdk_cursor_new_from_pixbuf(), gdk_display_supports_cursor_alpha(),
      	gdk_display_supports_cursor_color(), gdk_display_get_default_cursor_size() and
      	gdk_display_get_maximal_cursor_size().  (#69436)
      eb7135ad
  31. 18 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Replace gdk_cursor_new_for_screen() with gdk_cursor_new_for_display(). · 621fb746
      Owen Taylor authored
      Tue Jun 18 14:41:48 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkcursor.[ch] gdk/x11/gdkcursor-x11.c
              gdk/x11/gdkprivate-x11.h gdk/win32/gdkcursor-win32.c: Replace
              gdk_cursor_new_for_screen() with gdk_cursor_new_for_display().
              (#85671)
      
              * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcurve.c gtk/gtkdnd.c
              gtk/gtkentry.c gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtklabel.c
              gtk/gtkpaned.c gtk/gtktext.c gtk/gtktextview.c
              gtk/gtktipsquery.c gtk/gtktreeviewcolumn.c:
              Adapt to above change.
      621fb746
  32. 25 Apr, 2002 1 commit
    • Owen Taylor's avatar
      Start of integration of Erwann Chenede's multihead work from the · 425b9886
      Owen Taylor authored
      Thu Apr 25 16:51:40 2002  Owen Taylor  <otaylor@redhat.com>
      
              Start of integration of Erwann Chenede's multihead work
              from the gtk-multihead branch.
      
              * gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]
              gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkscreen-x11.[ch]
              New classes representing a set of screens with attached
              input devices and a single contiguous area, respectively.
      
              * gdk/gdk.[ch] gdk/gdkinternals.h gdk/x11/gdkmain-x11.c:
              gdk/x11/gdkprivate-x11.h: Make the initialization interface
              simple _gdk_windowing_init() and do the rest in
              gdk_open_display() calls.
      
              * gdk/gdk.[ch]: Add gdk_parse_args() which can be used
              to do the display-independent part of initialization
              instead of gdk_init_[check].
      
              * gdk/gdkcursor.h gdk/gdkfont.h gdk/gdkkeys.h gdk/gdkpixmap.h
              gdk/gdkproperty.h gdk/gdkselection.h gdk/gdkwindow.h:
              Add multihead variants (_for_display(), for_screen()) of functions
              getting information specific to a particular screen screen or
              display.
      
              * gdk/gdkscreen.[ch]: Add gdk_screen__* variants of functions
              like gdk_rgb_get_colormap() that used to get/list global
              objects.
      
              * gdk/x11/gdkx.h: Add functions for converting GdkScreen
              and GdkDisplay into the X equivalents.
      
              * gdk/x11/gdkwindow-x11.c: Removed gdk_window_xid_at_coords()
              not in the headers and unused.
      
              * configure.in gdk/x11/{gxid.c,gxid_lib.[ch],gdkinput-gxi.c}:
              Remove gxid support ... has not been tested for a long time...
              "xfree" support is more portable to non XFree86.
      
              * gdk/**.h: Add a GDK_MULTIHEAD_SAFE define that can be
              used to turn off functions that are inherently non-multihead
              safe.
      
              * gdk/**.c: add GDK_NOTE(multihead, ...) calls when functions
              are used in non-multihead-safe ways.
      
              * gdk/*.c gdk/x11/*.c: Changes to make the internals of GDK
              multihead safe.
      425b9886
  33. 28 Nov, 2001 1 commit
    • Matthias Clasen's avatar
      Directly include the contents of gdkcursors.h in the GdkCursorType enum. · 4ee972a5
      Matthias Clasen authored
              * gdk/gdkcursor.h: Directly include the contents
              of gdkcursors.h in the GdkCursorType enum.
      
              * gdk/gdkcursors.h: Deleted.
      
              * gdk/gdkkeysyms.h: Remove XFree86-specific keysyms, add
              header boilerplate.
      
              * gdk/Makefile.am: Remove the X-derived-headers rule.
      
              * gdk/tmpl/cursors.sgml: Document GdkCursor and standard cursors.
      4ee972a5
  34. 23 Aug, 2001 1 commit
    • Owen Taylor's avatar
      [ Patch from Sebastian Wilhelmi, 52790 ] · a2d60d44
      Owen Taylor authored
      Wed Aug 22 19:15:39 2001  Owen Taylor  <otaylor@redhat.com>
      
      	[ Patch from Sebastian Wilhelmi, 52790 ]
      
      	* gtk/gtkversion.h.in gtk/gtk.h: New file replacing gtkcompat.h
      
      	* gdk/gdkcompat.h gdk/gdk*.h gtk/gtkcompat.h.in gtk/gtk*.h:
      	Move compatibility macros from g[dt]kcompat.h to within
      	#ifndef G[DT]K_DISABLE_DEPRECATED in each file.
      
      	* gdk/gdk-pixbuf-csource.c: Fix up include of gtkcompat.h.
      
      	* demos/Makefile.am demos/gtk-demo/Makefile.am
                docs/reference/gdk-pixbuf/Makefile.am modules/input/Makefile.am
                tests/Makefile.am: Remove references to -G[DT]K_DISABLE_DEPRECATED.
      
      	* demos/{pixbuf-demo.c,testpixbuf-drawable.c,testpixbuf-save.c,
                       testpixbuf.c}: Fix usages of deprecated functions.
      a2d60d44
  35. 28 Jun, 2001 1 commit
    • James Henstridge's avatar
      The following changes correspond to bug #56812 · cd3ddf90
      James Henstridge authored
      2001-06-29  James Henstridge  <james@daa.com.au>
      
      	The following changes correspond to bug #56812
      
      	* gdk/gdkinput.h, gdk/gdkevents.c (GDK_TYPE_DEVICE): register type
      	code for GdkDevice.
      
      	* gdk/gdkcursor.[ch] (GDK_TYPE_CURSOR): register type code for
      	GdkCursor.
      cd3ddf90