PCITFiddler.h
Classes
- PCITFiddler -- Colormap fiddling on the PixelCanvas. (full description)
Types
- StretchAndShift
-
- BrightnessAndContrast
-
Interface
- Public Members
- PCITFiddler(PixelCanvas *pcanvas, const PCITFiddler::FiddleType &fiddletype = PCITFiddler::StretchAndShift, Display::KeySym keysym = Display::K_Pointer_Button1)
- virtual ~PCITFiddler()
- virtual void setFiddleType(const PCITFiddler::FiddleType &fiddletype)
- virtual PCITFiddler::FiddleType getFiddleType()
- virtual void positionReady()
Synopsis
This class provides colormap fiddling via an invisible
tool which gets registered with a specific PixelCanvas.
Member Description
PCITFiddler(PixelCanvas *pcanvas, const PCITFiddler::FiddleType &fiddletype = PCITFiddler::StretchAndShift, Display::KeySym keysym = Display::K_Pointer_Button1)
Constructor. Requires a PixelCanvas to fiddle upon, and
optional specification of the fiddling type and key to
detect.
Destructor.
Set/get the fiddle type.
This function is called when a new position is ready. We
implement it to fiddle the Colormap in this class.