diff tools/libgfx.h @ 1545:3b613fcbf3ff

Improve how format read/write capabilities are marked and shown.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 12 May 2018 21:01:46 +0300
parents 48823642c4fb
children c29adf5ce240
line wrap: on
line diff
--- a/tools/libgfx.h	Sat May 12 21:00:22 2018 +0300
+++ b/tools/libgfx.h	Sat May 12 21:01:46 2018 +0300
@@ -57,6 +57,15 @@
 };
 
 
+// Flags for readability/writeability of formats
+enum
+{
+    DM_FMT_WR              = 0x0001,
+    DM_FMT_RD              = 0x0002,
+    DM_FMT_RDWR            = (DM_FMT_RD | DM_FMT_WR),
+};
+
+
 // Bitmapped image struct 
 typedef struct
 {