OpenASIP
2.0
|
#include <MachineCanvasLayoutConstraints.hh>
Static Public Attributes | |
static const int | UNIT_WIDTH = 85 |
Minimum unit width. More... | |
static const int | UNIT_HEIGHT = 45 |
Minimum unit height. More... | |
static const int | UNIT_SPACE = 24 |
Space between units. More... | |
static const int | MAX_UNIT_NAME_WIDTH = 250 |
Maximun unit name width in pixels. More... | |
static const int | PORT_WIDTH = 16 |
Default Width of a port. More... | |
static const int | PORT_MIN_WIDTH = 9 |
Minimum Width of a port. More... | |
static const int | PORT_BASE_WIDTH = 5 |
Constant used for port width calculation. More... | |
static const int | PORT_SPACE = 14 |
Space between ports. More... | |
static const int | SOCKET_WIDTH = 16 |
Width of a socket. More... | |
static const int | SOCKET_HEIGHT = 100 |
Height of a socket. More... | |
static const int | SOCKET_SPACE = SOCKET_WIDTH |
Space dividing unconnected sockets. More... | |
static const int | SOCKET_MIN_SPACE = 2 |
Space dividing connected sockets. More... | |
static const int | SEGMENT_SPACE = 16 |
Space dividing segments. More... | |
static const int | SEGMENT_HEIGHT_BASE = 3 |
Height of a segment. More... | |
static const int | BUS_MIN_WIDTH = 206 |
Minimum width of a bus. More... | |
static const int | BUS_MIN_HEIGHT = SEGMENT_HEIGHT_BASE |
Minimum height of a bus. More... | |
static const int | BUS_SPACE = 24 |
Space between buses and bus chains. More... | |
static const int | BRIDGE_WIDTH = BUS_MIN_WIDTH |
Width of a bridge. More... | |
static const int | BRIDGE_HEIGHT = 24 |
Height of a bridge. More... | |
static const int | BRIDGE_SPACE = 12 |
Space dividing buses and bridges. More... | |
static const int | VIEW_MARGIN = 30 |
Top margin for the whole processor view. More... | |
static const int | VIEW_LEFT_MARGIN = 40 |
Left margin. More... | |
static const int | CONNECTIONS_SPACE = 80 |
Space reserved for port-socket-connections. More... | |
static const int | TRIANGLE_HEIGHT = 15 |
Size of the sockets' direction triangle. More... | |
Defines some layout constraints used in visualizing the machine.
Definition at line 40 of file MachineCanvasLayoutConstraints.hh.
|
static |
Height of a bridge.
Definition at line 79 of file MachineCanvasLayoutConstraints.hh.
Referenced by BidirBridgeFigure::BidirBridgeFigure(), BridgeFigure::BridgeFigure(), and BidirBridgeFigure::layoutChildren().
|
static |
Space dividing buses and bridges.
Definition at line 81 of file MachineCanvasLayoutConstraints.hh.
Referenced by BusChainFigure::layoutChildren().
|
static |
Width of a bridge.
Definition at line 77 of file MachineCanvasLayoutConstraints.hh.
Referenced by BidirBridgeFigure::BidirBridgeFigure(), and BridgeFigure::BridgeFigure().
|
static |
Minimum height of a bus.
Definition at line 73 of file MachineCanvasLayoutConstraints.hh.
Referenced by BusChainFigure::BusChainFigure(), and BusFigure::BusFigure().
|
static |
Minimum width of a bus.
Definition at line 71 of file MachineCanvasLayoutConstraints.hh.
Referenced by BusChainFigure::BusChainFigure(), BusFigure::BusFigure(), ContentsFigure::layoutChildren(), and SegmentFigure::SegmentFigure().
|
static |
Space between buses and bus chains.
Definition at line 75 of file MachineCanvasLayoutConstraints.hh.
Referenced by MoveFigure::drawSelf(), BusContainerFigure::layoutChildren(), ContentsFigure::layoutChildren(), BusContainerFigure::layoutSelf(), and SocketBusConnFigure::layoutSelf().
|
static |
Space reserved for port-socket-connections.
Definition at line 87 of file MachineCanvasLayoutConstraints.hh.
Referenced by ContentsFigure::layoutChildren(), and ContentsFigure::layoutSelf().
|
static |
Maximun unit name width in pixels.
Definition at line 49 of file MachineCanvasLayoutConstraints.hh.
Referenced by UnitFigure::layoutSelf().
|
static |
Constant used for port width calculation.
Definition at line 55 of file MachineCanvasLayoutConstraints.hh.
Referenced by UnitPortFigure::UnitPortFigure().
|
static |
Minimum Width of a port.
Definition at line 53 of file MachineCanvasLayoutConstraints.hh.
Referenced by UnitPortFigure::UnitPortFigure().
|
static |
Space between ports.
Definition at line 57 of file MachineCanvasLayoutConstraints.hh.
Referenced by UnitFigure::layoutChildren(), and UnitFigure::layoutSelf().
|
static |
Default Width of a port.
Definition at line 51 of file MachineCanvasLayoutConstraints.hh.
Referenced by SocketPortConnFigure::drawConnection(), MoveFigure::drawSelf(), SocketPortConnFigure::layoutSelf(), UnitFigure::layoutSelf(), and UnitPortFigure::UnitPortFigure().
|
static |
Height of a segment.
Definition at line 69 of file MachineCanvasLayoutConstraints.hh.
Referenced by SegmentFigure::SegmentFigure().
|
static |
Space dividing segments.
Definition at line 67 of file MachineCanvasLayoutConstraints.hh.
Referenced by BusFigure::layoutChildren(), and BusFigure::layoutSelf().
|
static |
Height of a socket.
Definition at line 61 of file MachineCanvasLayoutConstraints.hh.
Referenced by InputSocketFigure::InputSocketFigure(), OutputSocketFigure::OutputSocketFigure(), and UnknownSocketFigure::UnknownSocketFigure().
|
static |
Space dividing connected sockets.
Definition at line 65 of file MachineCanvasLayoutConstraints.hh.
Referenced by UnitPortFigure::layoutChildren().
|
static |
Space dividing unconnected sockets.
Definition at line 63 of file MachineCanvasLayoutConstraints.hh.
Referenced by SocketContainerFigure::layoutChildren().
|
static |
Width of a socket.
Definition at line 59 of file MachineCanvasLayoutConstraints.hh.
Referenced by MoveFigure::drawSelf(), InputSocketFigure::InputSocketFigure(), SocketContainerFigure::layoutChildren(), UnitPortFigure::layoutChildren(), SocketContainerFigure::layoutSelf(), SocketBusConnFigure::layoutSelf(), OutputSocketFigure::OutputSocketFigure(), and UnknownSocketFigure::UnknownSocketFigure().
|
static |
Size of the sockets' direction triangle.
Definition at line 89 of file MachineCanvasLayoutConstraints.hh.
Referenced by InputSocketFigure::drawSelf(), and OutputSocketFigure::drawSelf().
|
static |
Minimum unit height.
Definition at line 45 of file MachineCanvasLayoutConstraints.hh.
Referenced by UnitFigure::UnitFigure().
|
static |
Space between units.
Definition at line 47 of file MachineCanvasLayoutConstraints.hh.
Referenced by UnitContainerFigure::layoutChildren().
|
static |
Minimum unit width.
Definition at line 43 of file MachineCanvasLayoutConstraints.hh.
Referenced by UnitFigure::UnitFigure().
|
static |
Left margin.
Definition at line 85 of file MachineCanvasLayoutConstraints.hh.
Referenced by ContentsFigure::layoutChildren().
|
static |
Top margin for the whole processor view.
Definition at line 83 of file MachineCanvasLayoutConstraints.hh.
Referenced by ContentsFigure::layoutChildren(), and ContentsFigure::layoutSelf().