Skip to content

Commit

Permalink
Update buttons.h
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorPok42 committed Jun 2, 2024
1 parent ef71c62 commit 223cf5a
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions include/buttons.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,27 @@

#include "rpg.h"

enum stats {
none,
HOVER,
ACTIVE,
RELEASE,
};
enum stats {

Check failure on line 13 in include/buttons.h

View workflow job for this annotation

GitHub Actions / check_coding_style

MINOR coding style error

C-L2
none,
HOVER,
ACTIVE,
RELEASE,
};

Check failure on line 18 in include/buttons.h

View workflow job for this annotation

GitHub Actions / check_coding_style

MINOR coding style error

C-L2

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 {

Check failure on line 20 in include/buttons.h

View workflow job for this annotation

GitHub Actions / check_coding_style

MINOR coding style error

C-L2
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;

Check failure on line 34 in include/buttons.h

View workflow job for this annotation

GitHub Actions / check_coding_style

MINOR coding style error

C-L2

#endif /* !BUTTONS_H_ */

0 comments on commit 223cf5a

Please sign in to comment.