diff options
Diffstat (limited to 'src/overlays.h')
-rw-r--r-- | src/overlays.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/overlays.h b/src/overlays.h index ee965ff..222b968 100644 --- a/src/overlays.h +++ b/src/overlays.h @@ -1,26 +1,26 @@ -#ifndef _OVERLAYS_H -#define _OVERLAYS_H +#ifndef _CHARTS_H +#define _CHARTS_H #include <X11/extensions/Xfixes.h> #include <X11/extensions/Xrender.h> #include "xserver.h" -typedef struct _vwm_overlays_t vwm_overlays_t; -typedef struct _vwm_overlay_t vwm_overlay_t; +typedef struct _vwm_charts_t vwm_charts_t; +typedef struct _vwm_chart_t vwm_chart_t; -vwm_overlays_t * vwm_overlays_create(vwm_xserver_t *xserver); -void vwm_overlays_destroy(vwm_overlays_t *overlays); -void vwm_overlays_rate_increase(vwm_overlays_t *overlays); -void vwm_overlays_rate_decrease(vwm_overlays_t *overlays); -void vwm_overlays_rate_set(vwm_overlays_t *overlays, unsigned hertz); -int vwm_overlays_update(vwm_overlays_t *overlays, int *desired_delay); +vwm_charts_t * vwm_charts_create(vwm_xserver_t *xserver); +void vwm_charts_destroy(vwm_charts_t *charts); +void vwm_charts_rate_increase(vwm_charts_t *charts); +void vwm_charts_rate_decrease(vwm_charts_t *charts); +void vwm_charts_rate_set(vwm_charts_t *charts, unsigned hertz); +int vwm_charts_update(vwm_charts_t *charts, int *desired_delay); -vwm_overlay_t * vwm_overlay_create(vwm_overlays_t *overlays, int pid, int width, int height); -void vwm_overlay_destroy(vwm_overlays_t *overlays, vwm_overlay_t *overlay); -void vwm_overlay_reset_snowflakes(vwm_overlays_t *overlays, vwm_overlay_t *overlay); -int vwm_overlay_set_visible_size(vwm_overlays_t *overlays, vwm_overlay_t *overlay, int width, int height); -void vwm_overlay_compose(vwm_overlays_t *overlays, vwm_overlay_t *overlay, XserverRegion *res_damaged_region); -void vwm_overlay_render(vwm_overlays_t *overlays, vwm_overlay_t *overlay, int op, Picture dest, int x, int y, int width, int height); +vwm_chart_t * vwm_chart_create(vwm_charts_t *charts, int pid, int width, int height); +void vwm_chart_destroy(vwm_charts_t *charts, vwm_chart_t *chart); +void vwm_chart_reset_snowflakes(vwm_charts_t *charts, vwm_chart_t *chart); +int vwm_chart_set_visible_size(vwm_charts_t *charts, vwm_chart_t *chart, int width, int height); +void vwm_chart_compose(vwm_charts_t *charts, vwm_chart_t *chart, XserverRegion *res_damaged_region); +void vwm_chart_render(vwm_charts_t *charts, vwm_chart_t *chart, int op, Picture dest, int x, int y, int width, int height); #endif |