]>
Commit | Line | Data |
---|---|---|
3fa056ab JJ |
1 | #include <gdk/gdk.h> |
2 | ||
3 | void GDK_BEEP (void) | |
4 | { | |
5 | gdk_beep(); | |
6 | } | |
7 | ||
8 | GdkBitmap* GDK_BITMAP_CREATE_FROM_DATA (GdkWindow *window, | |
9 | const gchar *data, | |
10 | gint width, | |
11 | gint height) | |
12 | { | |
13 | return gdk_bitmap_create_from_data (window, | |
14 | data, | |
15 | width, | |
16 | height); | |
17 | } | |
18 | ||
19 | void GDK_BITMAP_UNREF (GdkBitmap *pixmap) | |
20 | { | |
21 | gdk_bitmap_unref (pixmap); | |
22 | } | |
23 | ||
24 | gint GDK_CHAR_HEIGHT (GdkFont *font, | |
25 | gchar character) | |
26 | { | |
27 | return gdk_char_height (font, | |
28 | character); | |
29 | } | |
30 | ||
31 | GdkColormap* GDK_COLORMAP_GET_SYSTEM (void) | |
32 | { | |
33 | return gdk_colormap_get_system(); | |
34 | } | |
35 | ||
36 | GdkVisual* GDK_COLORMAP_GET_VISUAL (GdkColormap *colormap) | |
37 | { | |
38 | return gdk_colormap_get_visual (colormap); | |
39 | } | |
40 |