Skip to content

Commit

Permalink
Clarify TigWindowBlitInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbatalov committed Nov 19, 2024
1 parent 53ba1e1 commit d38f580
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions include/tig/window.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,14 @@ typedef struct TigWindowBlitInfo {
/* 0008 */ tig_window_handle_t src_window_handle;
/* 000C */ TigVideoBuffer* src_video_buffer;
/* 0010 */ TigRect* src_rect;
/* 0014 */ tig_window_handle_t dst_window_handle;
/* 0018 */ TigVideoBuffer* dst_video_buffer;
/* 001C */ TigRect* dst_rect;
/* 0014 */ uint8_t field_14[4];
/* 0018 */ int field_18;
/* 001C */ tig_window_handle_t dst_window_handle;
/* 0020 */ TigVideoBuffer* dst_video_buffer;
/* 0024 */ TigRect* dst_rect;
} TigWindowBlitInfo;

static_assert(sizeof(TigWindowBlitInfo) == 0x20, "wrong size");
static_assert(sizeof(TigWindowBlitInfo) == 0x28, "wrong size");

typedef enum TigWindowModalDialogType {
// The modal dialog contains a single OK-like button (green checkmark).
Expand Down

0 comments on commit d38f580

Please sign in to comment.