summaryrefslogtreecommitdiff
path: root/Example Apps
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2019-04-25 16:50:02 -0400
committerJoel Fischer <joeljfischer@gmail.com>2019-04-25 16:50:02 -0400
commit9e4090122a81e91c3cb445aaa271c23041638453 (patch)
tree45048f032543059e10cf38a4acb16bd3264ad3d0 /Example Apps
parentf2f33e8a9c65914fdf5ee683918ab0f3590dc29d (diff)
downloadsdl_ios-9e4090122a81e91c3cb445aaa271c23041638453.tar.gz
Initial work on re-doing the soft button manager
Diffstat (limited to 'Example Apps')
-rw-r--r--Example Apps/Example ObjC/ButtonManager.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Example Apps/Example ObjC/ButtonManager.m b/Example Apps/Example ObjC/ButtonManager.m
index 786d5027b..4befdf726 100644
--- a/Example Apps/Example ObjC/ButtonManager.m
+++ b/Example Apps/Example ObjC/ButtonManager.m
@@ -135,6 +135,9 @@ NS_ASSUME_NONNULL_BEGIN
SDLSoftButtonObject *object = [weakself.sdlManager.screenManager softButtonObjectNamed:ImagesVisibleSoftButton];
[object transitionToNextState];
+ SDLSoftButtonObject *textButton = [weakself.sdlManager.screenManager softButtonObjectNamed:TextVisibleSoftButton];
+ [textButton transitionToNextState];
+
SDLLogD(@"Image visibility soft button press fired %d", weakself.imagesEnabled);
}];