Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
nativefiledialog Class Reference

Classes

struct  nfdpathset_t
 

Public Types

enum  nfdresult_t { NFD_ERROR , NFD_OKAY , NFD_CANCEL }
 

Public Member Functions

static IntPtr NFD_PathSet_GetCount (ref nfdpathset_t pathset)
 
static void NFD_PathSet_Free (ref nfdpathset_t pathset)
 

Static Public Member Functions

static unsafe nfdresult_t NFD_OpenDialog (string filterList, string defaultPath, out string outPath)
 
static unsafe nfdresult_t NFD_OpenDialogMultiple (string filterList, string defaultPath, out nfdpathset_t outPaths)
 
static unsafe nfdresult_t NFD_SaveDialog (string filterList, string defaultPath, out string outPath)
 
static unsafe nfdresult_t NFD_PickFolder (string defaultPath, out string outPath)
 
static string NFD_GetError ()
 
static string NFD_PathSet_GetPath (ref nfdpathset_t pathset, IntPtr index)
 

Private Member Functions

static void free (IntPtr ptr)
 
static unsafe nfdresult_t INTERNAL_NFD_OpenDialog (byte *filterList, byte *defaultPath, out IntPtr outPath)
 
static unsafe nfdresult_t INTERNAL_NFD_OpenDialogMultiple (byte *filterList, byte *defaultPath, out nfdpathset_t outPaths)
 
static unsafe nfdresult_t INTERNAL_NFD_SaveDialog (byte *filterList, byte *defaultPath, out IntPtr outPath)
 
static unsafe nfdresult_t INTERNAL_NFD_PickFolder (byte *defaultPath, out IntPtr outPath)
 
static IntPtr INTERNAL_NFD_GetError ()
 
static IntPtr INTERNAL_NFD_PathSet_GetPath (ref nfdpathset_t pathset, IntPtr index)
 

Static Private Member Functions

static int Utf8Size (string str)
 
static unsafe byte * Utf8EncodeNullable (string str)
 
static unsafe string UTF8_ToManaged (IntPtr s, bool freePtr=false)
 

Static Private Attributes

const string nativeLibName = "nfd"
 

Detailed Description

Definition at line 5 of file nativefiledialog.cs.


The documentation for this class was generated from the following file: