mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 23:40:42 +00:00
Integrates the nativeFileDialog library to enable native file dialogs on the major platforms. It is activated with SDL.
This commit is contained in:
parent
bab55d46a9
commit
ec6f9c05a6
15 changed files with 2489 additions and 354 deletions
21
Engine/lib/nativeFileDialogs/common.h
Normal file
21
Engine/lib/nativeFileDialogs/common.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
Native File Dialog
|
||||
|
||||
Internal, common across platforms
|
||||
|
||||
http://www.frogtoss.com/labs
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _NFD_COMMON_H
|
||||
#define _NFD_COMMON_H
|
||||
|
||||
#define NFD_MAX_STRLEN 256
|
||||
#define _NFD_UNUSED(x) ((void)x)
|
||||
|
||||
void *NFDi_Malloc( size_t bytes );
|
||||
void NFDi_Free( void *ptr );
|
||||
void NFDi_SetError( const char *msg );
|
||||
void NFDi_SafeStrncpy( char *dst, const char *src, size_t maxCopy );
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue