aboutsummaryrefslogtreecommitdiff
path: root/fastiv-io.h
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-11-27 02:49:26 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-11-27 18:59:05 +0100
commitc39ac1a9daa75d160741597afd1bbf9b6535a8ed (patch)
tree43560059812aa87d4e7f045fd4be7d683f90efeb /fastiv-io.h
parent085f2d7eef0d77e06977d095927789bf948538a4 (diff)
downloadfiv-c39ac1a9daa75d160741597afd1bbf9b6535a8ed.tar.gz
fiv-c39ac1a9daa75d160741597afd1bbf9b6535a8ed.tar.xz
fiv-c39ac1a9daa75d160741597afd1bbf9b6535a8ed.zip
Enable viewing all X11 cursor sizes
Diffstat (limited to 'fastiv-io.h')
-rw-r--r--fastiv-io.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/fastiv-io.h b/fastiv-io.h
index fc12fa8..db94a46 100644
--- a/fastiv-io.h
+++ b/fastiv-io.h
@@ -46,6 +46,13 @@ extern cairo_user_data_key_t fastiv_io_key_frame_duration;
/// How many times to repeat the animation, or zero for +inf, as a uintptr_t.
extern cairo_user_data_key_t fastiv_io_key_loops;
+/// The first frame of the next page, as a surface, in a chain.
+/// There is no wrap-around.
+extern cairo_user_data_key_t fastiv_io_key_page_next;
+/// The first frame of the previous page, as a surface, in a chain.
+/// There is no wrap-around. This is a weak pointer.
+extern cairo_user_data_key_t fastiv_io_key_page_previous;
+
cairo_surface_t *fastiv_io_open(const gchar *path, GError **error);
cairo_surface_t *fastiv_io_open_from_data(
const char *data, size_t len, const gchar *path, GError **error);