25#ifndef LAYER_BOX_SELECTOR_H
26#define LAYER_BOX_SELECTOR_H
28#include <wx/bmpcbox.h>
72 LAYER_BOX_SELECTOR( wxWindow* parent, wxWindowID
id,
const wxPoint& pos = wxDefaultPosition,
73 const wxSize& size = wxDefaultSize,
int n = 0,
74 const wxString choices[] =
nullptr );
76 LAYER_BOX_SELECTOR( wxWindow* parent, wxWindowID
id,
const wxPoint& pos,
const wxSize& size,
77 const wxArrayString& choices );
A color representation with 4 components: red, green, blue, alpha.
~LAYER_BOX_SELECTOR() override
void onKeyDown(wxKeyEvent &aEvent)
LAYER_BOX_SELECTOR(wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, int n=0, const wxString choices[]=nullptr)
int GetLayerSelection() const
int SetLayerSelection(int layer)
Base class to build a layer list.
virtual COLOR4D getLayerColor(int aLayer) const =0
static void DrawColorSwatch(wxBitmap &aLayerbmp, const COLOR4D &aBackground, const COLOR4D &aColor)
virtual bool isLayerEnabled(int aLayer) const =0
bool SetLayersHotkeys(bool value)
virtual ~LAYER_SELECTOR()
virtual wxString getLayerName(int aLayer) const =0