TGridSysGui

ostrat.prid.TGridSysGui
abstract class TGridSysGui(val title: String) extends CmdBarGui

Attributes

Graph
Supertypes
trait CmdBarGui
trait CanvasUser
class Object
trait Matchable
class Any
Show all
Known subtypes
class SqSysGui
class G1SGui
class G2SGui
class AltReacGui
class GoGui

Members list

Value members

Abstract methods

Tile grid system this gui displays.

Tile grid system this gui displays.

Attributes

Pixels per Tile. The number of pixels from a side of a tile to the opposite side of the tile.

Pixels per Tile. The number of pixels from a side of a tile to the opposite side of the tile.

Attributes

def thisTop(): Unit

The frame to refresh the top command bar. Note it is a ref so will change with scenario state.

The frame to refresh the top command bar. Note it is a ref so will change with scenario state.

Attributes

Concrete methods

def repaint(): Unit

Inherited methods

def addPanel(clipPoly: Polygon, cover: Boolean): Panel

Attributes

Inherited from:
CanvasPanelled

Attributes

Inherited from:
CmdBarGui
def mainMouseUp: (MouseButton, RArr[Any], Pt2) => Unit

Attributes

Inherited from:
CmdBarGui
def mainMouseUp_=(f: (MouseButton, RArr[Any], Pt2) => Unit): Unit

Attributes

Inherited from:
CmdBarGui

Attributes

Inherited from:
CmdBarGui

Attributes

Inherited from:
CmdBarGui

Attributes

Inherited from:
CmdBarGui

This reverses the order of the GraphicActive List. Method paints objects to screen as side effect.

This reverses the order of the GraphicActive List. Method paints objects to screen as side effect.

Attributes

Inherited from:
CanvasUser
def reTop(commands: RArr[GraphicBounded]): Unit

repaints the top command bar

repaints the top command bar

Attributes

Inherited from:
CmdBarGui
def refresh(): Unit

Attributes

Inherited from:
CanvasPanelled
def refreshPanel(panel: Panel): Unit

This method creates a new frame for the panel. It clips the painting area. Paints the Panel with the back colour, translates the GraphicElems from their positions relative to the Panel's centre to their absolute positions on the canvas. It stores the active object shapes with their absolute positions on the panels active object list. Finally it unclips the painting area.

This method creates a new frame for the panel. It clips the painting area. Paints the Panel with the back colour, translates the GraphicElems from their positions relative to the Panel's centre to their absolute positions on the canvas. It stores the active object shapes with their absolute positions on the panels active object list. Finally it unclips the painting area.

Attributes

Inherited from:
CanvasPanelled

Attributes

Inherited from:
CmdBarGui
def textButton(str: String, cmd: AnyRef): PolygonCompound

Attributes

Inherited from:
CmdBarGui

Concrete fields

var focus: Vec2

The number of pixels displayed per c column coordinate.

The number of pixels displayed per c column coordinate.

Attributes

val title: String

Inherited fields

Attributes

Inherited from:
CmdBarGui

Attributes

Inherited from:
CanvasUser

Attributes

Inherited from:
CmdBarGui
var panels: RArr[Panel]

Attributes

Inherited from:
CanvasPanelled
var selected: Any

Selected takes the type Any, but the value None means nothing selected.

Selected takes the type Any, but the value None means nothing selected.

Attributes

Inherited from:
CmdBarGui

The text for the status field of the command bar.

The text for the status field of the command bar.

Attributes

Inherited from:
CmdBarGui
val topBar: Panel

Attributes

Inherited from:
CmdBarGui