static inline

This commit is contained in:
Gwenhael Le Moine 2024-04-14 20:36:13 +02:00
parent 98655a906f
commit aedc75e481
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
2 changed files with 1 additions and 3 deletions

View file

@ -309,7 +309,7 @@ static inline int _button_mouse_up( Button* buttons, int mx, int my, int mb )
return ret;
}
void button_draw_all( Button* buttons )
static inline void button_draw_all( Button* buttons )
{
while ( buttons->label ) {
_button_draw( buttons );

View file

@ -88,8 +88,6 @@ extern bool SDL_ready;
// Releaseing mouse button 1 anywhere unpushes the button
#define BUTTON_B1RELEASE 0x10
extern void button_draw_all( /*BITMAP *bmp,*/ Button* buttons );
extern void SDL__display_show( void );
extern bool gui_events();