summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GtkCListRow.java
blob: fae41809eb6a6a3518135b17a6eb2962010e83cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package org.eclipse.swt.internal.gtk;

/*
 * Copyright (c) IBM Corp. 2000, 2001.  All rights reserved.
 *
 * The contents of this file are made available under the terms
 * of the GNU Lesser General Public License (LGPL) Version 2.1 that
 * accompanies this distribution (lgpl-v21.txt).  The LGPL is also
 * available at http://www.gnu.org/licenses/lgpl.html.  If the version
 * of the LGPL at http://www.gnu.org is different to the version of
 * the LGPL accompanying this distribution and there is any conflict
 * between the two license versions, the terms of the LGPL accompanying
 * this distribution shall govern.
 */

public class GtkCListRow {
	public int cell;
	public int state;
	public short foreground_red;
	public short foreground_green;
	public short foreground_blue;
	public int foreground_pixel;
	public short background_red;
	public short background_green;
	public short background_blue;
	public int background_pixel;
	public int style;
	public int data;
	public int destroy; // bitfield: 1
	public int fg_set; // bitfield: 1
	public int bg_set; // bitfield: 1
	public int selectable; // bitfield: 1
	
	private GtkCListRow() {}
	public GtkCListRow(int ptr) {
		OS.memmove(this, ptr);
	}
}