Package ru.snake.spritepacker.component

Examples of ru.snake.spritepacker.component.SpriteView


  public static void showSprite(Component parent, Sprite sprite) {
    if (sprite == null) {
      return;
    }

    SpriteView view = new SpriteView(sprite);

    JOptionPane.showOptionDialog(parent, view, sprite.toString(),
        JOptionPane.DEFAULT_OPTION, JOptionPane.PLAIN_MESSAGE, null,
        null, null);
  }
View Full Code Here


    int baseOffsetX = sprite.offsetX;
    int baseOffsetY = sprite.offsetY;

    // ===================================================

    SpriteView view = new SpriteView(sprite);

    // ---------------------------------------------------

    JLabel offsxlabel = new JLabel(
        Messages.getString("OffsetSpriteAction.LABEL_X_OFFSET")); //$NON-NLS-1$
View Full Code Here

TOP

Related Classes of ru.snake.spritepacker.component.SpriteView

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.