summaryrefslogtreecommitdiff
path: root/src/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/platform.h')
-rw-r--r--src/platform.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/platform.h b/src/platform.h
index 4be3938..bf0ae82 100644
--- a/src/platform.h
+++ b/src/platform.h
@@ -43,6 +43,7 @@ typedef struct t_search_result
array work_queue;
array files;
array matches;
+ s32 match_count;
u64 find_duration_us;
array errors;
bool show_error_message; // error occured
@@ -167,6 +168,21 @@ typedef struct t_vec2
s32 y;
} vec2;
+typedef struct t_backbuffer_pixel
+{
+ s32 color;
+ u8 depth;
+} backbuffer_pixel;
+
+typedef struct t_backbuffer
+{
+ s32 width;
+ s32 height;
+ u8 *pixels; // 5bytes color
+ u8 *buffer; // 4bytes color + 1byte depth
+ BITMAPINFO bitmapInfo;
+} backbuffer;
+
// NOT IMPLEMENTED ON LINUX: USE FLAGS_NONE
typedef enum t_window_flags
{