KiCad PCB EDA Suite
|
#include <vector>
#include <gal/cursors.h>
#include <kiplatform/ui.h>
#include <cursors/cursor-add.xpm>
#include <cursors/cursor-component.xpm>
#include <cursors/cursor-eraser.xpm>
#include <cursors/cursor-label-global.xpm>
#include <cursors/cursor-label-hier.xpm>
#include <cursors/cursor-label-net.xpm>
#include <cursors/cursor-line-bus.xpm>
#include <cursors/cursor-line-graphic.xpm>
#include <cursors/cursor-line-wire.xpm>
#include <cursors/cursor-line-wire-add.xpm>
#include <cursors/cursor-measure.xpm>
#include <cursors/cursor-pencil.xpm>
#include <cursors/cursor-select-lasso.xpm>
#include <cursors/cursor-select-window.xpm>
#include <cursors/cursor-subtract.xpm>
#include <cursors/cursor-text.xpm>
#include <cursors/cursor-xor.xpm>
#include <cursors/cursor-zoom-in.xpm>
#include <cursors/cursor-zoom-out.xpm>
#include <cursors/cursor_tune.xpm>
#include <cursors/voltage_probe.xpm>
#include <cursors/current_probe.xpm>
#include <cursors/cursor-add64.xpm>
#include <cursors/cursor-component64.xpm>
#include <cursors/cursor-eraser64.xpm>
#include <cursors/cursor-label-global64.xpm>
#include <cursors/cursor-label-hier64.xpm>
#include <cursors/cursor-label-net64.xpm>
#include <cursors/cursor-line-bus64.xpm>
#include <cursors/cursor-line-graphic64.xpm>
#include <cursors/cursor-line-wire64.xpm>
#include <cursors/cursor-line-wire-add64.xpm>
#include <cursors/cursor-measure64.xpm>
#include <cursors/cursor-pencil64.xpm>
#include <cursors/cursor-select-lasso64.xpm>
#include <cursors/cursor-select-window64.xpm>
#include <cursors/cursor-subtract64.xpm>
#include <cursors/cursor-text64.xpm>
#include <cursors/cursor-xor64.xpm>
#include <cursors/cursor-zoom-in64.xpm>
#include <cursors/cursor-zoom-out64.xpm>
#include <cursors/cursor_tune64.xpm>
#include <cursors/voltage_probe64.xpm>
#include <cursors/current_probe64.xpm>
#include <cursors/cursor-place-black.xpm>
#include <cursors/cursor-place-black64.xpm>
#include <cursors/cursor-select-m-black.xpm>
#include <cursors/cursor-select-m-black64.xpm>
#include <wx/bitmap.h>
#include <wx/debug.h>
Go to the source code of this file.
Functions | |
wxCursor | constructCursor (const CURSOR_STORE::CURSOR_DEF &aDef) |
Construct a cursor for the given definition. | |
Variables | |
static const std::vector< CURSOR_STORE::CURSOR_DEF > | standard_cursors |
static const std::vector< CURSOR_STORE::CURSOR_DEF > | hidpi_cursors |
wxCursor constructCursor | ( | const CURSOR_STORE::CURSOR_DEF & | aDef | ) |
Construct a cursor for the given definition.
How to do this depends on the platform, see http://docs.wxwidgets.org/trunk/classwx_cursor.html
aDef | the cursor definition |
Definition at line 512 of file cursors.cpp.
References image, CURSOR_STORE::CURSOR_DEF::m_hotspot, CURSOR_STORE::CURSOR_DEF::m_image_data, CURSOR_STORE::CURSOR_DEF::m_mask_data, CURSOR_STORE::CURSOR_DEF::m_size, and CURSOR_STORE::CURSOR_DEF::m_xpm.
Referenced by CURSOR_STORE::CURSOR_STORE().
|
static |
Definition at line 299 of file cursors.cpp.
Referenced by CURSOR_STORE::GetHiDPICursor().
|
static |
Definition at line 95 of file cursors.cpp.
Referenced by CURSOR_STORE::GetCursor().