Showing the changes to libraries/script-engine/src/TabletScriptingInterface.cpp (1 of 5 files). Show all
Unified · Split
| @@ -235,6 +235,10 @@ QObject* TabletProxy::addButton(const QVariant& properties) { · 234 unmodified lines | |||
| 235 | return tabletButtonProxy.data(); | 235 | return tabletButtonProxy.data(); |
| 236 | } | 236 | } |
| 237 | 237 | ||
| 238 | bool TabletProxy::onHomeScreen() { | ||
| 239 | return _state == State::Home; | ||
| 240 | } | ||
| 241 | |||
| 238 | void TabletProxy::removeButton(QObject* tabletButtonProxy) { | 242 | void TabletProxy::removeButton(QObject* tabletButtonProxy) { |
| 239 | std::lock_guard<std::mutex> guard(_mutex); | 243 | std::lock_guard<std::mutex> guard(_mutex); |
| 240 | 244 | ||