6bfdecef7a
docs: Move documentation to inline comments: gdkvisual
2010-11-15 18:24:31 +01:00
9a8fcfa65a
docs: Move documentation to inline comments: gdkpango
2010-11-15 18:24:31 +01:00
cc13047315
docs: Move documentation to inline comments: gdkcursor
2010-11-15 18:24:31 +01:00
d8e74867e4
docs: Remove GdkPixmap template
2010-11-15 05:39:25 +01:00
1268c17983
docs: Move documentation to inline comments: general
2010-11-15 05:35:40 +01:00
2cd0302e64
docs: Move documentation to inline comments: gdkkeys
2010-11-15 05:19:33 +01:00
44ff1d86b4
docs: move documentation to inline comments: gdktesting
2010-11-15 04:12:57 +01:00
5f89dea7f1
docs: Move documentation to inline comments: gdkscreen
2010-11-15 04:12:57 +01:00
133dfe55f3
docs: Move documentation to inline comments: gdkdisplaymanager
2010-11-15 04:12:57 +01:00
ca480f3771
docs: Move documentation to inline comments: gdkdisplay
2010-11-15 03:37:21 +01:00
8ca6882e88
docs: Move documentation to inline comments: gdkapplaunchcontext
2010-11-15 03:18:45 +01:00
cdf517d1c8
[introspection] add transfer none annotation to gdk_keyval_name return
...
* moved docs from .sgml file to th e.c file so we can add the annotation
2010-11-09 21:00:14 -05:00
ce06043f17
GdkWindow: Add gdk_window_set_background_rgba()
...
This new function takes a GdkRGBA in order to set the background to
an alpha color. Keep in mind that RGBA visuals and a composited environment
are still necessary to have an alpha background displayed.
2010-10-22 20:14:56 +02:00
5a5f8081f0
Add GdkRGBA struct to supersede GdkColor
...
GdkRGBA is a boxed struct similar to GdkColor, with the difference
that it stores alpha information as well, and colors are stored in
[0..1] doubles, in the cairo spirit.
gdk_cairo_set_source_rgba() has been also added to allow easier handling
of this new type.
2010-10-22 20:14:56 +02:00
4824a73084
Add padding to class structs
2010-10-19 19:07:36 +02:00
04900c8caa
docs: Update templates
2010-10-19 03:31:02 +02:00
9ff4f0819f
Some GDK documentation fixes
2010-10-14 21:45:56 -04:00
c7e024d160
Rework GdkPangoRenderer example to use existing api
2010-10-12 11:29:56 -04:00
abb25b7895
docs: add a longdesc for X-specifics
2010-10-12 11:29:56 -04:00
d8700a02f1
docs: Remove mentions of GdkPixmap from cursor docs
2010-10-12 11:29:55 -04:00
ec7c2acf7b
Move GdkVisualType docs inline
2010-10-12 11:29:55 -04:00
4d63d96762
docs: Correct some link targets
2010-10-12 11:29:55 -04:00
718ccc9e4e
docs: visuals: Do not mention deprecated GdkRGB API's
...
Reported by Milan Bouchet-Valat in bug
https://bugzilla.gnome.org/show_bug.cgi?id=631473
2010-10-06 01:11:19 +02:00
97bdf55b6d
docs: Move documentation to inline comments: colors
2010-10-04 03:48:05 +02:00
9e869af6c5
docs: Move documentation to inline comments: pixbufs
2010-10-04 03:36:12 +02:00
a4c2018452
docs: Move documentation to inline comments: regions
2010-10-04 03:19:43 +02:00
4e71a4df7b
docs: Move documentation to inline comments: cairo_interaction
2010-10-04 03:04:09 +02:00
32d1defc76
GDK docs: help gtk-doc understand gdk_window_invalidate_maybe_recurse
2010-10-01 09:10:52 -04:00
4e96a84c67
GDK docs: Clean out some dead symbols
2010-10-01 08:09:31 -04:00
f52a1fcfbd
API: remove gdk_drawable_get_size()
2010-09-26 15:11:45 +02:00
6c971ac479
API: Remove window clear APIs
...
The feature can and should be implemented manually using
gdk_window_get_background() and Cairo drawing. A non-cairo drawing API
does not make sense in GDK anymore.
2010-09-26 15:11:43 +02:00
af32c9c9be
API: Add size getters for GdkWindow
...
gdk_window_get_width() and gdk_window_get_height() will replace
gdk_drawable_get_size().
2010-09-26 15:11:43 +02:00
d4f08efd57
API: add gdk_cairo_get_clip_rectangle() convenience API
2010-09-26 15:11:34 +02:00
0775b0a858
Make the docs build
2010-09-26 15:11:34 +02:00
e624656c20
API: Remove GdkColormap
2010-09-26 15:11:34 +02:00
cf4cb4f6d9
API: Remove colormap handling from GdkScreen
...
In particular, the following functions are gone:
- gdk_screen_get_default_colormap()
- gdk_screen_set_default_colormap()
- gdk_screen_get_system_colormap()
- gdk_screen_get_rgba_colormap()
2010-09-26 15:11:34 +02:00
04d5c477aa
API: Remove gdk_drawable_get_colormap()
...
And with it, remove any notion of colormaps from GdkWindow. In
particular, X11 windows will now not set attrs.colormap when calling
XCreateWindow.
2010-09-26 15:11:33 +02:00
504a2d4194
API: Remove gdk_drawable_get_display()
2010-09-26 15:11:33 +02:00
7f486231ac
API: Add gdk_window_get_display()
2010-09-26 15:11:33 +02:00
a6ef356107
API: Remove drawable getters for visual, screen and depth
...
Removed and replaced are:
gdk_drawable_get_visual() => gdk_window_get_visual()
gdk_drawable_get_screen() => gdk_window_get_screen()
gdk_drawable_get_depth() => gdk_visual_get_depth
(gdk_window_get_visual())
2010-09-26 15:11:33 +02:00
5b9bbf9de2
API: Add gdk_window_get_visual() and gdk_window_get_screen()
...
Now that we store the visual in the GdkWindow, these are rather trivial
accessors.
2010-09-26 15:11:32 +02:00
894d402c0f
API: Remove gdk_drawable_set_colormap()
2010-09-26 15:11:32 +02:00
e316157671
API: gdk_pixbuf_get_from_drawable() => gdk_pixbuf_get_from_window()
...
The Colormap argument needed to be removed, so the renaming is just a
side effect.
2010-09-26 15:11:32 +02:00
f74f9b2766
gdk: Remove GdkPixmap
...
All iusers of it are gone, so it's now time to let go.
cairo_surface_t is a full replacement, combined with
gdk_window_create_similar_surface().
2010-09-26 15:11:30 +02:00
6607f2b794
API: Rename gdk_set_source_pixmap() to gdk_set_source_window()
...
That's what it's used for now.
2010-09-26 15:11:30 +02:00
4a9c32dc36
API: Remove APIs to generate pixmaps from pixbufs
...
The 3 functions in question were:
- gdk_pixbuf_render_threshold_alpha()
- gdk_pixbuf_render_pixmap_and_mask()
- gdk_pixbuf_render_pixmap_and_mask_for_colormap()
All of them can be replaced using Cairo if they have to. The
functionality is only needed to talk to old X interfaces and normal apps
do fine without them.
2010-09-26 15:11:29 +02:00
332652f702
API: Change offscreen windows to use a cairo_surface_t
...
This requires changes to all the offscreen surface getters that used to
return a GdkPixmap before.
2010-09-26 15:11:29 +02:00
b69fdbbd04
API: Remove gdk_window_get_internal_paint_info()
...
This function should not exist in public API, it exposes too many
internals.
2010-09-26 15:11:11 +02:00
d7335837e0
gdk: Remove gdk_window_redirect_to_drawable()
...
Also remove the reverse gdk_window_remove_redirection().
The code was only used by the snapshotting code, and that code is dead
now.
2010-09-26 15:11:11 +02:00
2c1633699f
gdk: Rewrite background handling
...
Now the window background is a cairo_pattern_t. The backends will try to
set this as good as they can on the windowing system, but no guarantees
are made on wether the windowing system supports the pattern.
Also gets rid of GDK_NO_BG as undefined behavior is not a good idea to
support, and GDK_NO_BG effectively made the window's contents undefined.
It wasn't effectively used in GTK anyway.
2010-09-26 15:03:00 +02:00