Play 'round
Public Member Functions | Protected Member Functions | Protected Attributes
RoundPad Class Reference

The round shaped platform to put on strings and tracks. More...

#include <Widget.h>

Inheritance diagram for RoundPad:
Widget Shape

List of all members.

Public Member Functions

 RoundPad (Point2D center, float radius)
virtual Point2D getCenter ()
virtual float getRadius ()
virtual void setRadius (float radius)
virtual void draw ()
virtual WidgethitTest (float x, float y)
virtual void toOutboundPacketStream (osc::OutboundPacketStream &) const
virtual TextgetCommentText () 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
Trackm_newTrack
Line m_hoverLine
Line m_dragLine
Textm_commentText
SpiralTrackm_newSpiralTrack
Stringm_newString
std::vector< Spiral * > m_circles
std::vector< Track * > m_tracks

Detailed Description

The round shaped platform to put on strings and tracks.


The documentation for this class was generated from the following files:
 All Classes Functions Enumerations