Krita Source Code Documentation
Loading...
Searching...
No Matches
KisColorSelectorBaseProxyObject Class Reference

#include <kis_color_selector_base_proxy.h>

+ Inheritance diagram for KisColorSelectorBaseProxyObject:

Public Member Functions

const KoColorSpacecolorSpace () const override
 
KisDisplayColorConverterconverter () const override
 
 KisColorSelectorBaseProxyObject (KisColorSelectorBase *parent)
 
void showColorPreview () override
 
void updateColor (const KoColor &color, Acs::ColorRole role, bool needsExplicitColorReset) override
 
void updateColorPreview (const KoColor &color) override
 
- Public Member Functions inherited from KisColorSelectorBaseProxy
virtual ~KisColorSelectorBaseProxy ()
 

Private Attributes

KisColorSelectorBasem_parent
 

Detailed Description

Definition at line 61 of file kis_color_selector_base_proxy.h.

Constructor & Destructor Documentation

◆ KisColorSelectorBaseProxyObject()

KisColorSelectorBaseProxyObject::KisColorSelectorBaseProxyObject ( KisColorSelectorBase * parent)

Definition at line 45 of file kis_color_selector_base_proxy.cpp.

46 : m_parent(parent)
47{
48}

Member Function Documentation

◆ colorSpace()

const KoColorSpace * KisColorSelectorBaseProxyObject::colorSpace ( ) const
overridevirtual

Implements KisColorSelectorBaseProxy.

Definition at line 50 of file kis_color_selector_base_proxy.cpp.

51{
52 return m_parent->colorSpace();
53}
const KoColorSpace * colorSpace() const

References KisColorSelectorBase::colorSpace(), and m_parent.

◆ converter()

KisDisplayColorConverter * KisColorSelectorBaseProxyObject::converter ( ) const
overridevirtual

Implements KisColorSelectorBaseProxy.

Definition at line 70 of file kis_color_selector_base_proxy.cpp.

71{
72 return m_parent->converter();
73}
KisDisplayColorConverter * converter() const

References KisColorSelectorBase::converter(), and m_parent.

◆ showColorPreview()

void KisColorSelectorBaseProxyObject::showColorPreview ( )
overridevirtual

◆ updateColor()

void KisColorSelectorBaseProxyObject::updateColor ( const KoColor & color,
Acs::ColorRole role,
bool needsExplicitColorReset )
overridevirtual

Implements KisColorSelectorBaseProxy.

Definition at line 65 of file kis_color_selector_base_proxy.cpp.

66{
67 m_parent->updateColor(color, role, needsExplicitColorReset);
68}
void updateColor(const KoColor &color, Acs::ColorRole role, bool needsExplicitColorReset)

References m_parent, and KisColorSelectorBase::updateColor().

◆ updateColorPreview()

void KisColorSelectorBaseProxyObject::updateColorPreview ( const KoColor & color)
overridevirtual

Implements KisColorSelectorBaseProxy.

Definition at line 60 of file kis_color_selector_base_proxy.cpp.

61{
63}
void updateColorPreview(const KoColor &color)

References m_parent, and KisColorSelectorBase::updateColorPreview().

Member Data Documentation

◆ m_parent

KisColorSelectorBase* KisColorSelectorBaseProxyObject::m_parent
private

Definition at line 73 of file kis_color_selector_base_proxy.h.


The documentation for this class was generated from the following files: