#pragma once #include #include #include typedef struct { void *specific; void *user_data; mfb_active_func active_func; mfb_resize_func resize_func; mfb_keyboard_func keyboard_func; mfb_char_input_func char_input_func; mfb_mouse_button_func mouse_btn_func; mfb_mouse_move_func mouse_move_func; mfb_mouse_scroll_func mouse_wheel_func; uint32_t window_width; uint32_t window_height; uint32_t dst_offset_x; uint32_t dst_offset_y; uint32_t dst_width; uint32_t dst_height; void *draw_buffer; uint32_t buffer_width; uint32_t buffer_height; uint32_t buffer_stride; uint32_t mod_keys; bool close; bool is_active; int32_t mouse_pos_x; int32_t mouse_pos_y; float mouse_wheel_x; float mouse_wheel_y; uint8_t mouse_button_status[8]; uint8_t key_status[512]; } SWindowData;