Go to the documentation of this file.
49 Figure(), units_(NULL), buses_(NULL), sockets_(NULL) {
86 if (sockets != NULL) {
167 }
else if (
units_ != NULL) {
226 size_.SetWidth(width);
227 size_.SetHeight(height);
virtual ~ContentsFigure()
UnitContainerFigure * units_
Contains all the units.
static const int BUS_MIN_WIDTH
Minimum width of a bus.
BusContainerFigure * buses_
Contains all the buses.
#define assert(condition)
virtual void addChild(Figure *child)
virtual void draw(wxDC *dc)
SocketContainerFigure * sockets_
Contains all the sockets.
virtual void layoutSelf(wxDC *)
static const int CONNECTIONS_SPACE
Space reserved for port-socket-connections.
virtual void layoutChildren(wxDC *)
static const int VIEW_MARGIN
Top margin for the whole processor view.
static const int BUS_SPACE
Space between buses and bus chains.
static const int VIEW_LEFT_MARGIN
Left margin.