| Method Summary |
| |
__init__(self,
parent,
id,
pos,
size,
bufferedstyle)
Default class constructor. |
| |
CircleCoords(self,
radius,
angle,
centerX,
centerY)
Used internally. |
| |
Draw(self,
dc)
Draws everything on the empty bitmap. |
| |
DrawBoundingCircle(self,
dc,
size)
Draws the KnobCtrl bounding circle. |
| |
DrawDiagonalGradient(self,
dc,
size)
Draw a shding of diagonal gradient to KnobCtrl. |
| |
DrawInsetCircle(self,
dc,
pencolour)
Draws the small knob. |
| |
DrawTags(self,
dc,
size)
Draws the tags. |
| |
GetAngleFromCoord(self,
cx,
cy)
Used internally. |
| |
GetAngularRange(self)
Returns the angular range for KnobCtrl. |
| |
GetBoundingColour(self)
Returns the bounding circle colour. |
| |
GetFirstGradientColour(self)
Returns the first gradient colour for shading. |
| |
GetKnobRadius(self)
Returns the knob radius. |
| |
GetMaxValue(self)
Returns the maximum value for KnobCtrl. |
| |
GetMinValue(self)
Returns the minimum value for KnobCtrl. |
| |
GetSecondGradientColour(self)
Returns the second gradient colour for shading. |
| |
GetTags(self)
Returns the KnobCtrl tags. |
| |
GetTagsColour(self)
Returns the tags colour. |
| |
GetTrackPosition(self)
Used internally. |
| |
GetValue(self)
Returns the value of KnobCtrl. |
| |
OffsetColor(self,
color,
offset)
Used internally. |
| |
OnMouseEvents(self,
event)
Handles all the wx.EVT_MOUSE_EVENTS for KnobCtrl. |
| |
SetAngularRange(self,
start,
end)
Sets the angular range for KnobCtrl. |
| |
SetBoundingColour(self,
colour)
Sets the bounding circle colour. |
| |
SetFirstGradientColour(self,
colour)
Sets the first gradient colour for shading. |
| |
SetKnobRadius(self,
radius)
Sets the knob radius. |
| |
SetSecondGradientColour(self,
colour)
Sets the second gradient colour for shading. |
| |
SetTags(self,
tags)
Sets the tags for KnobCtrl. |
| |
SetTagsColour(self,
colour)
Sets the tags colour. |
| |
SetTrackPosition(self)
Used internally. |
| |
SetValue(self,
val)
Sets programmatically the value of KnobCtrl, without sending
events. |