deduplication
This commit is contained in:
parent
915f1d1386
commit
83f8c93ef1
2 changed files with 3 additions and 7 deletions
|
@ -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 ];
|
||||||
|
|
||||||
|
|
|
@ -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 );
|
||||||
|
|
Loading…
Reference in a new issue