Play 'round
|
The round shaped platform to put on strings and tracks. More...
#include <Widget.h>
Public Member Functions | |
RoundPad (Point2D center, float radius) | |
virtual Point2D | getCenter () |
virtual float | getRadius () |
virtual void | setRadius (float radius) |
virtual void | draw () |
virtual Widget * | hitTest (float x, float y) |
virtual void | toOutboundPacketStream (osc::OutboundPacketStream &) const |
virtual Text * | getCommentText () const |
virtual void | setCommentText (const std::string comment) |
virtual void | appendCommentText (const std::string comment) |
Protected Member Functions | |
virtual bool | handleDraw (float x, float y) |
The draw event called when the user drags from this widget. | |
virtual bool | handleDrawEnd (float x, float y) |
The last draw event called when the user finishes dragging. | |
virtual bool | handleHover (float x, float y) |
Called when the user's mouse is hovering on the widget. | |
Protected Attributes | |
Point2D | m_center |
float | m_radius |
Track * | m_newTrack |
Line | m_hoverLine |
Line | m_dragLine |
Text * | m_commentText |
SpiralTrack * | m_newSpiralTrack |
String * | m_newString |
std::vector< Spiral * > | m_circles |
std::vector< Track * > | m_tracks |
The round shaped platform to put on strings and tracks.