summaryrefslogtreecommitdiff
path: root/src/overlays.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@gnugeneration.com>2017-03-22 18:36:54 -0700
committerVito Caputo <vcaputo@gnugeneration.com>2017-03-25 16:51:17 -0700
commit36daa7b60f0545a79482d174c778293ec831e03e (patch)
treee5d6b8d93d5ed66db08141c7d24372e808d17d3a /src/overlays.h
parent3657ce966227e9be0334540178ca578bc8d5ad0d (diff)
overlays: rename overlays->charts
vmon introduces a non-overlay usage, monitors is correct but ambiguous, graphs is also amiguous, charts is short and distinctive. renaming of the files comes in a separate, future commit.
Diffstat (limited to 'src/overlays.h')
-rw-r--r--src/overlays.h32
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
© All Rights Reserved