Menu interface update
This commit is contained in:
parent
1d7e01fd74
commit
6beb84b6e9
@ -161,11 +161,15 @@ typedef struct ui_enginefuncs_s
|
||||
int (*pfnIsMapValid)( char *filename );
|
||||
void (*pfnProcessImage)( int texnum, float gamma, int topColor, int bottomColor );
|
||||
int (*pfnCompareFileTime)( char *filename1, char *filename2, int *iCompare );
|
||||
|
||||
void (*pfnEnableTextInput)( int enable );
|
||||
void (*pfnSDL_free)( void *mem );
|
||||
} ui_enginefuncs_t;
|
||||
|
||||
typedef struct ui_textfuncs_s {
|
||||
void (*pfnEnableTextInput)( int enable );
|
||||
int (*pfnUtfProcessChar) ( int ch );
|
||||
int (*pfnUtfMoveLeft) ( char *str, int pos );
|
||||
int (*pfnUtfMoveRight) ( char *str, int pos, int length );
|
||||
} ui_textfuncs_t;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
int (*pfnVidInit)( void );
|
||||
@ -188,4 +192,5 @@ typedef struct
|
||||
|
||||
typedef int (*MENUAPI)( UI_FUNCTIONS *pFunctionTable, ui_enginefuncs_t* engfuncs, ui_globalvars_t *pGlobals );
|
||||
|
||||
typedef int (*UITEXTAPI)( ui_textfuncs_t* engfuncs );
|
||||
#endif//MENU_INT_H
|
||||
|
Loading…
Reference in New Issue
Block a user