-
Notifications
You must be signed in to change notification settings - Fork 0
DrawAssembly Class
DrawAssembly is used to generate and define positions for the frame of widgets and graphs. From there, it calls the appropriate functions and classes, so they can follow this pattern of positions.
_coordinateNum (int)
CoordinateNum is by default set to 2, since we need two values to define where an object is - X and Y.
_frameWidth (int)
FrameWidth is set in the setup(), and describes how many positions you'd want from left to right.
_frameHeight (int)
FrameHeight is set in the setup(), and describes how many positions you'd want from Top to Bottom.
[,,] _frameCoordinates (int)
These previous four parameters is the foundation of the framework or grid. _coordinateNum, _frameWidth and _frameHeight is used to create the array of positions stored in _frameCoordinates.
These properties is set by SetGraphPosition(), and looks at where to put the widgets and graph, so they won't overlap.
RowStart (int)
RowJump (int)
RowStop (int)
PutGraph (int)
CountWidgets (int)
SwipeLength (float)
SwipeMargin (float)
GlobalRadius (int)
SwipeAmount (float)
ContentHeight (float)
ContentWidth (float)
FrameAreaMarginLEFT (int)
FrameAreaMarginTOP (int)
FrameAreaHeight (int)
FrameAreaWidth (int)
WidgetMarginTOP (int)
WidgetMarginLEFT (int)
MainDrawingArea (Gdk.Window)
GraphPosition (int)