Changeset View
Changeset View
Standalone View
Standalone View
krita/ui/kis_canvas_resource_provider.h
Show First 20 Lines • Show All 53 Lines • ▼ Show 20 Line(s) | 52 | public: | |||
---|---|---|---|---|---|
54 | enum Resources { | 54 | enum Resources { | ||
55 | HdrExposure = KoCanvasResourceManager::KritaStart + 1, | 55 | HdrExposure = KoCanvasResourceManager::KritaStart + 1, | ||
56 | CurrentPattern, | 56 | CurrentPattern, | ||
57 | CurrentGradient, | 57 | CurrentGradient, | ||
58 | CurrentDisplayProfile, | 58 | CurrentDisplayProfile, | ||
59 | CurrentImage, | 59 | CurrentImage, | ||
60 | CurrentKritaNode, | 60 | CurrentKritaNode, | ||
61 | CurrentPaintOpPreset, | 61 | CurrentPaintOpPreset, | ||
62 | CurrentEraserMode, | ||||
62 | CurrentGeneratorConfiguration, | 63 | CurrentGeneratorConfiguration, | ||
63 | CurrentCompositeOp, | 64 | CurrentCompositeOp, | ||
64 | MirrorHorizontal, | 65 | MirrorHorizontal, | ||
65 | MirrorVertical, | 66 | MirrorVertical, | ||
66 | MirrorAxesCenter, | 67 | MirrorAxesCenter, | ||
67 | Opacity, | 68 | Opacity, | ||
68 | HdrGamma, | 69 | HdrGamma, | ||
69 | GlobalAlphaLock, | 70 | GlobalAlphaLock, | ||
Show All 32 Lines | |||||
102 | KisNodeSP currentNode() const; | 103 | KisNodeSP currentNode() const; | ||
103 | 104 | | |||
104 | KisPaintOpPresetSP currentPreset() const; | 105 | KisPaintOpPresetSP currentPreset() const; | ||
105 | void setPaintOpPreset(const KisPaintOpPresetSP preset); | 106 | void setPaintOpPreset(const KisPaintOpPresetSP preset); | ||
106 | 107 | | |||
107 | KisPaintOpPresetSP previousPreset() const; | 108 | KisPaintOpPresetSP previousPreset() const; | ||
108 | void setPreviousPaintOpPreset(const KisPaintOpPresetSP preset); | 109 | void setPreviousPaintOpPreset(const KisPaintOpPresetSP preset); | ||
109 | 110 | | |||
111 | bool currentEraserMode() const; | ||||
112 | void setEraserMode(const bool mode); | ||||
113 | | ||||
110 | KisFilterConfiguration* currentGeneratorConfiguration() const; | 114 | KisFilterConfiguration* currentGeneratorConfiguration() const; | ||
111 | 115 | | |||
112 | void setCurrentCompositeOp(const QString& compositeOp); | 116 | void setCurrentCompositeOp(const QString& compositeOp); | ||
113 | QString currentCompositeOp() const; | 117 | QString currentCompositeOp() const; | ||
114 | 118 | | |||
115 | QList<QPointer<KisAbstractPerspectiveGrid> > perspectiveGrids() const; | 119 | QList<QPointer<KisAbstractPerspectiveGrid> > perspectiveGrids() const; | ||
116 | void addPerspectiveGrid(KisAbstractPerspectiveGrid*); | 120 | void addPerspectiveGrid(KisAbstractPerspectiveGrid*); | ||
117 | void removePerspectiveGrid(KisAbstractPerspectiveGrid*); | 121 | void removePerspectiveGrid(KisAbstractPerspectiveGrid*); | ||
▲ Show 20 Lines • Show All 83 Lines • Show Last 20 Lines |