History

home button improvments

Dante Ruiz committed 9 years ago

Commit 41bf65e1 parent ff17aa75 files · +39 −12Browse files

Showing the changes to libraries/script-engine/src/TabletScriptingInterface.cpp (1 of 5 files). Show all

Unified · Split

libraries/script-engine/src/TabletScriptingInterface.cpp+4−0
@@ -235,6 +235,10 @@ QObject* TabletProxy::addButton(const QVariant& properties) { · 234 unmodified lines
235235 return tabletButtonProxy.data();
236236 }
237237
238+bool TabletProxy::onHomeScreen() {
239+ return _state == State::Home;
240+}
241+
238242 void TabletProxy::removeButton(QObject* tabletButtonProxy) {
239243 std::lock_guard<std::mutex> guard(_mutex);
240244