KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > swt > internal > carbon > ColorPickerInfo


1 /**********************************************************************
2  * Copyright (c) 2003-2004 IBM Corp.
3  * Portions Copyright (c) 1983-2002, Apple Computer, Inc.
4  *
5  * All rights reserved. This program and the accompanying materials
6  * are made available under the terms of the Eclipse Public License v1.0
7  * which accompanies this distribution, and is available at
8  * http://www.eclipse.org/legal/epl-v10.html
9  *
10  * Contributors:
11  * IBM Corporation - initial API and implementation
12  **********************************************************************/

13 package org.eclipse.swt.internal.carbon;
14
15
16 public class ColorPickerInfo {
17 // PMColor theColor;
18
public int profile;
19     public short red;
20     public short green;
21     public short blue;
22     public int dstProfile;
23     public int flags;
24     public short placeWhere;
25 // Point dialogOrigin
26
public short h;
27     public short v;
28     public int pickerType;
29     public int eventProc;
30     public int colorProc;
31     public int colorProcData;
32 // Str255 prompt;
33
public byte [] prompt = new byte [256];
34 // PickerMenuItemInfo mInfo;
35
public short editMenuID;
36     public short cutItem;
37     public short copyItem;
38     public short pasteItem;
39     public short clearItem;
40     public short undoItem;
41     public boolean newColorChosen;
42 // SInt8 filler;
43
public static final int sizeof = 312;
44 }
45
Popular Tags