|
Class Summary |
| BaseHUD |
Provides most of the common methods etc for HUD implementations
Subclasses should set the "name" variable in their constructor. |
| ContextManager |
All input for the viewport is directed to this class, enabling it to keep track
of cursor position, current button and keystates, etc. |
| Demo |
The automatically-run demo application that loads a few HUDs and lets you draw shapes
etc |
| Document |
|
| HUDList |
Useful control that allows the user to hide/show any layer and also to activate / de-activate
any layer; also displays name and status of all layers, and shows their paint order
|
| HUDManager |
The main Model and Controller (in MVC terms) for managing the HUDs system. |
| MainRenderer |
A very simple main renderer that simply grabs a paint surface on every repaint (managed
by Sun's windowing system, "Swing") and gets each visible HUD to paint to that
surface in turn. |
| ShapeCreator |
A simple HUD that, when active, draws a crosshair and responds to drag / click+move events
by drawing a new Rectangle, and when the mouse is released it creates a new rectangle
of that size + position and adds it to the base document |
| ShapeRenderer |
Very simple renderer that simply renders every shape in the base document using
a unique colour for each. |
| ShapeShifter |
|
| ShapeShifter2 |
Simple HUD which displays a "your mouse cursor is currently floating over THIS shape"
selection-box style thing, and includes a tool which will allow you to drag shapes around
the document, even multiple shapes at once (if they overlap and can be dragged in a
single gesture). |