Skip to content

Commit

Permalink
factorize using opt_gx and sdl surfaces on/off
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenhael-le-moine committed Jun 12, 2024
1 parent 3f32b34 commit 1eb4ac5
Show file tree
Hide file tree
Showing 4 changed files with 389 additions and 404 deletions.
2 changes: 2 additions & 0 deletions src/ui_inner.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,11 @@ extern letter_t small_font[ 128 ];

extern color_t colors_sx[ NB_COLORS ];
extern color_t colors_gx[ NB_COLORS ];
#define COLORS ( opt_gx ? colors_gx : colors_sx )

extern button_t buttons_sx[ NB_KEYS ];
extern button_t buttons_gx[ NB_KEYS ];
#define BUTTONS ( opt_gx ? buttons_gx : buttons_sx )

extern ann_struct_t ann_tbl[ NB_ANNUNCIATORS ];

Expand Down
Loading

0 comments on commit 1eb4ac5

Please sign in to comment.