jdk/src/solaris/classes/sun/awt/X11/XCursorFontConstants.java
author yan
Mon, 06 Oct 2008 16:45:00 +0400
changeset 1966 12a51fb0db0d
parent 439 3488710b02f8
child 5506 202f599c92aa
permissions -rw-r--r--
5100701: Toolkit.getLockingKeyState() does not work on XToolkit, but works on Motif Summary: Does not work on Motif but works on XToolkit now; implemented using XQueryPointer. Reviewed-by: anthony
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
439
3488710b02f8 6623459: Get rid of XConstant, XProtocolConstants and XUtilConstants antipattern
dav
parents: 2
diff changeset
     2
 * Copyright 2003-2008 Sun Microsystems, Inc.  All Rights Reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.  Sun designates this
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
 * by Sun in the LICENSE file that accompanied this code.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
 * CA 95054 USA or visit www.sun.com if you need additional information or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
 * have any questions.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
package sun.awt.X11;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
439
3488710b02f8 6623459: Get rid of XConstant, XProtocolConstants and XUtilConstants antipattern
dav
parents: 2
diff changeset
    28
final public class XCursorFontConstants {
3488710b02f8 6623459: Get rid of XConstant, XProtocolConstants and XUtilConstants antipattern
dav
parents: 2
diff changeset
    29
3488710b02f8 6623459: Get rid of XConstant, XProtocolConstants and XUtilConstants antipattern
dav
parents: 2
diff changeset
    30
    private XCursorFontConstants(){}
3488710b02f8 6623459: Get rid of XConstant, XProtocolConstants and XUtilConstants antipattern
dav
parents: 2
diff changeset
    31
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
    /* cursorfont defines */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
    static final int XC_num_glyphs=154;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
    static final int XC_X_cursor=0;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
    static final int XC_arrow=2;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
    static final int XC_based_arrow_down=4;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
    static final int XC_based_arrow_up=6;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
    static final int XC_boat=8;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
    static final int XC_bogosity=10;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
    static final int XC_bottom_left_corner=12;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
    static final int XC_bottom_right_corner=14;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
    static final int XC_bottom_side=16;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
    static final int XC_bottom_tee=18;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
    static final int XC_box_spiral=20;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
    static final int XC_center_ptr=22;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
    static final int XC_circle=24;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
    static final int XC_clock=26;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
    static final int XC_coffee_mug=28;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
    static final int XC_cross=30;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
    static final int XC_cross_reverse=32;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
    static final int XC_crosshair=34;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
    static final int XC_diamond_cross=36;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
    static final int XC_dot=38;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
    static final int XC_dotbox=40;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
    static final int XC_double_arrow=42;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
    static final int XC_draft_large=44;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
    static final int XC_draft_small=46;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
    static final int XC_draped_box=48;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
    static final int XC_exchange=50;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
    static final int XC_fleur=52;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
    static final int XC_gobbler=54;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
    static final int XC_gumby=56;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
    static final int XC_hand1=58;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
    static final int XC_hand2=60;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
    static final int XC_heart=62;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
    static final int XC_icon=64;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
    static final int XC_iron_cross=66;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
    static final int XC_left_ptr=68;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
    static final int XC_left_side=70;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
    static final int XC_left_tee=72;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
    static final int XC_leftbutton=74;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
    static final int XC_ll_angle=76;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
    static final int XC_lr_angle=78;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
    static final int XC_man=80;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
    static final int XC_middlebutton=82;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
    static final int XC_mouse=84;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
    static final int XC_pencil=86;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
    static final int XC_pirate=88;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
    static final int XC_plus=90;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
    static final int XC_question_arrow=92;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
    static final int XC_right_ptr=94;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
    static final int XC_right_side=96;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
    static final int XC_right_tee=98;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
    static final int XC_rightbutton=100;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
    static final int XC_rtl_logo=102;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
    static final int XC_sailboat=104;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
    static final int XC_sb_down_arrow=106;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
    static final int XC_sb_h_double_arrow=108;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
    static final int XC_sb_left_arrow=110;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
    static final int XC_sb_right_arrow=112;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
    static final int XC_sb_up_arrow=114;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
    static final int XC_sb_v_double_arrow=116;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
    static final int XC_shuttle=118;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
    static final int XC_sizing=120;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
    static final int XC_spider=122;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
    static final int XC_spraycan=124;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
    static final int XC_star=126;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
    static final int XC_target=128;
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
    static final int XC_tcross=130;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
    static final int XC_top_left_arrow=132;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
    static final int XC_top_left_corner=134;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
    static final int XC_top_right_corner=136;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
    static final int XC_top_side=138;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
    static final int XC_top_tee=140;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
    static final int XC_trek=142;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
    static final int XC_ul_angle=144;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
    static final int XC_umbrella=146;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
    static final int XC_ur_angle=148;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
    static final int XC_watch=150;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
    static final int XC_xterm=152;
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
}