Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/kis_canvas_resource_provider.h
Context not available. | |||||
36 | class KoCanvasBase; | 36 | class KoCanvasBase; | ||
---|---|---|---|---|---|
37 | class KisViewManager; | 37 | class KisViewManager; | ||
38 | class KoPattern; | 38 | class KoPattern; | ||
39 | class KoGamutMask; | ||||
39 | class KisFilterConfiguration; | 40 | class KisFilterConfiguration; | ||
40 | 41 | | |||
41 | #include <kis_abstract_perspective_grid.h> | 42 | #include <kis_abstract_perspective_grid.h> | ||
Context not available. | |||||
53 | enum Resources { | 54 | enum Resources { | ||
54 | HdrExposure = KoCanvasResourceManager::KritaStart + 1, | 55 | HdrExposure = KoCanvasResourceManager::KritaStart + 1, | ||
55 | CurrentPattern, | 56 | CurrentPattern, | ||
57 | CurrentGamutMask, | ||||
56 | CurrentGradient, | 58 | CurrentGradient, | ||
57 | CurrentDisplayProfile, | 59 | CurrentDisplayProfile, | ||
58 | CurrentKritaNode, | 60 | CurrentKritaNode, | ||
Context not available. | |||||
115 | 117 | | |||
116 | KisNodeSP currentNode() const; | 118 | KisNodeSP currentNode() const; | ||
117 | 119 | | |||
120 | KoGamutMask* currentGamutMask() const; | ||||
121 | | ||||
118 | KisPaintOpPresetSP currentPreset() const; | 122 | KisPaintOpPresetSP currentPreset() const; | ||
119 | void setPaintOpPreset(const KisPaintOpPresetSP preset); | 123 | void setPaintOpPreset(const KisPaintOpPresetSP preset); | ||
120 | 124 | | |||
Context not available. | |||||
186 | void slotNodeActivated(const KisNodeSP node); | 190 | void slotNodeActivated(const KisNodeSP node); | ||
187 | void slotPainting(); | 191 | void slotPainting(); | ||
188 | 192 | | |||
193 | void slotGamutMaskActivated(KoGamutMask* mask); | ||||
194 | void slotGamutMaskUnset(); | ||||
195 | | ||||
189 | /** | 196 | /** | ||
190 | * Set the image size in pixels. The resource provider will store | 197 | * Set the image size in pixels. The resource provider will store | ||
191 | * the image size in postscript points. | 198 | * the image size in postscript points. | ||
Context not available. | |||||
225 | void moveMirrorVerticalCenter(); | 232 | void moveMirrorVerticalCenter(); | ||
226 | void moveMirrorHorizontalCenter(); | 233 | void moveMirrorHorizontalCenter(); | ||
227 | 234 | | |||
235 | void sigGamutMaskChanged(KoGamutMask* mask); | ||||
236 | void sigGamutMaskUnset(); | ||||
228 | 237 | | |||
229 | private: | 238 | private: | ||
230 | 239 | | |||
Context not available. |