summaryrefslogtreecommitdiff
path: root/gdk/gdkcursor.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace "gchar" with "char"Benjamin Otte2020-07-251-1/+1
|
* docs: Small updatesMatthias Clasen2018-07-131-18/+1
| | | | Remove a few references to no-longer-existing APIs.
* GdkWindow -> GdkSurface initial type renameAlexander Larsson2018-03-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This renames the GdkWindow class and related classes (impl, backend subclasses) to surface. Additionally it renames related types: GdkWindowAttr, GdkWindowPaint, GdkWindowWindowClass, GdkWindowType, GdkWindowTypeHint, GdkWindowHints, GdkWindowState, GdkWindowEdge This is an automatic conversion using the below commands: git sed -f g GdkWindowWindowClass GdkSurfaceSurfaceClass git sed -f g GdkWindow GdkSurface git sed -f g "gdk_window\([ _\(\),;]\|$\)" "gdk_surface\1" # Avoid hitting gdk_windowing git sed -f g "GDK_WINDOW\([ _\(]\|$\)" "GDK_SURFACE\1" # Avoid hitting GDK_WINDOWING git sed "GDK_\([A-Z]*\)IS_WINDOW\([_ (]\|$\)" "GDK_\1IS_SURFACE\2" git sed GDK_TYPE_WINDOW GDK_TYPE_SURFACE git sed -f g GdkPointerWindowInfo GdkPointerSurfaceInfo git sed -f g "BROADWAY_WINDOW" "BROADWAY_SURFACE" git sed -f g "broadway_window" "broadway_surface" git sed -f g "BroadwayWindow" "BroadwaySurface" git sed -f g "WAYLAND_WINDOW" "WAYLAND_SURFACE" git sed -f g "wayland_window" "wayland_surface" git sed -f g "WaylandWindow" "WaylandSurface" git sed -f g "X11_WINDOW" "X11_SURFACE" git sed -f g "x11_window" "x11_surface" git sed -f g "X11Window" "X11Surface" git sed -f g "WIN32_WINDOW" "WIN32_SURFACE" git sed -f g "win32_window" "win32_surface" git sed -f g "Win32Window" "Win32Surface" git sed -f g "QUARTZ_WINDOW" "QUARTZ_SURFACE" git sed -f g "quartz_window" "quartz_surface" git sed -f g "QuartzWindow" "QuartzSurface" git checkout NEWS* po-properties
* GdkCursor: Add some missing (nullable) annotationsTimm Bäder2018-03-091-3/+3
|
* The big versioning cleanupMatthias Clasen2018-02-061-14/+0
| | | | | | | Remove all the old 2.x and 3.x version annotations. GTK+ 4 is a new start, and from the perspective of a GTK+ 4 developer all these APIs have been around since the beginning.
* cursor docs: Point to gtk_widget_set_cursorMatthias Clasen2017-12-261-2/+4
| | | | This is the right API to use for applications.
* Drop gdk_cursor_new_from_pixbufMatthias Clasen2017-11-291-77/+0
| | | | Part of the push to remove GdkPixbuf from the API.
* gdk: Use G_PARAM_SPEC_STATIC_STRINGS throughoutMatthias Clasen2017-11-171-5/+10
| | | | This avoids some string copies at startup.
* Remove gdkprivate.hMatthias Clasen2017-11-171-0/+1
| | | | | This is one-too-many private headers. Move the few declarations here to gdkinternals.h.
* gdk: Cursors no longer have a displayBenjamin Otte2017-11-041-52/+20
| | | | | | | Change constructors to reflect that. While doing so, also add a fallback argument to the cursor constructors, so it is now possible to create cursors with fallback.
* gdk: Cursors are created genericallyBenjamin Otte2017-11-041-4/+10
| | | | There are no longer subclasses for cursors now.
* gdk: Make cursors instantiableBenjamin Otte2017-11-041-1/+1
| | | | | | This way, backends can instantiate GdkCursor objects directly. Do that for broadway to test that it indeed works.
* gdk: Add gdk_cursor_hash() and gdk_cursor_equal()Benjamin Otte2017-11-041-0/+46
| | | | | This is so GDK backends can put cursors into hash tables and avoid duplicates.
* gdk: Add gdk_cursor_get_fallback()Benjamin Otte2017-11-041-27/+67
| | | | | There's no way to use it yet, but I want it to be available for refactoring the backends.
* cursor: Turn new_from_surface() into new_from_texture()Benjamin Otte2017-11-041-22/+143
| | | | | Also turn all the arguments into read-only properties on the GdkCursor object.
* gdk: Remove ability to download a cursorBenjamin Otte2017-11-041-89/+0
|
* gdk: Add gdk_cursor_get_name()Benjamin Otte2017-11-041-2/+48
| | | | Also add the GdkCursor::name property.
* gdk: Get rid of GdkCursorTypeBenjamin Otte2017-11-041-15/+0
| | | | | Now that we no longer have API that uses cursor types, don't keep them around.
* t Remove gdk_cursor_new_for_displayMatthias Clasen2017-11-011-38/+0
| | | | | | The preferred api to create cursors is by name, and the GdkCursorType enumeration can directly trace its ancestry to the horrible X cursor font. So lets stop using it.
* cursor: Remove deprecated APIRico Tzschichholz2016-10-241-54/+0
|
* Update cursor docsMatthias Clasen2016-05-171-2/+2
| | | | Include new images for context-menu and for no-drop.
* Add context-menu to the list of standard cursor namesMatthias Clasen2016-01-061-0/+1
| | | | | Adwaita doesn't have this one, but we are falling to the default cursor anyway.
* docs: Show less ugly X cursorsMatthias Clasen2015-05-081-20/+0
| | | | | | Don't list examples in the gdk_cursor_new_for_display() docs, since we now have a list of recommended names for the from_name() call.
* Update docsMatthias Clasen2015-05-081-0/+39
|
* configure.ac: Depend on cairo 1.14.0Javier Jardón2014-11-101-2/+0
| | | | This is needed for cairo_set_device_scale()
* Deprecate gdk_cursor_new()Matthias Clasen2014-10-281-1/+3
| | | | | Too easy to introduce an unintended assumption about the display being the default this way.
* gdk: assorted introspection and documentation fixesEvan Nemerson2014-05-191-2/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=729983
* gdk: add many missing (nullable) return value annotationsEvan Nemerson2014-05-111-4/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=729834
* GdkCursor: Don't leak a cairo surfaceDavid Mansfield2014-05-071-1/+6
| | | | | | | The function gdk_cursor_new_from_pixbuf creates a cairo surface to pass to its backend implementation, but doesn't destroy it afterwards. https://bugzilla.gnome.org/show_bug.cgi?id=729670
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-4/+4
| | | | Instead of Return value:
* docs: use proper quotations instead of '*'William Jon McCann2014-02-071-4/+4
|
* Use proper quotes in gdkWilliam Jon McCann2014-02-051-1/+1
|
* docs: use ` instead of <literal>William Jon McCann2014-02-041-2/+2
|
* docs: use markdown instead of inlinegraphic tagsWilliam Jon McCann2014-02-041-17/+17
|
* Docs: Use markdown for listsMatthias Clasen2014-02-021-56/+18
| | | | This greatly reduces the amount of xml in the docs.
* docs: use #*-struct instead of <structname>William Jon McCann2014-01-271-2/+2
|
* docs: zero is a literal not a type linkWilliam Jon McCann2014-01-201-1/+1
|
* Fix up docs for new cursor apisMatthias Clasen2013-08-091-11/+10
| | | | | | The docs for gdk_cursor_new_from_surface were talking about pixbufs. And the new APIs were not appearing in the docs at all yet.
* gdk: Add gdk_cursor_new_from_surfaceAlexander Larsson2013-08-071-2/+72
| | | | | | 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.
* gdk: Add gdk_cursor_get_surface()Alexander Larsson2013-08-071-1/+72
| | | | | | 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.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* [GI] Add missing (transfer) annotationsPavel Holejsovsky2011-01-201-1/+1
|
* [GI] Cosmetic cleanups of annotations and doc commentsPavel Holejsovsky2011-01-181-1/+1
| | | | | | This change does not introduce any functionality change, mostly cosmtic cleanups, like re-linebreak when introduced annotations messed up indentation or whitespace errors fixes.
* gdk: Move gdk_cursor_get_image() to the base classBenjamin Otte2010-12-211-0/+21
| | | | .. and make it call a vfunc on the cursor
* gdk: Move gdk_cursor_get_display() out of the backendsBenjamin Otte2010-12-211-0/+20
| | | | Now that we store the display inside the cursor, that change is obvious.
* gdk: Make display a property of GdkCursorBenjamin Otte2010-12-211-1/+18
|
* gdk: Make cursor-type a property of the cursorBenjamin Otte2010-12-211-0/+56
|
* API: gdk: Deprecate gdk_cursor_ref() and gdk_cursor_unref()Benjamin Otte2010-12-211-0/+4
| | | | | Now that GdkCursor is a GObject, it doesn't need custom refcount handling anymore.
* gdk: Make GdkCursor a GObjectBenjamin Otte2010-12-211-12/+13
| | | | | Also port the X11 implementation. Win32 and Quartz need to be ported still.
* gdk: Move GdkCursor definition into a private headerBenjamin Otte2010-12-211-0/+6
|