Dist2Gui

trait Dist2Gui extends MapGui

To be removed probably a Gui for maps measured in metres.

class MapGui
class Object
trait Matchable
class Any
class Planets

Type members

Classlikes

implicit
class ImpVec2InCanvasMap(thisVec2: Pt2)

Value members

Abstract methods

Concrete methods

Translates an array of map points to an array of Canvas Display positions

Translates an array of map points to an array of Canvas Display positions

def invCanv(canvPoint: Pt2): Pt2

Translates a point from Canvas Display position back to Map position

Translates a point from Canvas Display position back to Map position

def reFocus(newFocus: PtMetre2): Unit
final
def repaintMap(): Unit
def toCanv(mapPoint: PtMetre2): Pt2

Translates a point from map position to Canvas Display position

Translates a point from map position to Canvas Display position

def zoomInCmd: MouseButton => Unit
def zoomOutCmd: MouseButton => Unit

Inherited methods

def addPanel(clipPoly: Polygon, cover: Boolean): Panel
Inherited from
CanvasPanelled
def eTop(): Unit
Inherited from
MapGui
Inherited from
MapGui
def mapPanelDiameter: Double
Inherited from
MapGui

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 reTop(commands: Arr[GraphicBounded]): Unit

repaints the top command bar

repaints the top command bar

Inherited from
MapGui
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 setStatus(str: String): Unit
Inherited from
MapGui
Inherited from
MapGui
def textBox(str: String, cmd: AnyRef): PolygonCompound
Inherited from
MapGui
def textBoxFull(str: String, cmd: AnyRef): PolygonCompound
Inherited from
MapGui

Abstract fields

The Distance represented by one pixel width / height on the screen

The Distance represented by one pixel width / height on the screen

Inherited fields

val barWidth: Int
Inherited from
MapGui
Inherited from
CanvasUser
Inherited from
MapGui
var panels: List[Panel]
Inherited from
CanvasPanelled
var statusText: String
Inherited from
MapGui
val title: String
Inherited from
CanvasUser
Inherited from
MapGui

Implicits

Implicits

final implicit