Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.sun.jna.b;
- import com.sun.jna.Structure;
- import java.awt.Component;
- import java.awt.Graphics;
- import java.awt.Point;
- import java.awt.Rectangle;
- import java.awt.geom.Area;
- import javax.swing.Icon;
- class GhostedDragImage$2
- implements Icon
- {
- final GhostedDragImage this$0;
- public int getIconWidth()
- {
- return a.val$icon.getIconWidth();
- }
- public int getIconHeight()
- {
- return a.val$icon.getIconHeight();
- }
- public void paintIcon(Component a, Graphics a, int a, int a)
- {
- a = a.create();
- Area a = new Area(new Rectangle(a, a, a.getIconWidth(), a.getIconHeight()));a.subtract(new Area(new Rectangle(a + a.val$cursorOffset.x - 1, a + a.val$cursorOffset.y - 1, 3, 3)));int a = GhostedDragImage.b();a.setClip(a);a.val$icon.paintIcon(a, a, a, a);a.dispose();
- if (Structure.b() == null) {
- GhostedDragImage.b(a == 0);
- }
- }
- GhostedDragImage$2(GhostedDragImage a, Icon paramIcon, Point paramPoint) {}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement