diff options
author | Vito Caputo <vcaputo@gnugeneration.com> | 2017-03-08 18:31:29 -0800 |
---|---|---|
committer | Vito Caputo <vcaputo@gnugeneration.com> | 2017-03-14 19:41:48 -0700 |
commit | 5bebde59c93312d0cef33b7e62f37dd3bc939ce0 (patch) | |
tree | d2f1b6cca1496a20ce61c5e48df26ae9fafeb8ce /src/charts.h | |
parent | df9f5f5b92cef88492b647f362c91f281c3b2e3b (diff) |
overlays: encapsulate global overlays state
Introduce vwm_overlays_t and create/destroy functions, use in vwm_startup()
and vwm_shutdown(). Supply to methods operating on the global overlays
state vwm_overlays_update(), vwm_overlays_rate_increase(),
vwm_overlays_rate_decrease().
This is a fairly minimal adoption of these changes with vwm_t still being
supplyed to the overlay functions.
A future commit will further cleanup the interactions and cease all
knowledge of vwm_t in overlays.c, but for now everything overlay-oriented
still accesses the overlays_t instance via vwm_t. Instead of supplying the
vwm_t to vwm_overlays_create() the bare vwm_xserver_t will be supplied, as
this is the future shared component across vmon and vwm (in addition to
overlays).
Diffstat (limited to 'src/charts.h')
0 files changed, 0 insertions, 0 deletions