diff --git a/include/buttons.h b/include/buttons.h index b4f1a5d..991b1ec 100644 --- a/include/buttons.h +++ b/include/buttons.h @@ -10,27 +10,27 @@ #include "rpg.h" - enum stats { - none, - HOVER, - ACTIVE, - RELEASE, - }; + enum stats { + none, + HOVER, + ACTIVE, + RELEASE, + }; - typedef struct { - sfVector2f pos; - sfVector2f size; - sfTexture *texture; - sfSprite *sprite; - sfRectangleShape *rect; - sfIntRect rect_text; - sfColor color; - sfText *text; - sfFont *font; - sfVector2f text_pos; - char *str; - enum stats state; - void (*callback)(void *); - } buttons_t; + typedef struct { + sfVector2f pos; + sfVector2f size; + sfTexture *texture; + sfSprite *sprite; + sfRectangleShape *rect; + sfIntRect rect_text; + sfColor color; + sfText *text; + sfFont *font; + sfVector2f text_pos; + char *str; + enum stats state; + void (*callback)(void *); + } buttons_t; #endif /* !BUTTONS_H_ */