Implements the drawing, mouse handling and sizing routines for the RGB cube colour.
wx.lib.agw.cubecolourdialog.BasePyControl
Default class constructor. |
|
Draws the lines connecting the markers on top of the background bitmap. |
|
Draws the markers on top of the background bitmap. |
|
Handles the |
|
Handles the |
|
Handles the |
RGBCube
(BasePyControl)¶Implements the drawing, mouse handling and sizing routines for the RGB cube colour.
__init__
(self, parent)¶Default class constructor. Used internally. Do not call it in your code!
parent – the control parent window.
DrawLines
(self, dc)¶Draws the lines connecting the markers on top of the background bitmap.
dc – an instance of wx.DC
.
DrawMarkers
(self, dc=None)¶Draws the markers on top of the background bitmap.
dc – an instance of wx.DC
.
OnLeftDown
(self, event)¶Handles the wx.EVT_LEFT_DOWN
for RGBCube
.
event – a MouseEvent
event to be processed.
OnLeftUp
(self, event)¶Handles the wx.EVT_LEFT_UP
for RGBCube
.
event – a MouseEvent
event to be processed.