Home
last modified time | relevance | path

Searched refs:hotspotX (Results 1 – 25 of 237) sorted by relevance

12345678910

/dports/games/libretro-scummvm/scummvm-7b1e929/engines/lure/
H A Devents.cpp93 int hotspotX = 7, hotspotY = 7; in setCursorNum() local
95 hotspotX = 0; in setCursorNum()
99 setCursorNum(cursorNum, hotspotX, hotspotY); in setCursorNum()
102 void Mouse::setCursorNum(CursorType cursorNum, int hotspotX, int hotspotY) { in setCursorNum() argument
107 CursorMan.replaceCursor(cursorAddr, CURSOR_WIDTH, CURSOR_HEIGHT, hotspotX, hotspotY, 0); in setCursorNum()
111 int hotspotX = 7, hotspotY = 7; in pushCursorNum() local
113 hotspotX = 0; in pushCursorNum()
117 pushCursorNum(cursorNum, hotspotX, hotspotY); in pushCursorNum()
120 void Mouse::pushCursorNum(CursorType cursorNum, int hotspotX, int hotspotY) { in pushCursorNum() argument
125 CursorMan.pushCursor(cursorAddr, CURSOR_WIDTH, CURSOR_HEIGHT, hotspotX, hotspotY, 0); in pushCursorNum()
/dports/games/scummvm/scummvm-2.5.1/engines/lure/
H A Devents.cpp93 int hotspotX = 7, hotspotY = 7; in setCursorNum() local
95 hotspotX = 0; in setCursorNum()
99 setCursorNum(cursorNum, hotspotX, hotspotY); in setCursorNum()
102 void Mouse::setCursorNum(CursorType cursorNum, int hotspotX, int hotspotY) { in setCursorNum() argument
107 CursorMan.replaceCursor(cursorAddr, CURSOR_WIDTH, CURSOR_HEIGHT, hotspotX, hotspotY, 0); in setCursorNum()
111 int hotspotX = 7, hotspotY = 7; in pushCursorNum() local
113 hotspotX = 0; in pushCursorNum()
117 pushCursorNum(cursorNum, hotspotX, hotspotY); in pushCursorNum()
120 void Mouse::pushCursorNum(CursorType cursorNum, int hotspotX, int hotspotY) { in pushCursorNum() argument
125 CursorMan.pushCursor(cursorAddr, CURSOR_WIDTH, CURSOR_HEIGHT, hotspotX, hotspotY, 0); in pushCursorNum()
/dports/graphics/krita/krita-4.4.8/libs/widgetutils/
H A Dkis_cursor_cache.cpp140 inline QCursor fromBitmap(QSize size, const unsigned char* bits, int hotspotX, int hotspotY) in fromBitmap() argument
144 return QCursor(bitmap, mask, hotspotX, hotspotY); in fromBitmap()
147 QCursor loadImpl(const QString &cursorName, int hotspotX, int hotspotY) { in loadImpl() argument
211 return QCursor(bitmap, mask, hotspotX, hotspotY); in loadImpl()
227 QCursor KisCursorCache::load(const QString & cursorName, int hotspotX, int hotspotY) in load() argument
234 QCursor newCursor = loadImpl(cursorName, hotspotX, hotspotY); in load()
235 cursorHash.insert(cursorName, QPair<QPoint, QCursor>(QPoint(hotspotX, hotspotY), newCursor)); in load()
/dports/games/libretro-scummvm/scummvm-7b1e929/graphics/
H A Dtransform_struct.cpp43 TransformStruct::TransformStruct(int32 zoomX, int32 zoomY, uint32 angle, int32 hotspotX, int32 hots… in TransformStruct() argument
46 Common::Point(hotspotX, hotspotY), in TransformStruct()
54 TransformStruct::TransformStruct(float zoomX, float zoomY, uint32 angle, int32 hotspotX, int32 hots… in TransformStruct() argument
58 Common::Point(hotspotX, hotspotY), in TransformStruct()
78 TransformStruct::TransformStruct(int32 zoomX, int32 zoomY, uint32 angle, int32 hotspotX, int32 hots… in TransformStruct() argument
81 Common::Point(hotspotX, hotspotY), in TransformStruct()
H A Dcursorman.cpp62 void CursorManager::pushCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 … in pushCursor() argument
63 Cursor *cur = new Cursor(buf, w, h, hotspotX, hotspotY, keycolor, dontScale, format); in pushCursor()
68 g_system->setMouseCursor(cur->_data, w, h, hotspotX, hotspotY, keycolor, dontScale, format); in pushCursor()
106 void CursorManager::replaceCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint… in replaceCursor() argument
109 pushCursor(buf, w, h, hotspotX, hotspotY, keycolor, dontScale, format); in replaceCursor()
136 cur->_hotspotX = hotspotX; in replaceCursor()
147 g_system->setMouseCursor(cur->_data, w, h, hotspotX, hotspotY, keycolor, dontScale, format); in replaceCursor()
245 CursorManager::Cursor::Cursor(const void *data, uint w, uint h, int hotspotX, int hotspotY, uint32 … in Cursor() argument
263 _hotspotX = hotspotX; in Cursor()
H A Dcursorman.h76 …void pushCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, bool…
101 …void replaceCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, b…
198 …Cursor(const void *data, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, bool dontSca…
H A Dtransform_struct.h59 …TransformStruct(int32 zoomX, int32 zoomY, uint32 angle, int32 hotspotX, int32 hotspotY, TSpriteBle…
60 …TransformStruct(float zoomX, float zoomY, uint32 angle, int32 hotspotX, int32 hotspotY, TSpriteBle…
62 TransformStruct(int32 zoomX, int32 zoomY, uint32 angle, int32 hotspotX = 0, int32 hotspotY = 0);
/dports/games/residualvm/residualvm-0.3.1/graphics/
H A Dtransform_struct.cpp43 TransformStruct::TransformStruct(int32 zoomX, int32 zoomY, uint32 angle, int32 hotspotX, int32 hots… in TransformStruct() argument
46 Common::Point(hotspotX, hotspotY), in TransformStruct()
54 TransformStruct::TransformStruct(float zoomX, float zoomY, uint32 angle, int32 hotspotX, int32 hots… in TransformStruct() argument
58 Common::Point(hotspotX, hotspotY), in TransformStruct()
78 TransformStruct::TransformStruct(int32 zoomX, int32 zoomY, uint32 angle, int32 hotspotX, int32 hots… in TransformStruct() argument
81 Common::Point(hotspotX, hotspotY), in TransformStruct()
H A Dcursorman.cpp62 void CursorManager::pushCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 … in pushCursor() argument
63 Cursor *cur = new Cursor(buf, w, h, hotspotX, hotspotY, keycolor, dontScale, format); in pushCursor()
69 g_system->setMouseCursor(cur->_data, w, h, hotspotX, hotspotY, keycolor, dontScale, format); in pushCursor()
105 void CursorManager::replaceCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint… in replaceCursor() argument
108 pushCursor(buf, w, h, hotspotX, hotspotY, keycolor, dontScale, format); in replaceCursor()
135 cur->_hotspotX = hotspotX; in replaceCursor()
146 g_system->setMouseCursor(cur->_data, w, h, hotspotX, hotspotY, keycolor, dontScale, format); in replaceCursor()
236 CursorManager::Cursor::Cursor(const void *data, uint w, uint h, int hotspotX, int hotspotY, uint32 … in Cursor() argument
254 _hotspotX = hotspotX; in Cursor()
H A Dcursorman.h75 …void pushCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, bool…
100 …void replaceCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, b…
188 …Cursor(const void *data, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, bool dontSca…
H A Dtransform_struct.h59 …TransformStruct(int32 zoomX, int32 zoomY, uint32 angle, int32 hotspotX, int32 hotspotY, TSpriteBle…
60 …TransformStruct(float zoomX, float zoomY, uint32 angle, int32 hotspotX, int32 hotspotY, TSpriteBle…
62 TransformStruct(int32 zoomX, int32 zoomY, uint32 angle, int32 hotspotX = 0, int32 hotspotY = 0);
/dports/games/scummvm/scummvm-2.5.1/graphics/
H A Dtransform_struct.cpp43 TransformStruct::TransformStruct(int32 zoomX, int32 zoomY, uint32 angle, int32 hotspotX, int32 hots… in TransformStruct() argument
46 Common::Point(hotspotX, hotspotY), in TransformStruct()
54 TransformStruct::TransformStruct(float zoomX, float zoomY, uint32 angle, int32 hotspotX, int32 hots… in TransformStruct() argument
58 Common::Point(hotspotX, hotspotY), in TransformStruct()
78 TransformStruct::TransformStruct(int32 zoomX, int32 zoomY, uint32 angle, int32 hotspotX, int32 hots… in TransformStruct() argument
81 Common::Point(hotspotX, hotspotY), in TransformStruct()
H A Dcursorman.cpp62 void CursorManager::pushCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 … in pushCursor() argument
63 Cursor *cur = new Cursor(buf, w, h, hotspotX, hotspotY, keycolor, dontScale, format); in pushCursor()
68 g_system->setMouseCursor(cur->_data, w, h, hotspotX, hotspotY, keycolor, dontScale, format); in pushCursor()
106 void CursorManager::replaceCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint… in replaceCursor() argument
109 pushCursor(buf, w, h, hotspotX, hotspotY, keycolor, dontScale, format); in replaceCursor()
136 cur->_hotspotX = hotspotX; in replaceCursor()
147 g_system->setMouseCursor(cur->_data, w, h, hotspotX, hotspotY, keycolor, dontScale, format); in replaceCursor()
245 CursorManager::Cursor::Cursor(const void *data, uint w, uint h, int hotspotX, int hotspotY, uint32 … in Cursor() argument
263 _hotspotX = hotspotX; in Cursor()
H A Dcursorman.h87 …void pushCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, bool…
115 …void replaceCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, b…
229 …Cursor(const void *data, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, bool dontSca…
/dports/net/tigervnc-server/tigervnc-1.12.0/common/rfb/
H A DSMsgWriter.h136 int hotspotX, int hotspotY,
139 int hotspotX, int hotspotY,
142 int hotspotX, int hotspotY,
145 int hotspotX, int hotspotY,
147 void writeSetVMwareCursorPositionRect(int hotspotX, int hotspotY);
/dports/net/tigervnc-viewer/tigervnc-1.12.0/common/rfb/
H A DSMsgWriter.h136 int hotspotX, int hotspotY,
139 int hotspotX, int hotspotY,
142 int hotspotX, int hotspotY,
145 int hotspotX, int hotspotY,
147 void writeSetVMwareCursorPositionRect(int hotspotX, int hotspotY);
/dports/games/scummvm/scummvm-2.5.1/engines/sherlock/
H A Devents.cpp76 int hotspotX, hotspotY; in setCursor() local
79 hotspotX = 8; in setCursor()
82 hotspotX = 0; in setCursor()
89 setCursor(s, hotspotX, hotspotY); in setCursor()
94 void Events::setCursor(const Graphics::Surface &src, int hotspotX, int hotspotY) { in setCursor() argument
96 _hotspotPos = Common::Point(hotspotX, hotspotY); in setCursor()
100 CursorMan.replaceCursor(src.getPixels(), src.w, src.h, hotspotX, hotspotY, 0xff); in setCursor()
102 …CursorMan.replaceCursor(src.getPixels(), src.w, src.h, hotspotX, hotspotY, 0x0000, false, &src.for… in setCursor()
119 …CursorMan.replaceCursor(tempSurface.getPixels(), tempSurface.w, tempSurface.h, 2 * hotspotX, 2 * h… in setCursor()
/dports/x11-toolkits/swt/swt-4.20/org/eclipse/swt/graphics/
H A DCursor.java188 public Cursor(Device device, ImageData source, ImageData mask, int hotspotX, int hotspotY) { in Cursor() argument
200 if (hotspotX >= source.width || hotspotX < 0 || in Cursor()
239 handle = createCursor(maskData, sourceData, source.width, source.height, hotspotX, hotspotY, true); in Cursor()
273 public Cursor(Device device, ImageData source, int hotspotX, int hotspotY) { in Cursor() argument
276 if (hotspotX >= source.width || hotspotX < 0 || in Cursor()
351 handle = GDK.gdk_cursor_new_from_texture(texture, hotspotX, hotspotY, 0); in Cursor()
354 handle = GDK.gdk_cursor_new_from_pixbuf(display, pixbuf, hotspotX, hotspotY); in Cursor()
429 …handle = createCursor(sourceData, maskData, source.width, source.height, hotspotX, hotspotY, false… in Cursor()
435 long createCursor(byte[] sourceData, byte[] maskData, int width, int height, int hotspotX, int hots… in createCursor() argument
493 cursor = GDK.gdk_cursor_new_from_texture(texture, hotspotX, hotspotY, 0); in createCursor()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/
H A DCursor.java280 public Cursor(Device device, ImageData source, ImageData mask, int hotspotX, int hotspotY) { in Cursor() argument
294 if (hotspotX >= source.width || hotspotX < 0 || in Cursor()
326 createNSCursor(hotspotX, hotspotY, data, source.width, source.height, true); in Cursor()
333 void createNSCursor(int hotspotX, int hotspotY, byte[] buffer, int width, int height, boolean hasAl… in createNSCursor() argument
347 point.x = hotspotX; in createNSCursor()
383 public Cursor(Device device, ImageData source, int hotspotX, int hotspotY) { in Cursor() argument
386 if (hotspotX >= source.width || hotspotX < 0 || in Cursor()
446 createNSCursor(hotspotX, hotspotY, data, source.width, source.height, hasAlpha); in Cursor()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sherlock/
H A Devents.cpp76 int hotspotX, hotspotY; in setCursor() local
79 hotspotX = 8; in setCursor()
82 hotspotX = 0; in setCursor()
89 setCursor(s, hotspotX, hotspotY); in setCursor()
94 void Events::setCursor(const Graphics::Surface &src, int hotspotX, int hotspotY) { in setCursor() argument
96 _hotspotPos = Common::Point(hotspotX, hotspotY); in setCursor()
100 CursorMan.replaceCursor(src.getPixels(), src.w, src.h, hotspotX, hotspotY, 0xff); in setCursor()
102 …CursorMan.replaceCursor(src.getPixels(), src.w, src.h, hotspotX, hotspotY, 0x0000, false, &src.for… in setCursor()
119 …CursorMan.replaceCursor(tempSurface.getPixels(), tempSurface.w, tempSurface.h, 2 * hotspotX, 2 * h… in setCursor()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/
H A DCursor.java188 public Cursor(Device device, ImageData source, ImageData mask, int hotspotX, int hotspotY) { in Cursor() argument
200 if (hotspotX >= source.width || hotspotX < 0 || in Cursor()
239 handle = createCursor(maskData, sourceData, source.width, source.height, hotspotX, hotspotY, true); in Cursor()
273 public Cursor(Device device, ImageData source, int hotspotX, int hotspotY) { in Cursor() argument
276 if (hotspotX >= source.width || hotspotX < 0 || in Cursor()
346 handle = GDK.gdk_cursor_new_from_pixbuf(display, pixbuf, hotspotX, hotspotY); in Cursor()
420 …handle = createCursor(sourceData, maskData, source.width, source.height, hotspotX, hotspotY, false… in Cursor()
426 long createCursor(byte[] sourceData, byte[] maskData, int width, int height, int hotspotX, int hots… in createCursor() argument
483 cursor = GDK.gdk_cursor_new_from_texture (texture, hotspotX, hotspotY, 0); in createCursor()
485 …cursor = GDK.gdk_cursor_new_from_pixbuf(GDK.gdk_display_get_default(), pixbuf, hotspotX, hotspotY); in createCursor()
/dports/graphics/qt5-wayland/kde-qtwayland-5.15.2p37/src/imports/compositor/
H A DWaylandCursorItem.qml37 property int hotspotX: 0
46 x: -hotspotX * (output ? output.scaleFactor / Screen.devicePixelRatio : 1)
54 cursorItem.hotspotX = hotspotX;
63 x: cursorItem.hotspotX + offset.x
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/
H A DCursor.java185 public Cursor(Device device, ImageData source, ImageData mask, int hotspotX, int hotspotY) { in Cursor() argument
199 if (hotspotX >= source.width || hotspotX < 0 || in Cursor()
213 …handle = OS.CreateCursor(hInst, hotspotX, hotspotY, source.width, source.height, sourceData, maskD… in Cursor()
247 public Cursor(Device device, ImageData source, int hotspotX, int hotspotY) { in Cursor() argument
251 if (hotspotX >= source.width || hotspotX < 0 || in Cursor()
314 info.xHotspot = hotspotX; in Cursor()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/scumm/
H A Dcursor.cpp101 _cursor.hotspotX = x; in setCursorHotspot()
122 _cursor.hotspotX, _cursor.hotspotY, in updateCursor()
128 _cursor.hotspotX, _cursor.hotspotY, in updateCursor()
186 _cursor.hotspotX = _cursor.hotspotY = 2; in setDefaultCursor()
238 _cursor.hotspotX = cursor->getHotspotX(); in setDefaultCursor()
468 _cursor.hotspotX = 0; in setBuiltinCursor()
485 _cursor.hotspotX = 7; in setBuiltinCursor()
488 byte *hotspot = _grabbedCursor + _cursor.hotspotY * _cursor.width + _cursor.hotspotX; in setBuiltinCursor()
514 _cursor.hotspotX = 11; in setBuiltinCursor()
517 byte *hotspot = _grabbedCursor + _cursor.hotspotY * _cursor.width + _cursor.hotspotX; in setBuiltinCursor()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/scumm/
H A Dcursor.cpp103 _cursor.hotspotX = x; in setCursorHotspot()
124 _cursor.hotspotX, _cursor.hotspotY, in updateCursor()
130 _cursor.hotspotX, _cursor.hotspotY, in updateCursor()
188 _cursor.hotspotX = _cursor.hotspotY = 2; in setDefaultCursor()
240 _cursor.hotspotX = cursor->getHotspotX(); in setDefaultCursor()
477 _cursor.hotspotX = 0; in setBuiltinCursor()
494 _cursor.hotspotX = 7; in setBuiltinCursor()
497 byte *hotspot = _grabbedCursor + _cursor.hotspotY * _cursor.width + _cursor.hotspotX; in setBuiltinCursor()
523 _cursor.hotspotX = 11; in setBuiltinCursor()
526 byte *hotspot = _grabbedCursor + _cursor.hotspotY * _cursor.width + _cursor.hotspotX; in setBuiltinCursor()
[all …]

12345678910