summaryrefslogtreecommitdiff
path: root/gui-aoi.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui-aoi.h')
-rw-r--r--gui-aoi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gui-aoi.h b/gui-aoi.h
index 83e5719..59a4aa3 100644
--- a/gui-aoi.h
+++ b/gui-aoi.h
@@ -28,7 +28,8 @@ struct aoi {
};
-const struct aoi *aoi_add(struct aoi **aois, const struct aoi *aoi);
+struct aoi *aoi_add(struct aoi **aois, const struct aoi *cfg);
+void aoi_update(struct aoi *aoi, const struct aoi *cfg);
bool aoi_hover(const struct aoi *aois, int x, int y);
bool aoi_click(const struct aoi *aois, int x, int y);
void aoi_remove(struct aoi **aois, const struct aoi *aoi);