Package maelstrom.funge.interpreter

Examples of maelstrom.funge.interpreter.Grid


    viewport.add(this);
    return viewport;
  }

  public Dimension getPreferredSize() {
    Grid grid = editor.getGrid();
    Dimension size = grid.getSize();
    Dimension cell = editor.getCell();
    if (vertical) {
      return new Dimension(cell.width, (size.height + 1) * cell.height);
    } else {
      return new Dimension((size.width + 1) * cell.width + 1, cell.height);
View Full Code Here


    }
  }

  public void paint(Graphics g) {
    Rectangle bounds = g.getClipBounds();
    Grid grid = editor.getGrid();
    Dimension size = grid.getSize();
    Dimension cell = editor.getCell();

    int count = 0;
    g.setColor(Color.GRAY);
    if (vertical) {
View Full Code Here

TOP

Related Classes of maelstrom.funge.interpreter.Grid

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.