mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-18 01:19:45 +08:00
This new class allows to let wxWidgets select the appropriate cursor, similarly to how wxBitmapBundle allows to select the bitmap of the appropriate size. Document the new class and show using it in the drawing sample.
56 lines
2.6 KiB
C
56 lines
2.6 KiB
C
/* XPM */
|
|
static char const *const cursor_2x_xpm[] = {
|
|
"48 48 4 1",
|
|
" c None",
|
|
". c #000000",
|
|
"+ c #FFFFFF",
|
|
"x c #00FF00",
|
|
" ",
|
|
" ++ ",
|
|
" +..+ ",
|
|
" +..+ ",
|
|
" +..+ ",
|
|
" +..+ ",
|
|
" +..+ ",
|
|
" ++++++..++++++ ",
|
|
" +...... ......+ ",
|
|
" +...... ......+ ",
|
|
" ++++++..++++++ ",
|
|
" +..+x ",
|
|
" +..+xx ",
|
|
" +..+ xx ",
|
|
" +..+ xx ",
|
|
" +..+ xx ",
|
|
" ++ xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx ",
|
|
" xx"};
|