24#ifndef CURSOR_STORE__H
25#define CURSOR_STORE__H
36#if wxCHECK_VERSION( 3, 3, 0 )
142#if wxCHECK_VERSION( 3, 3, 0 )
148 const wxCursorBundle& storeGetBundle(
KICURSOR aIdKey )
const;
159#if wxCHECK_VERSION( 3, 3, 0 )
161 std::map<KICURSOR, wxCursorBundle> m_bundleMap;
Simple class to construct and store cursors against unique ID keys.
std::map< KICURSOR, wxCursor > m_hidpiCursorMap
static const WX_CURSOR_TYPE GetCursor(KICURSOR aCursorType, bool aHiDPI=false)
Get a cursor bundle (wx 3.3+) or appropriate cursor (older versions)
static wxStockCursor GetStockCursor(KICURSOR aCursorType)
Get stock cursor type for the given cursor.
CURSOR_STORE()
Construct a store with cursors for all defined types.
const wxCursor & storeGetCursor(KICURSOR aIdKey, bool aHiDPI=false) const
Get a cursor by its ID, automatically selecting the appropriate resolution.
std::map< KICURSOR, wxCursor > m_standardCursorMap
wxCursor WX_CURSOR_TYPE
Represents either a wxCursorBundle for wx 3.3+ or a wxCursor for older versions.
const char ** m_xpm
The "hotspot" where the cursor "is" in the image.