21#ifndef LAYER_BOX_SELECTOR_H
22#define LAYER_BOX_SELECTOR_H
24#include <wx/bmpcbox.h>
53 LAYER_BOX_SELECTOR( wxWindow* parent, wxWindowID
id,
const wxPoint& pos = wxDefaultPosition,
54 const wxSize& size = wxDefaultSize,
int n = 0,
55 const wxString choices[] =
nullptr );
69 void onKeyDown( wxKeyEvent& aEvent );
70 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()