25#ifndef LAYER_BOX_SELECTOR_H
26#define LAYER_BOX_SELECTOR_H
28#include <wx/bmpcbox.h>
70 LAYER_BOX_SELECTOR( wxWindow* parent, wxWindowID
id,
const wxPoint& pos = wxDefaultPosition,
71 const wxSize& size = wxDefaultSize,
int n = 0,
72 const wxString choices[] =
nullptr );
89 void onKeyDown( wxKeyEvent& aEvent );
90 void OnDrawBackground( wxDC& dc,
const wxRect& rect,
int item,
int flags)
const override;
A color representation with 4 components: red, green, blue, alpha.
~LAYER_BOX_SELECTOR() override
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