1
1
/*******************************************************************************
2
* Copyright (c) 2000, 2006 IBM Corporation and others. All rights reserved.
2
* Copyright (c) 2000, 2008 IBM Corporation and others. All rights reserved.
3
3
* The contents of this file are made available under the terms
4
4
* of the GNU Lesser General Public License (LGPL) Version 2.1 that
5
5
* accompanies this distribution (lgpl-v21.txt). The LGPL is also
18
18
public class GdkGCValues {
19
/** @field accessor=foreground.pixel,cast=(guint32) */
19
20
public int foreground_pixel;
21
/** @field accessor=foreground.red,cast=(guint16) */
20
22
public short foreground_red;
23
/** @field accessor=foreground.green,cast=(guint16) */
21
24
public short foreground_green;
25
/** @field accessor=foreground.blue,cast=(guint16) */
22
26
public short foreground_blue;
27
/** @field accessor=background.pixel,cast=(guint32) */
23
28
public int background_pixel;
29
/** @field accessor=background.red,cast=(guint16) */
24
30
public short background_red;
31
/** @field accessor=background.green,cast=(guint16) */
25
32
public short background_green;
33
/** @field accessor=background.blue,cast=(guint16) */
26
34
public short background_blue;
35
/** @field cast=(GdkFont *) */
27
36
public int /*long*/ font;
37
/** @field cast=(GdkFunction) */
28
38
public int /*long*/ function;
39
/** @field cast=(GdkFill) */
41
/** @field cast=(GdkPixmap *) */
30
42
public int /*long*/ tile;
43
/** @field cast=(GdkPixmap *) */
31
44
public int /*long*/ stipple;
45
/** @field cast=(GdkPixmap *) */
32
46
public int /*long*/ clip_mask;
47
/** @field cast=(GdkSubwindowMode) */
33
48
public int subwindow_mode;
49
/** @field cast=(gint) */
34
50
public int ts_x_origin;
51
/** @field cast=(gint) */
35
52
public int ts_y_origin;
53
/** @field cast=(gint) */
36
54
public int clip_x_origin;
55
/** @field cast=(gint) */
37
56
public int clip_y_origin;
57
/** @field cast=(gint) */
38
58
public int graphics_exposures;
59
/** @field cast=(gint) */
39
60
public int line_width;
61
/** @field cast=(GdkLineStyle) */
40
62
public int line_style;
63
/** @field cast=(GdkCapStyle) */
41
64
public int cap_style;
65
/** @field cast=(GdkJoinStyle) */
42
66
public int join_style;
43
67
public static final int sizeof = OS.GdkGCValues_sizeof();