CanvasPanelled

ostrat.pgui.CanvasPanelled
trait CanvasPanelled extends CanvasUser

A canvas divided up into panels. Each panel is clipped and has its own origin.

Attributes

Graph
Supertypes
trait CanvasUser
class Object
trait Matchable
class Any
Known subtypes
trait CmdBarGui
class GlobeGui
class HGridSysGui
class EGridBaseGui
class TGridSysGui
class SqSysGui
class MapGui
Show all

Members list

Value members

Concrete methods

def addPanel(clipPoly: Polygon, cover: Boolean): Panel
def refresh(): Unit
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 methods

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

Inherited and Abstract methods

def title: String

Attributes

Inherited from:
CanvasUser

Concrete fields

var panels: RArr[Panel]

Inherited and Abstract fields

Attributes

Inherited from:
CanvasUser