phoenix_title wx.lib.agw.cubecolourdialog.BrightCtrl

Implements the drawing, mouse handling and sizing routines for the brightness palette control.


class_hierarchy Class Hierarchy

Inheritance diagram for class BrightCtrl:

method_summary Methods Summary

__init__

Default class constructor.

DrawMarkers

Draws square markers used with mouse gestures.

OnPaint

Handles the wx.EVT_PAINT for BrightCtrl.

TrackPoint

Tracks a mouse action inside the palette control.


api Class API

class BrightCtrl(BaseLineCtrl)

Implements the drawing, mouse handling and sizing routines for the brightness palette control.


Methods

__init__(self, parent)

Default class constructor. Used internally. Do not call it in your code!

Parameters

parent – the control parent window.



DrawMarkers(self, dc=None)

Draws square markers used with mouse gestures.

Parameters

dc – an instance of wx.DC.



OnPaint(self, event)

Handles the wx.EVT_PAINT for BrightCtrl.

Parameters

event – a PaintEvent event to be processed.



TrackPoint(self, pt)

Tracks a mouse action inside the palette control.

Parameters

pt – an instance of wx.Point.