27 #ifndef __GDK_VISUAL_H__
28 #define __GDK_VISUAL_H__
30 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GDK_H_INSIDE__) && !defined (GDK_COMPILATION)
31 #error "Only <gdk/gdk.h> can be included directly."
38 #define GDK_TYPE_VISUAL (gdk_visual_get_type ())
39 #define GDK_VISUAL(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_VISUAL, GdkVisual))
40 #define GDK_VISUAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_VISUAL, GdkVisualClass))
41 #define GDK_IS_VISUAL(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_VISUAL))
42 #define GDK_IS_VISUAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_VISUAL))
43 #define GDK_VISUAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GDK_TYPE_VISUAL, GdkVisualClass))
102 #ifndef GDK_MULTIHEAD_SAFE
140 #ifndef GDK_DISABLE_DEPRECATED
141 #define gdk_visual_ref(v) g_object_ref(v)
142 #define gdk_visual_unref(v) g_object_unref(v)
gint gdk_visual_get_depth(GdkVisual *visual)
GdkScreen * gdk_visual_get_screen(GdkVisual *visual)
GdkVisual * gdk_visual_get_best_with_type(GdkVisualType visual_type)
GdkVisual * gdk_visual_get_best_with_both(gint depth, GdkVisualType visual_type)
@ GDK_VISUAL_STATIC_COLOR
@ GDK_VISUAL_PSEUDO_COLOR
@ GDK_VISUAL_DIRECT_COLOR
void gdk_visual_get_blue_pixel_details(GdkVisual *visual, guint32 *mask, gint *shift, gint *precision)
gint gdk_visual_get_best_depth(void)
GdkVisualType gdk_visual_get_visual_type(GdkVisual *visual)
GdkVisualType gdk_visual_get_best_type(void)
void gdk_query_depths(gint **depths, gint *count)
GdkVisual * gdk_visual_get_system(void)
GdkVisual * gdk_visual_get_best(void)
gint gdk_visual_get_bits_per_rgb(GdkVisual *visual)
GdkVisual * gdk_visual_get_best_with_depth(gint depth)
void gdk_query_visual_types(GdkVisualType **visual_types, gint *count)
void gdk_visual_get_red_pixel_details(GdkVisual *visual, guint32 *mask, gint *shift, gint *precision)
GType gdk_visual_get_type(void) G_GNUC_CONST
void gdk_visual_get_green_pixel_details(GdkVisual *visual, guint32 *mask, gint *shift, gint *precision)
GdkByteOrder gdk_visual_get_byte_order(GdkVisual *visual)
GList * gdk_list_visuals(void)
gint gdk_visual_get_colormap_size(GdkVisual *visual)
PBD::PropertyDescriptor< float > shift
guint32 GSEAL(green_mask)
GdkVisualType GSEAL(type)
GdkByteOrder GSEAL(byte_order)
gint GSEAL(colormap_size)