mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Small documentation additions.
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.
This commit is contained in:
parent
2d4d7f587c
commit
ba20420e9f
@ -1,3 +1,12 @@
|
||||
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.
|
||||
|
||||
2005-05-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkscrolledwindow.h:
|
||||
|
@ -1,3 +1,12 @@
|
||||
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.
|
||||
|
||||
2005-05-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkscrolledwindow.h:
|
||||
|
@ -1,3 +1,12 @@
|
||||
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.
|
||||
|
||||
2005-05-07 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkscrolledwindow.h:
|
||||
|
@ -378,6 +378,8 @@ gdk_colormap_get_system (void)
|
||||
*
|
||||
* Convenience function to set the specified GdkColor as the
|
||||
* source color of the given Cairo context.
|
||||
*
|
||||
* Since: 2.8
|
||||
**/
|
||||
void
|
||||
gdk_cairo_set_source_color (cairo_t *cr,
|
||||
|
@ -4,9 +4,7 @@
|
||||
#include <cairo.h>
|
||||
#include <gdk/gdktypes.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/* The color type.
|
||||
* A color consists of red, green and blue values in the
|
||||
@ -39,6 +37,7 @@ typedef struct _GdkColormapClass GdkColormapClass;
|
||||
|
||||
struct _GdkColormap
|
||||
{
|
||||
/*< private >*/
|
||||
GObject parent_instance;
|
||||
|
||||
/*< public >*/
|
||||
@ -144,8 +143,6 @@ void gdk_colors_free (GdkColormap *colormap,
|
||||
gulong planes);
|
||||
#endif /* !GDK_DISABLE_DEPRECATED || GDK_COMPILATION */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GDK_COLOR_H__ */
|
||||
|
@ -4,9 +4,7 @@
|
||||
#include <gdk/gdktypes.h>
|
||||
#include <gdk-pixbuf/gdk-pixbuf.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#define GDK_TYPE_CURSOR (gdk_cursor_get_type ())
|
||||
|
||||
@ -98,6 +96,7 @@ typedef enum
|
||||
struct _GdkCursor
|
||||
{
|
||||
GdkCursorType type;
|
||||
/*< private >*/
|
||||
guint ref_count;
|
||||
};
|
||||
|
||||
@ -129,8 +128,6 @@ void gdk_cursor_unref (GdkCursor *cursor);
|
||||
#define gdk_cursor_destroy gdk_cursor_unref
|
||||
#endif /* GDK_DISABLE_DEPRECATED */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GDK_CURSOR_H__ */
|
||||
|
@ -1222,8 +1222,8 @@ gdk_drawable_real_get_composite_drawable (GdkDrawable *drawable,
|
||||
* but no area outside of this region will be affected by drawing
|
||||
* primitives.
|
||||
*
|
||||
* Return value: a #GdkRegion. This must be freed with gdk_region_destroy()
|
||||
* when you are done.
|
||||
* Returns: a #GdkRegion. This must be freed with gdk_region_destroy()
|
||||
* when you are done.
|
||||
**/
|
||||
GdkRegion *
|
||||
gdk_drawable_get_clip_region (GdkDrawable *drawable)
|
||||
@ -1235,15 +1235,15 @@ gdk_drawable_get_clip_region (GdkDrawable *drawable)
|
||||
|
||||
/**
|
||||
* gdk_drawable_get_visible_region:
|
||||
* @drawable:
|
||||
* @drawable: a #GdkDrawable
|
||||
*
|
||||
* Computes the region of a drawable that is potentially visible.
|
||||
* This does not necessarily take into account if the window is
|
||||
* obscured by other windows, but no area outside of this region
|
||||
* is visible.
|
||||
*
|
||||
* Return value: a #GdkRegion. This must be freed with gdk_region_destroy()
|
||||
* when you are done.
|
||||
* Returns: a #GdkRegion. This must be freed with gdk_region_destroy()
|
||||
* when you are done.
|
||||
**/
|
||||
GdkRegion *
|
||||
gdk_drawable_get_visible_region (GdkDrawable *drawable)
|
||||
|
@ -3,9 +3,7 @@
|
||||
|
||||
#include <gdk/gdktypes.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/* Types of images.
|
||||
* Normal: Normal X image type. These are slow as they involve passing
|
||||
@ -52,7 +50,8 @@ struct _GdkImage
|
||||
gpointer mem;
|
||||
|
||||
GdkColormap *colormap; /* read only. */
|
||||
|
||||
|
||||
/*< private >*/
|
||||
gpointer windowing_data; /* read only. */
|
||||
};
|
||||
|
||||
@ -103,8 +102,6 @@ GdkImage* gdk_image_new_bitmap (GdkVisual *visual,
|
||||
#define gdk_image_destroy gdk_image_unref
|
||||
#endif /* GDK_DISABLE_DEPRECATED */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GDK_IMAGE_H__ */
|
||||
|
@ -569,7 +569,7 @@ gdk_colormap_change (GdkColormap *colormap,
|
||||
* For full documentation of the fields, see
|
||||
* the Xlib documentation for <function>XAllocColorCells()</function>.
|
||||
*
|
||||
* Return value:
|
||||
* Return value: %TRUE if the allocation was successful
|
||||
**/
|
||||
gboolean
|
||||
gdk_colors_alloc (GdkColormap *colormap,
|
||||
|
Loading…
Reference in New Issue
Block a user