Advertisement
Guest User

Untitled

a guest
Apr 26th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. package com.sun.jna.b;
  2.  
  3. import com.sun.jna.Structure;
  4. import java.awt.Component;
  5. import java.awt.Graphics;
  6. import java.awt.Point;
  7. import java.awt.Rectangle;
  8. import java.awt.geom.Area;
  9. import javax.swing.Icon;
  10.  
  11. class GhostedDragImage$2
  12. implements Icon
  13. {
  14. final GhostedDragImage this$0;
  15.  
  16. public int getIconWidth()
  17. {
  18. return a.val$icon.getIconWidth();
  19. }
  20.  
  21. public int getIconHeight()
  22. {
  23. return a.val$icon.getIconHeight();
  24. }
  25.  
  26. public void paintIcon(Component a, Graphics a, int a, int a)
  27. {
  28. a = a.create();
  29.  
  30. 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();
  31. if (Structure.b() == null) {
  32. GhostedDragImage.b(a == 0);
  33. }
  34. }
  35.  
  36. GhostedDragImage$2(GhostedDragImage a, Icon paramIcon, Point paramPoint) {}
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement