20#ifndef KICAD_COLOR4D_VARIANT_H 
   21#define KICAD_COLOR4D_VARIANT_H 
   24#include <wx/variant.h> 
   35    bool Eq( wxVariantData& aOther ) 
const override;
 
   37    wxString 
GetType()
 const override { 
return wxT( 
"COLOR4D" ); }
 
   39    bool Read( wxString& aString ) 
override;
 
   41    bool Write( wxString& aString ) 
const override;
 
   43    bool GetAsAny( wxAny* aAny ) 
const override;
 
 
bool Write(wxString &aString) const override
 
bool GetAsAny(wxAny *aAny) const override
 
wxString GetType() const override
 
void SetColor(const KIGFX::COLOR4D &aColor)
 
const KIGFX::COLOR4D & Color()
 
static wxVariantData * VariantDataFactory(const wxAny &aAny)
 
bool Read(wxString &aString) override
 
bool Eq(wxVariantData &aOther) const override
 
A color representation with 4 components: red, green, blue, alpha.