KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > swt > internal > photon > PhCursorDef_t


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

11 package org.eclipse.swt.internal.photon;
12
13
14 public class PhCursorDef_t {
15 // PhRegionDataHdr_t hdr;
16
public short hdr_len;
17     public short hdr_type;
18 // PhPoint_t size1;
19
public short size1_x;
20     public short size1_y;
21 // PhPoint_t offset1;
22
public short offset1_x;
23     public short offset1_y;
24     public int color1;
25     public byte bytesperline1;
26 // byte zero1; // 3 bytes
27
// PhPoint_t size2;
28
public short size2_x;
29     public short size2_y;
30 // PhPoint_t offset2;
31
public short offset2_x;
32     public short offset2_y;
33     public int color2;
34     public byte bytesperline2;
35 // byte Spare; // 14 bytes
36
// byte images; // variable number of bytes
37
public static final int sizeof = 47;
38 }
39
Popular Tags