add "missing" extern keyword in header
This commit is contained in:
parent
aaa90f33d2
commit
95d8da35ca
1 changed files with 42 additions and 40 deletions
60
src/x48.h
60
src/x48.h
|
@ -1259,47 +1259,49 @@ extern int CreateWindows( int argc, char** argv );
|
||||||
#elif defined( GUI_IS_SDL1 )
|
#elif defined( GUI_IS_SDL1 )
|
||||||
|
|
||||||
extern void SDLCreateHP( void );
|
extern void SDLCreateHP( void );
|
||||||
void SDLInit( void );
|
extern void SDLInit( void );
|
||||||
void SDLDrawAnnunc( char* annunc );
|
extern void SDLDrawAnnunc( char* annunc );
|
||||||
|
|
||||||
void SDLCreateAnnunc( void );
|
extern void SDLCreateAnnunc( void );
|
||||||
void SDLDrawNibble( int nx, int ny, int val );
|
extern void SDLDrawNibble( int nx, int ny, int val );
|
||||||
void SDLDrawKeypad( void );
|
extern void SDLDrawKeypad( void );
|
||||||
void SDLDrawButtons( void );
|
extern void SDLDrawButtons( void );
|
||||||
SDL_Surface* SDLCreateSurfFromData( unsigned int w, unsigned int h,
|
extern SDL_Surface* SDLCreateSurfFromData( unsigned int w, unsigned int h,
|
||||||
unsigned char* data, unsigned int coloron,
|
unsigned char* data,
|
||||||
|
unsigned int coloron,
|
||||||
unsigned int coloroff );
|
unsigned int coloroff );
|
||||||
SDL_Surface* SDLCreateARGBSurfFromData( unsigned int w, unsigned int h,
|
extern SDL_Surface* SDLCreateARGBSurfFromData( unsigned int w, unsigned int h,
|
||||||
unsigned char* data,
|
unsigned char* data,
|
||||||
unsigned int xpcolor );
|
unsigned int xpcolor );
|
||||||
void SDLDrawSmallString( int x, int y, const char* string, unsigned int length,
|
extern void SDLDrawSmallString( int x, int y, const char* string,
|
||||||
unsigned int coloron, unsigned int coloroff );
|
unsigned int length, unsigned int coloron,
|
||||||
void SDLCreateColors( void );
|
unsigned int coloroff );
|
||||||
void SDLDrawKeyLetter( void );
|
extern void SDLCreateColors( void );
|
||||||
unsigned SDLBGRA2ARGB( unsigned color );
|
extern void SDLDrawKeyLetter( void );
|
||||||
void SDLDrawBezel( unsigned int width, unsigned int height,
|
extern unsigned SDLBGRA2ARGB( unsigned color );
|
||||||
|
extern void SDLDrawBezel( unsigned int width, unsigned int height,
|
||||||
unsigned int offset_y, unsigned int offset_x );
|
unsigned int offset_y, unsigned int offset_x );
|
||||||
void SDLDrawMore( unsigned int w, unsigned int h, unsigned int cut,
|
extern void SDLDrawMore( unsigned int w, unsigned int h, unsigned int cut,
|
||||||
unsigned int offset_y, unsigned int offset_x,
|
unsigned int offset_y, unsigned int offset_x,
|
||||||
int keypad_width, int keypad_height );
|
int keypad_width, int keypad_height );
|
||||||
void SDLDrawLogo( unsigned int w, unsigned int h, unsigned int cut,
|
extern void SDLDrawLogo( unsigned int w, unsigned int h, unsigned int cut,
|
||||||
unsigned int offset_y, unsigned int offset_x,
|
unsigned int offset_y, unsigned int offset_x,
|
||||||
int keypad_width, int keypad_height );
|
int keypad_width, int keypad_height );
|
||||||
void SDLDrawBackground( int width, int height, int w_top, int h_top );
|
extern void SDLDrawBackground( int width, int height, int w_top, int h_top );
|
||||||
void SDLUIShowKey( int hpkey );
|
extern void SDLUIShowKey( int hpkey );
|
||||||
void SDLUIHideKey( void );
|
extern void SDLUIHideKey( void );
|
||||||
void SDLUIFeedback( void );
|
extern void SDLUIFeedback( void );
|
||||||
SDLWINDOW_t SDLCreateWindow( int x, int y, int w, int h, unsigned color,
|
extern SDLWINDOW_t SDLCreateWindow( int x, int y, int w, int h, unsigned color,
|
||||||
int framewidth, int inverted );
|
int framewidth, int inverted );
|
||||||
void SDLShowWindow( SDLWINDOW_t* win );
|
extern void SDLShowWindow( SDLWINDOW_t* win );
|
||||||
void SDLSHideWindow( SDLWINDOW_t* win );
|
extern void SDLSHideWindow( SDLWINDOW_t* win );
|
||||||
void SDLARGBTo( unsigned color, unsigned* a, unsigned* r, unsigned* g,
|
extern void SDLARGBTo( unsigned color, unsigned* a, unsigned* r, unsigned* g,
|
||||||
unsigned* b );
|
unsigned* b );
|
||||||
unsigned SDLToARGB( unsigned a, unsigned r, unsigned g, unsigned b );
|
extern unsigned SDLToARGB( unsigned a, unsigned r, unsigned g, unsigned b );
|
||||||
void SDLMessageBox( int w, int h, const char* title, const char* text[],
|
extern void SDLMessageBox( int w, int h, const char* title, const char* text[],
|
||||||
unsigned color, unsigned colortext, int center );
|
unsigned color, unsigned colortext, int center );
|
||||||
void SDLEventWaitClickOrKey( void );
|
extern void SDLEventWaitClickOrKey( void );
|
||||||
void SDLShowInformation( void );
|
extern void SDLShowInformation( void );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* !_X48_GUI_H */
|
#endif /* !_X48_GUI_H */
|
||||||
|
|
Loading…
Add table
Reference in a new issue