G2HGui
Graphical user interface for example game 3. A hex based game like game 1, that introduces multi turn directives.
Attributes
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass HGridSysGuiclass TGridSysGuiclass CmdBarGuiclass CanvasPanelledclass CanvasUserclass Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
This makes the tiles active. They respond to mouse clicks. It does not paint or draw the tiles.
This makes the tiles active. They respond to mouse clicks. It does not paint or draw the tiles.
Attributes
Creates the turn button and the action to commit on mouse click.
Creates the turn button and the action to commit on mouse click.
Attributes
TextGraphics to display the HCen coordinate in the tiles that have no unit counters.
TextGraphics to display the HCen coordinate in the tiles that have no unit counters.
Attributes
This is the graphical display of the planned move orders.
This is the graphical display of the planned move orders.
Attributes
Draws the tiles sides (or edges).
Draws the tiles sides (or edges).
Attributes
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.
Attributes
Inherited methods
Attributes
- Inherited from:
- CanvasPanelled
Attributes
- Inherited from:
- CmdBarGui
Attributes
- Inherited from:
- CmdBarGui
Attributes
- Inherited from:
- CmdBarGui
Attributes
- Inherited from:
- CmdBarGui
Attributes
- 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.
Attributes
- Inherited from:
- CanvasUser
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Pixels per Tile. The number of pixels from a side of a tile to the opposite side of the tile.
Pixels per Tile. The number of pixels from a side of a tile to the opposite side of the tile.
Attributes
- Inherited from:
- HGridSysGui
repaints the top command bar
Attributes
- Inherited from:
- CanvasPanelled
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
Attributes
- Inherited from:
- TGridSysGui
Attributes
- Inherited from:
- CmdBarGui
Attributes
- Inherited from:
- TGridSysGui
Concrete fields
This is the planned moves or orders for the next turn. Note this is just a record of the planned moves it is not graphical display of those moves. This data is state for the Gui.
This is the planned moves or orders for the next turn. Note this is just a record of the planned moves it is not graphical display of those moves. This data is state for the Gui.
Attributes
Inherited fields
Attributes
- Inherited from:
- CmdBarGui
The number of pixels displayed per c column coordinate.
Attributes
- Inherited from:
- TGridSysGui
Attributes
- Inherited from:
- CanvasPanelled
The text for the status field of the command bar.
Attributes
- Inherited from:
- CanvasUser
Implicits
Implicits
Tile grid system this gui displays.
Tile grid system this gui displays.