AltReacGui

ostrat.pAltReact.AltReacGui
case class AltReacGui(canv: CanvasPlatform, rows: Int, columns: Int) extends SqSysGui

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class SqSysGui
class CmdBarGui
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Creates the turn button and the action to commit on mouse click.

Creates the turn button and the action to commit on mouse click.

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

Inherited methods

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

Attributes

Inherited from:
CanvasPanelled
def focusAdj(uniStr: String)(f: (Vec2, Double) => Vec2): PolygonCompound

Attributes

Inherited from:
SqSysGui

Attributes

Inherited from:
SqSysGui

Attributes

Inherited from:
SqSysGui

Attributes

Inherited from:
SqSysGui

Attributes

Inherited from:
SqSysGui

Attributes

Inherited from:
CmdBarGui

Attributes

Inherited from:
CmdBarGui

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

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
override def ptScale: Double

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

Definition Classes
Inherited from:
SqSysGui
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
def repaint(): Unit

Attributes

Inherited from:
TGridSysGui
def textBox(str: String, cmd: AnyRef): PolygonCompound

Attributes

Inherited from:
CmdBarGui

Attributes

Inherited from:
TGridSysGui

Attributes

Inherited from:
SqSysGui

Attributes

Inherited from:
SqSysGui

Concrete fields

The number of pixels / 2 displayed per row height.

The number of pixels / 2 displayed per row height.

Attributes

Draws the tiles sides (or edges).

Draws the tiles sides (or edges).

Attributes

Inherited fields

Attributes

Inherited from:
CmdBarGui

The number of pixels displayed per c column coordinate.

The number of pixels displayed per c column coordinate.

Attributes

Inherited from:
TGridSysGui
var focus: Vec2

Attributes

Inherited from:
TGridSysGui

Attributes

Inherited from:
CmdBarGui

Attributes

Inherited from:
CanvasPanelled

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

Attributes

Inherited from:
CanvasUser

Attributes

Inherited from:
CmdBarGui

Implicits

Implicits

implicit def gridSys: SqGrid

Tile grid system this gui displays.

Tile grid system this gui displays.

Attributes