24 #ifndef ROW_INDICATOR__H_ 25 #define ROW_INDICATOR__H_ 27 #include <wx/statbmp.h> 85 ICON_ID aInitialIcon,
int aID );
159 #endif // ROW_INDICATOR__H_ void SetIndicatorState(ICON_ID aIconId)
Set the row indicator to the given state.
virtual const wxBitmap & GetIndicatorIcon(ICON_ID aIconId) const =0
Get a reference to the row icon in the given mode.
Icon provider for the "standard" row indicators, for example in layer selection lists.
wxStaticBitmap * m_bitmap
Is the icon currently "on".
int ICON_ID
An id that refers to a certain icon state.
wxBitmap m_downArrowBitmap
INDICATOR_ICON(wxWindow *aParent, ICON_PROVIDER &aIconProvider, ICON_ID aInitialIcon, int aID)
ICON_PROVIDER & m_iconProvider
< An class that delivers icons for the indicator (currently just uses a default implementation).
representing a row indicator icon for use in places like the layer widget
const wxBitmap & GetIndicatorIcon(INDICATOR_ICON::ICON_ID aIconId) const override
Get a reference to the row icon in the given mode.
static ICON_PROVIDER & GetDefaultRowIconProvider(bool aAlternative)
Accessor for the default icon providers, which take true and false for IDs, meaning on/off.
A simple object that can provide fixed bitmaps for use as row indicators.
ROW_ICON_PROVIDER(int aSize)
Get a reference to the row icon in the given mode.
ICON_ID GetIndicatorState() const
wxBitmap m_rightArrowBitmap
STATE
< State constants to select the right icons
void SetWindowID(wxWindowID aId)
Updates the window ID of this control and its children.
Row "off" or "deselected".