GThreeGui

case
class GThreeGui(canv: CanvasPlatform, scenStart: ThreeScen) extends CmdBarGui
trait Serializable
trait Product
trait Equals
class CmdBarGui
class Object
trait Matchable
class Any

Value members

Concrete methods

def repaint(): Unit
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.

Uses the mapHCen method on units. This takes two functions, the first for when there is no unit in the hex tile. Note how we can access the data in the separate terrs array by use of the HCen coordinate.

Uses the mapHCen method on units. This takes two functions, the first for when there is no unit in the hex tile. Note how we can access the data in the separate terrs array by use of the HCen coordinate.

Inherited methods

def addPanel(clipPoly: Polygon, cover: Boolean): Panel
Inherited from
CanvasPanelled
def mainHeight: Double
Inherited from
CmdBarGui
def mainMouseUp: (MouseButton, List[Any], Pt2) => Unit
Inherited from
CmdBarGui
def mainMouseUp_=(f: (MouseButton, List[Any], Pt2) => Unit): Unit
Inherited from
CmdBarGui
def mainRepaint(els: Arr[GraphicElem]): Unit
Inherited from
CmdBarGui
def mainRepaints(els: GraphicElem*): Unit
Inherited from
CmdBarGui
def mainWidth: Double
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.

Inherited from
CanvasUser
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def reTop(commands: Arr[GraphicBounded]): Unit

repaints the top command bar

repaints the top command bar

Inherited from
CmdBarGui
def refresh(): Unit
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.

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

Concrete fields

val scale: Double

The number of pixels / 2 displayed per row height.

The number of pixels / 2 displayed per row height.

Inherited fields

val barWidth: Int
Inherited from
CmdBarGui
Inherited from
CmdBarGui
var panels: List[Panel]
Inherited from
CanvasPanelled
var selected: List[Any]
Inherited from
CmdBarGui
var statusText: String

The text for the status field of the command bar.

The text for the status field of the command bar.

Inherited from
CmdBarGui
val title: String
Inherited from
CanvasUser
Inherited from
CmdBarGui

Implicits

Implicits

implicit
def grid: HGrid