Changeset View
Changeset View
Standalone View
Standalone View
pointer_input.cpp
Show First 20 Lines • Show All 1172 Lines • ▼ Show 20 Line(s) | 1133 | { | |||
---|---|---|---|---|---|
1173 | m_drag.cursor.hotSpot = c->hotspot(); | 1173 | m_drag.cursor.hotSpot = c->hotspot(); | ||
1174 | m_drag.cursor.image = buffer->data().copy(); | 1174 | m_drag.cursor.image = buffer->data().copy(); | ||
1175 | if (needsEmit) { | 1175 | if (needsEmit) { | ||
1176 | emit changed(); | 1176 | emit changed(); | ||
1177 | } | 1177 | } | ||
1178 | // TODO: add the cursor image | 1178 | // TODO: add the cursor image | ||
1179 | } | 1179 | } | ||
1180 | 1180 | | |||
1181 | void CursorImage::loadThemeCursor(Qt::CursorShape shape, Image *image) | 1181 | void CursorImage::loadThemeCursor(CursorShape shape, Image *image) | ||
1182 | { | 1182 | { | ||
1183 | loadThemeCursor(shape, m_cursors, image); | 1183 | loadThemeCursor(shape, m_cursors, image); | ||
1184 | } | 1184 | } | ||
1185 | 1185 | | |||
1186 | void CursorImage::loadThemeCursor(const QByteArray &shape, Image *image) | 1186 | void CursorImage::loadThemeCursor(const QByteArray &shape, Image *image) | ||
1187 | { | 1187 | { | ||
1188 | loadThemeCursor(shape, m_cursorsByName, image); | 1188 | loadThemeCursor(shape, m_cursorsByName, image); | ||
1189 | } | 1189 | } | ||
▲ Show 20 Lines • Show All 124 Lines • Show Last 20 Lines |