diff options
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 |
