Merge lp:~dandrader/unity-api/surfaceCursor into lp:unity-api

Proposed by Daniel d'Andrada
Status: Superseded
Proposed branch: lp:~dandrader/unity-api/surfaceCursor
Merge into: lp:unity-api
Diff against target: 51 lines (+17/-2)
3 files modified
debian/changelog (+7/-1)
include/unity/shell/application/CMakeLists.txt (+1/-1)
include/unity/shell/application/MirMousePointerInterface.h (+9/-0)
To merge this branch: bzr merge lp:~dandrader/unity-api/surfaceCursor
Reviewer Review Type Date Requested Status
Lukáš Tinkl (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+277283@code.launchpad.net

This proposal has been superseded by a proposal from 2015-11-23.

Commit message

Added MirMousePointerInterface::setCustomCursor

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Lukáš Tinkl (lukas-kde) wrote :

LGTM, approving

review: Approve
196. By Daniel d'Andrada

Merge trunk

Unmerged revisions

196. By Daniel d'Andrada

Merge trunk

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2015-11-02 11:23:43 +0000
3+++ debian/changelog 2015-11-11 19:00:11 +0000
4@@ -1,7 +1,13 @@
5+unity-api (7.103) UNRELEASED; urgency=medium
6+
7+ * Added MirMousePointerInterface::setCustomCursor
8+
9+ -- Daniel d'Andrada <daniel.dandrada@canonical.com> Wed, 11 Nov 2015 16:42:27 -0200
10+
11 unity-api (7.102+16.04.20151102-0ubuntu1) xenial; urgency=medium
12
13 [ Nick Dedekind ]
14- * Added visibility to surface interface.
15+ * Added visibility to surface interface.
16
17 [ Michael Terry ]
18 * Add isTouchApp to ApplicationInfoInterface
19
20=== modified file 'include/unity/shell/application/CMakeLists.txt'
21--- include/unity/shell/application/CMakeLists.txt 2015-10-30 16:56:14 +0000
22+++ include/unity/shell/application/CMakeLists.txt 2015-11-11 19:00:11 +0000
23@@ -7,7 +7,7 @@
24
25 set(UNITY_API_LIB_HDRS ${UNITY_API_LIB_HDRS} ${headers} ${internal_headers} PARENT_SCOPE)
26
27-set(VERSION 10)
28+set(VERSION 11)
29 set(PKGCONFIG_NAME "unity-shell-application")
30 set(PKGCONFIG_DESCRIPTION "Unity shell Application APIs")
31 set(PKGCONFIG_REQUIRES "Qt5Core")
32
33=== modified file 'include/unity/shell/application/MirMousePointerInterface.h'
34--- include/unity/shell/application/MirMousePointerInterface.h 2015-10-13 20:17:39 +0000
35+++ include/unity/shell/application/MirMousePointerInterface.h 2015-11-11 19:00:11 +0000
36@@ -70,6 +70,15 @@
37 virtual qreal hotspotY() const = 0;
38 /// @endcond
39
40+ /**
41+ * @brief Sets the custom cursor
42+ *
43+ * If it's not a pixmap cursor it will be ignored.
44+ *
45+ * To use it, cursorName must be set to "custom". themeName is ignored in this case.
46+ */
47+ virtual void setCustomCursor(const QCursor &) = 0;
48+
49 Q_SIGNALS:
50 /// @cond
51 void cursorNameChanged(QString name);

Subscribers

People subscribed via source and target branches

to all changes: