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