deduplication

This commit is contained in:
Gwenhael Le Moine 2023-05-03 16:22:05 +02:00
parent 915f1d1386
commit 83f8c93ef1
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
2 changed files with 3 additions and 7 deletions

View file

@ -17,11 +17,6 @@ static int last_annunc_state = -1;
display_t display; display_t display;
#if defined( GUI_IS_X11 )
#define DISP_ROWS 64
#define NIBS_PER_BUFFER_ROW ( NIBBLES_PER_ROW + 2 )
#endif
unsigned char disp_buf[ DISP_ROWS ][ NIBS_PER_BUFFER_ROW ]; unsigned char disp_buf[ DISP_ROWS ][ NIBS_PER_BUFFER_ROW ];
unsigned char lcd_buffer[ DISP_ROWS ][ NIBS_PER_BUFFER_ROW ]; unsigned char lcd_buffer[ DISP_ROWS ][ NIBS_PER_BUFFER_ROW ];

View file

@ -98,6 +98,9 @@
#define LAST_BUTTON 48 #define LAST_BUTTON 48
#define DISP_ROWS 64
#define NIBS_PER_BUFFER_ROW ( NIBBLES_PER_ROW + 2 )
#if defined( GUI_IS_SDL1 ) #if defined( GUI_IS_SDL1 )
#define UPDATE_MENU 1 #define UPDATE_MENU 1
#define UPDATE_DISP 2 #define UPDATE_DISP 2
@ -270,8 +273,6 @@ extern SDL_Surface* sdlsurface;
void SDLInit( void ); void SDLInit( void );
void SDLDrawAnnunc( char* annunc ); void SDLDrawAnnunc( char* annunc );
#define DISP_ROWS 64
#define NIBS_PER_BUFFER_ROW ( NIBBLES_PER_ROW + 2 )
void SDLCreateAnnunc( void ); void SDLCreateAnnunc( void );
void SDLDrawNibble( int nx, int ny, int val ); void SDLDrawNibble( int nx, int ny, int val );