From 9e660e594f6d3a43ea1427fb872801a2fcedad93 Mon Sep 17 00:00:00 2001 From: Krow Savcik Date: Tue, 26 Sep 2023 22:32:35 +0300 Subject: initial commit --- src/action.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/action.h (limited to 'src/action.h') diff --git a/src/action.h b/src/action.h new file mode 100644 index 0000000..7405418 --- /dev/null +++ b/src/action.h @@ -0,0 +1,22 @@ +enum Actions_Types { + ACT_PIXELSCOLORS, +} + +struct act_pixcol { + long int p; /* Position */ + unsigned int c; /* Color */ +}; + +struct Action { + int type; + ActUnion act; +}; + +struct ActionPixelsColors { + long int cnt; + struct act_pixcol *pix; +} + +typedef union { + ActionPixelsColors px; +} ActUnion; -- cgit v1.2.3