aboutsummaryrefslogtreecommitdiff
path: root/src/action.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/action.h')
-rw-r--r--src/action.h22
1 files changed, 22 insertions, 0 deletions
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;