CanvasPanelled

ostrat.pgui.CanvasPanelled
abstract class CanvasPanelled(title: String) extends CanvasUser

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class CmdBarGui
class LsE1
class LsE2
class GlobeGui
class ChessGui
class DLessGui
class G1HGui
class GThreeGui
class G2HGui
class BC305Gui
class CivGui
class NapGui
class WW1Gui
class WW2Gui
class ZugGui
class SqSysGui
class G1SGui
class GoGui
class MapGui

Members list

Concise view

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

Concrete fields

Inherited fields

Attributes

Inherited from:
CanvasUser