
META-INF.modules.java.desktop.classes.sun.awt.X11.XCustomCursor.class Maven / Gradle / Ivy
???? @ ?
sun/awt/X11CustomCursor 5(Ljava/awt/Image;Ljava/awt/Point;Ljava/lang/String;)V
sun/awt/X11/XToolkit awtLock ()V
getDisplay ()J
sun/awt/X11/XlibWrapper
DefaultScreen (J)J
RootWindow (JJ)J
java/lang/Math abs (I)I " # $ larg1 J & ' $ larg2
) * + XQueryBestCursor (JJIIJJ)Z - java/awt/Dimension / 0 1 unsafe Ljdk/internal/misc/Unsafe;
3 4 5 6 7 jdk/internal/misc/Unsafe getInt (J)I
, 9 : (II)V , < = > width I
@ A B min (II)I , D E > height
G H awtUnlock
J K getDefaultXColormap M sun/awt/X11/XColor
L O Q sun/awt/X11/XConstants
L S T U set_flags (B)V
L W X Y set_red (S)V
L [ \ Y set_green
L ^ _ Y set_blue L a b $ pData
d e f XAllocColor (JJJ)Z
h i j k l sun/awt/X11/Native toData ([B)J
n o p XCreateBitmapFromData (JJJII)J
r s t XCreatePixmapCursor
(JJJJJII)J
3 v w x
freeMemory (J)V
z { | XFreePixmap (JJ)V
L ~ dispose
? ? ? ? ? sun/awt/X11/XGlobalCursorManager setPData (Ljava/awt/Cursor;J)V ? sun/awt/X11/XCustomCursor Code LineNumberTable LocalVariableTable this Lsun/awt/X11/XCustomCursor; cursor Ljava/awt/Image; hotSpot Ljava/awt/Point; name Ljava/lang/String;
Exceptions ? #java/lang/IndexOutOfBoundsException getBestCursorSize (II)Ljava/awt/Dimension; display root_window d Ljava/awt/Dimension; preferredWidth preferredHeight
StackMapTable ? java/lang/Throwable createCursor
([B[BIIIIII)V colormap
fore_color Lsun/awt/X11/XColor;
back_color
nativeXorMask source
nativeAndMask mask xorMask [B andMask fcolor bcolor xHotSpot yHotSpot
SourceFile XCustomCursor.java ! ? ? T *+,-? ? ?
+ , ? * ? ? ? ? ? ? ? ? ? ? ? ? ? 4
p? ?
B!!? ? 7!? ? ? !? %? (W? ,Y? .? !? 2? .? %? 2? 8M? ? ,,? ;? ?? ;,,? C? ?? C? F? :? F?,? ` f f h f ? > : <