diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-09-27 17:03:06 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2022-11-01 16:26:16 +0100 |
| commit | 980858186149651df5543b6fc99a4f7db0cdd089 (patch) | |
| tree | d347200b0a562d84df505097651ad0642f207fdd /src/gui/inc | |
| parent | 39f50e601d395bbd2d78d0147ac530b756da2fff (diff) | |
| download | jancity-980858186149651df5543b6fc99a4f7db0cdd089.tar.gz | |
WIP
Diffstat (limited to 'src/gui/inc')
| -rw-r--r-- | src/gui/inc/gui/rounded_rect.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/inc/gui/rounded_rect.h b/src/gui/inc/gui/rounded_rect.h index e1203e4..13242f4 100644 --- a/src/gui/inc/gui/rounded_rect.h +++ b/src/gui/inc/gui/rounded_rect.h @@ -15,11 +15,9 @@ struct gui_rounded_rect { struct gui_common common; unsigned short w, h; + bool adjust; }; -UTIL_STATIC_ASSERT(!offsetof(struct gui_rounded_rect, common), - "unexpected offset for struct gui_rounded_rect"); - void gui_rounded_rect_init(struct gui_rounded_rect *r); enum @@ -36,6 +34,9 @@ enum extern struct sprite gui_rounded_rect_sprites[MAX_GUI_ROUNDED_RECT_SPRITES]; +UTIL_STATIC_ASSERT(!offsetof(struct gui_rounded_rect, common), + "unexpected offset for struct gui_rounded_rect"); + #ifdef __cplusplus } #endif |
