#include <kis_cursor_cache.h>
|
| | KisCursorCache () |
| |
| QCursor | load (const QString &cursorName, int width, int height, int hotspotX, int hotspotY) |
| |
|
| QHash< QString, QPair< QPoint, QCursor > > | cursorHash |
| |
Definition at line 20 of file kis_cursor_cache.h.
◆ KisCursorCache()
| KisCursorCache::KisCursorCache |
( |
| ) |
|
◆ instance()
◆ load()
| QCursor KisCursorCache::load |
( |
const QString & | cursorName, |
|
|
int | width, |
|
|
int | height, |
|
|
int | hotspotX, |
|
|
int | hotspotY ) |
Definition at line 62 of file kis_cursor_cache.cpp.
63{
66 }
67
68
69 QCursor newCursor = loadImpl(cursorName, hotspotX, hotspotY, width, height);
70 cursorHash.insert(cursorName, QPair<QPoint, QCursor>(QPoint(hotspotX, hotspotY), newCursor));
71 return newCursor;
72}
QHash< QString, QPair< QPoint, QCursor > > cursorHash
References cursorHash.
◆ cursorHash
| QHash<QString, QPair<QPoint, QCursor> > KisCursorCache::cursorHash |
|
private |
The documentation for this class was generated from the following files: