zoom-manager: add zoom manager to simplify zoom control

This will give us a single place to deal with the mechanics of
how zoom works, and then our UI code can simply apply the value
as necessary.
This commit is contained in:
Christian Hergert
2016-09-28 17:13:24 -07:00
parent 4d48f98f6d
commit e6ecad548a
6 changed files with 577 additions and 0 deletions

View File

@ -153,6 +153,7 @@ uiheaders_DATA = \
sp-visualizer-row.h \
sp-visualizer-ticks.h \
sp-visualizer-view.h \
sp-zoom-manager.h \
sysprof-ui.h \
$(NULL)
@ -176,6 +177,7 @@ libsysprof_ui_@API_VERSION@_la_SOURCES = \
sp-visualizer-row.c \
sp-visualizer-ticks.c \
sp-visualizer-view.c \
sp-zoom-manager.c \
$(NULL)
libsysprof_ui_@API_VERSION@_la_CFLAGS = \