Changeset View
Changeset View
Standalone View
Standalone View
plugins/dockers/advancedcolorselector/kis_color_selector.h
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Line(s) | 69 | private: | |||
---|---|---|---|---|---|
85 | KisColorSelectorConfiguration m_configuration; | 85 | KisColorSelectorConfiguration m_configuration; | ||
86 | 86 | | |||
87 | KoColor m_lastRealColor; | 87 | KoColor m_lastRealColor; | ||
88 | KoColor m_currentRealColor; | 88 | KoColor m_currentRealColor; | ||
89 | bool m_blipDisplay; | 89 | bool m_blipDisplay; | ||
90 | Acs::ColorRole m_lastColorRole; | 90 | Acs::ColorRole m_lastColorRole; | ||
91 | 91 | | |||
92 | 92 | | |||
93 | /// if Krita starts with a reference to this componenet that is attached to a canvas, it will call setCanvas() | 93 | /// if Krita starts with a reference to this component that is attached to a canvas, it will call setCanvas() | ||
94 | /// that check will be what ultimately decides whether this component will look enabled or disabled | 94 | /// that check will be what ultimately decides whether this component will look enabled or disabled | ||
95 | /// This color selector is sometimes not attached to the canvas, so we shouldn't disable it in that situation | 95 | /// This color selector is sometimes not attached to the canvas, so we shouldn't disable it in that situation | ||
96 | /// One instane of that is when you select the color wheel type from the settings. | 96 | /// One instance of that is when you select the color wheel type from the settings. | ||
97 | bool m_hasAtLeastOneDocumentOpen = true; | 97 | bool m_hasAtLeastOneDocumentOpen = true; | ||
98 | 98 | | |||
99 | public: | 99 | public: | ||
100 | void setDisplayBlip(bool disp) {m_blipDisplay = disp;} | 100 | void setDisplayBlip(bool disp) {m_blipDisplay = disp;} | ||
101 | bool displayBlip() const {return m_blipDisplay;} | 101 | bool displayBlip() const {return m_blipDisplay;} | ||
102 | }; | 102 | }; | ||
103 | 103 | | |||
104 | #endif // KIS_COLSELNG_COLOR_SELECTOR_H | 104 | #endif // KIS_COLSELNG_COLOR_SELECTOR_H |