01: /*******************************************************************************
02: * Copyright (c) 2000, 2003 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.swt.internal.motif;
11:
12: public class XImage {
13: public int width;
14: public int height;
15: public int xoffset;
16: public int format;
17: public int data;
18: public int byte_order;
19: public int bitmap_unit;
20: public int bitmap_bit_order;
21: public int bitmap_pad;
22: public int depth;
23: public int bytes_per_line;
24: public int bits_per_pixel;
25: public int red_mask;
26: public int green_mask;
27: public int blue_mask;
28: public int obdata;
29: // struct funcs {
30: public int create_image;
31: public int destroy_image;
32: public int get_pixel;
33: public int put_pixel;
34: public int sub_image;
35: public int add_pixel;
36: // } f;
37: public static final int sizeof = 88;
38: }
|