CmdBarGui

ostrat.pgui.CmdBarGui
trait CmdBarGui extends CanvasPanelled

A simple 2 panel display, a man panel and a command bar.

Attributes

Graph
Supertypes
trait CanvasUser
class Object
trait Matchable
class Any
Known subtypes
class GlobeGui
class ULocGui
class DungeonGui
class DraughtsGui
class ChessGui
class HGridSysGui
class EGridBaseGui
class DLessGui
class BC305Gui
class DiscovGui
class PeriGui
class IndRevGui
class SorsGui
class WW1Gui
class WW2Gui
class G4HGui
class G1HGui
class G3HGui
class G2HGui
class CivGui
class NormGui
class ZugGui
class TGridSysGui
class SqSysGui
class G1SGui
class G2SGui
class AltReacGui
class GoGui
class LsE1
class LsE2
Show all

Members list

Value members

Concrete methods

def mainMouseUp: (MouseButton, RArr[Any], Pt2) => Unit
def mainMouseUp_=(f: (MouseButton, RArr[Any], Pt2) => Unit): Unit
def reTop(commands: RArr[GraphicBounded]): Unit

repaints the top command bar

repaints the top command bar

Attributes

def textButton(str: String, cmd: AnyRef): PolygonCompound

Inherited methods

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

Attributes

Inherited from:
CanvasPanelled

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 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 title: String

Attributes

Inherited from:
CanvasUser

Concrete fields

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

The text for the status field of the command bar.

The text for the status field of the command bar.

Attributes

val topBar: Panel

Inherited fields

Attributes

Inherited from:
CanvasUser
var panels: RArr[Panel]

Attributes

Inherited from:
CanvasPanelled