AGW Logo

agw_title BrightCtrl

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

hierarchy Inheritance Diagram

Inheritance diagram for: BrightCtrl

Inheritance diagram of BrightCtrl


supclasses Known Superclasses


method_summary Methods Summary

__init__Default class constructor.
DrawMarkersDraws square markers used with mouse gestures.
OnPaintHandles the wx.EVT_PAINT for BrightCtrl.
TrackPointTracks a mouse action inside the palette control.

API Class API

class BrightCtrl(BaseLineCtrl)[source]

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



__init__(parent)[source]

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

Parameters:parent – the control parent window.


DrawMarkers(dc=None)[source]

Draws square markers used with mouse gestures.

Parameters:dc – an instance of wx.DC.


OnPaint(event)[source]

Handles the wx.EVT_PAINT for BrightCtrl.

Parameters:event – a wx.PaintEvent event to be processed.


TrackPoint(pt)[source]

Tracks a mouse action inside the palette control.

Parameters:pt – an instance of wx.Point.
Tree

Table Of Contents

Previous topic

BasePyControl

Next topic

Colour