Index: tools/viewer/Viewer.h |
diff --git a/tools/viewer/Viewer.h b/tools/viewer/Viewer.h |
index 0bafee175ba8b7d1165e3057dbb0495af2d075a4..e752b3f939215144b3d4c8ed0b92f57a417ece12 100644 |
--- a/tools/viewer/Viewer.h |
+++ b/tools/viewer/Viewer.h |
@@ -25,12 +25,15 @@ public: |
void onPaint(SkCanvas* canvas); |
void onIdle(double ms) override; |
bool onTouch(int owner, sk_app::Window::InputState state, float x, float y); |
+ void onUIStateChanged(const SkString& stateName, const SkString& stateValue); |
private: |
void initSlides(); |
void updateTitle(); |
void setupCurrentSlide(int previousSlide); |
+ void updateUIState(); |
+ |
void drawStats(SkCanvas* canvas); |
void changeZoomLevel(float delta); |