25#ifndef LAYER_BOX_SELECTOR_H
26#define LAYER_BOX_SELECTOR_H
28#include <wx/bmpcbox.h>
57 LAYER_BOX_SELECTOR( wxWindow* parent, wxWindowID
id,
const wxPoint& pos = wxDefaultPosition,
58 const wxSize& size = wxDefaultSize,
int n = 0,
59 const wxString choices[] =
nullptr );
73 void onKeyDown( wxKeyEvent& aEvent );
74 void OnDrawBackground( wxDC& dc,
const wxRect& rect,
int item,
int flags)
const override;
~LAYER_BOX_SELECTOR() override
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)
virtual bool isLayerEnabled(int aLayer) const =0
Return true if the layer id is enabled (i.e. is it should be displayed).
bool SetLayersHotkeys(bool value)
virtual ~LAYER_SELECTOR()