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