jdk/src/solaris/classes/sun/awt/X11/XConstants.java
changeset 1962 6c293d33645b
parent 439 3488710b02f8
child 2473 3f4bbd3be2f1
equal deleted inserted replaced
1961:436a5a828d9f 1962:6c293d33645b
   195     public static final int Mod5MapIndex = 7 ;
   195     public static final int Mod5MapIndex = 7 ;
   196 
   196 
   197 
   197 
   198     /* button masks.  Used in same manner as Key masks above. Not to be confused
   198     /* button masks.  Used in same manner as Key masks above. Not to be confused
   199        with button names below. */
   199        with button names below. */
   200 
   200     public static final int [] buttonsMask = new int []{ 1<<8,
   201     public static final int Button1Mask = (1<<8) ;
   201                                                          1<<9,
   202     public static final int Button2Mask = (1<<9) ;
   202                                                          1<<10,
   203     public static final int Button3Mask = (1<<10) ;
   203                                                          1<<11,
   204     public static final int Button4Mask = (1<<11) ;
   204                                                          1<<12,
   205     public static final int Button5Mask = (1<<12) ;
   205                                                          1<<13,
       
   206                                                          1<<14,
       
   207                                                          1<<15,
       
   208                                                          1<<16,
       
   209                                                          1<<17,
       
   210                                                          1<<18,
       
   211                                                          1<<19,
       
   212                                                          1<<20,
       
   213                                                          1<<21,
       
   214                                                          1<<22,
       
   215                                                          1<<23,
       
   216                                                          1<<24,
       
   217                                                          1<<25,
       
   218                                                          1<<26,
       
   219                                                          1<<27,
       
   220                                                          1<<28,
       
   221                                                          1<<29,
       
   222                                                          1<<30,
       
   223                                                          1<<31 };
   206 
   224 
   207     public static final int AnyModifier = (1<<15) ; /* used in GrabButton, GrabKey */
   225     public static final int AnyModifier = (1<<15) ; /* used in GrabButton, GrabKey */
   208 
   226 
   209 
   227 
   210     /* button names. Used as arguments to GrabButton and as detail in ButtonPress
   228     /* button names. Used as arguments to GrabButton and as detail in ButtonPress
   211        and ButtonRelease events.  Not to be confused with button masks above.
   229        and ButtonRelease events.  Not to be confused with button masks above.
   212        Note that 0 is already defined above as "AnyButton".  */
   230        Note that 0 is already defined above as "AnyButton".  */
   213 
   231 
   214     public static final int Button1 = 1 ;
   232     public static final int buttons [] = new int [] {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24};
   215     public static final int Button2 = 2 ;
       
   216     public static final int Button3 = 3 ;
       
   217     public static final int Button4 = 4 ;
       
   218     public static final int Button5 = 5 ;
       
   219 
   233 
   220     /* Notify modes */
   234     /* Notify modes */
   221 
   235 
   222     public static final int NotifyNormal = 0 ;
   236     public static final int NotifyNormal = 0 ;
   223     public static final int NotifyGrab = 1 ;
   237     public static final int NotifyGrab = 1 ;