Package org.lwjgl.util.nfd
Class NativeFileDialog
java.lang.Object
org.lwjgl.util.nfd.NativeFileDialog
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoid NFD_ClearError(void)static voidNFD_FreePath(long filePath) void NFD_FreePath(nfdchar_t * filePath)static voidNFD_FreePath(ByteBuffer filePath) void NFD_FreePath(nfdchar_t * filePath)static @Nullable Stringchar const * NFD_GetError(void)static intNFD_Init()nfdresult_t NFD_Init(void)static intNFD_OpenDialog(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable CharSequence defaultPath) nfdresult_t NFD_OpenDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath)static intNFD_OpenDialog(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable ByteBuffer defaultPath) nfdresult_t NFD_OpenDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath)static intNFD_OpenDialog_With(PointerBuffer outPath, NFDOpenDialogArgs args) nfdresult_t NFD_OpenDialog_With(nfdchar_t ** outPath, nfdopendialogu8args_t const * args)static intNFD_OpenDialogMultiple(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable CharSequence defaultPath) nfdresult_t NFD_OpenDialogMultiple(nfdpathset_t const ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath)static intNFD_OpenDialogMultiple(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable ByteBuffer defaultPath) nfdresult_t NFD_OpenDialogMultiple(nfdpathset_t const ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath)static intNFD_OpenDialogMultiple_With(PointerBuffer outPath, NFDOpenDialogArgs args) nfdresult_t NFD_OpenDialogMultiple_With(nfdpathset_t const ** outPath, nfdopendialogu8args_t const * args)static intNFD_PathSet_EnumNext(NFDPathSetEnum enumerator, PointerBuffer outPath) nfdresult_t NFD_PathSet_EnumNext(nfdpathsetenum_t * enumerator, nfdchar_t ** outPath)static voidNFD_PathSet_Free(long pathSet) void NFD_PathSet_Free(nfdpathset_t const * pathSet)static voidNFD_PathSet_FreeEnum(NFDPathSetEnum enumerator) void NFD_PathSet_FreeEnum(nfdpathsetenum_t * enumerator)static voidNFD_PathSet_FreePath(long filePath) void NFD_PathSet_FreePath(nfdchar_t * filePath)static voidNFD_PathSet_FreePath(ByteBuffer filePath) void NFD_PathSet_FreePath(nfdchar_t * filePath)static intNFD_PathSet_GetCount(long pathSet, int[] count) nfdresult_t NFD_PathSet_GetCount(nfdpathset_t const * pathSet, nfdpathsetsize_t * count)static intNFD_PathSet_GetCount(long pathSet, IntBuffer count) nfdresult_t NFD_PathSet_GetCount(nfdpathset_t const * pathSet, nfdpathsetsize_t * count)static intNFD_PathSet_GetEnum(long pathSet, NFDPathSetEnum outEnumerator) nfdresult_t NFD_PathSet_GetEnum(nfdpathset_t const * pathSet, nfdpathsetenum_t * outEnumerator)static intNFD_PathSet_GetPath(long pathSet, int index, PointerBuffer outPath) nfdresult_t NFD_PathSet_GetPath(nfdpathset_t const * pathSet, nfdpathsetsize_t index, nfdchar_t ** outPath)static intNFD_PickFolder(PointerBuffer outPath, @Nullable CharSequence defaultPath) nfdresult_t NFD_PickFolder(nfdchar_t ** outPath, nfdchar_t const * defaultPath)static intNFD_PickFolder(PointerBuffer outPath, @Nullable ByteBuffer defaultPath) nfdresult_t NFD_PickFolder(nfdchar_t ** outPath, nfdchar_t const * defaultPath)static intNFD_PickFolder_With(PointerBuffer outPath, NFDPickFolderArgs args) nfdresult_t NFD_PickFolder_With(nfdchar_t ** outPath, nfdpickfolderu8args_t const * args)static intNFD_PickFolderMultiple(PointerBuffer outPaths, @Nullable CharSequence defaultPath) nfdresult_t NFD_PickFolderMultiple(nfdpathset_t const ** outPaths, nfdchar_t const * defaultPath)static intNFD_PickFolderMultiple(PointerBuffer outPaths, @Nullable ByteBuffer defaultPath) nfdresult_t NFD_PickFolderMultiple(nfdpathset_t const ** outPaths, nfdchar_t const * defaultPath)static intNFD_PickFolderMultiple_With(PointerBuffer outPaths, NFDPickFolderArgs args) nfdresult_t NFD_PickFolderMultiple_With(nfdpathset_t const ** outPaths, nfdpickfolderu8args_t const * args)static voidNFD_Quit()void NFD_Quit(void)static intNFD_SaveDialog(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable CharSequence defaultPath, @Nullable CharSequence defaultName) nfdresult_t NFD_SaveDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath, nfdchar_t const * defaultName)static intNFD_SaveDialog(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable ByteBuffer defaultPath, @Nullable ByteBuffer defaultName) nfdresult_t NFD_SaveDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath, nfdchar_t const * defaultName)static intNFD_SaveDialog_With(PointerBuffer outPath, NFDSaveDialogArgs args) nfdresult_t NFD_SaveDialog_With(nfdchar_t ** outPath, nfdsavedialogu8args_t const * args)static voidnNFD_FreePath(long filePath) void NFD_FreePath(nfdchar_t * filePath)static longchar const * NFD_GetError(void)static intnNFD_OpenDialog(long outPath, long filterList, int filterCount, long defaultPath) nfdresult_t NFD_OpenDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath)static intnNFD_OpenDialog_With(long outPath, long args) nfdresult_t NFD_OpenDialog_With(nfdchar_t ** outPath, nfdopendialogu8args_t const * args)static intnNFD_OpenDialogMultiple(long outPath, long filterList, int filterCount, long defaultPath) nfdresult_t NFD_OpenDialogMultiple(nfdpathset_t const ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath)static intnNFD_OpenDialogMultiple_With(long outPath, long args) nfdresult_t NFD_OpenDialogMultiple_With(nfdpathset_t const ** outPath, nfdopendialogu8args_t const * args)static intnNFD_PathSet_EnumNext(long enumerator, long outPath) nfdresult_t NFD_PathSet_EnumNext(nfdpathsetenum_t * enumerator, nfdchar_t ** outPath)static voidnNFD_PathSet_Free(long pathSet) void NFD_PathSet_Free(nfdpathset_t const * pathSet)static voidnNFD_PathSet_FreeEnum(long enumerator) void NFD_PathSet_FreeEnum(nfdpathsetenum_t * enumerator)static voidnNFD_PathSet_FreePath(long filePath) void NFD_PathSet_FreePath(nfdchar_t * filePath)static intnNFD_PathSet_GetCount(long pathSet, int[] count) nfdresult_t NFD_PathSet_GetCount(nfdpathset_t const * pathSet, nfdpathsetsize_t * count)static intnNFD_PathSet_GetCount(long pathSet, long count) nfdresult_t NFD_PathSet_GetCount(nfdpathset_t const * pathSet, nfdpathsetsize_t * count)static intnNFD_PathSet_GetEnum(long pathSet, long outEnumerator) nfdresult_t NFD_PathSet_GetEnum(nfdpathset_t const * pathSet, nfdpathsetenum_t * outEnumerator)static intnNFD_PathSet_GetPath(long pathSet, int index, long outPath) nfdresult_t NFD_PathSet_GetPath(nfdpathset_t const * pathSet, nfdpathsetsize_t index, nfdchar_t ** outPath)static intnNFD_PickFolder(long outPath, long defaultPath) nfdresult_t NFD_PickFolder(nfdchar_t ** outPath, nfdchar_t const * defaultPath)static intnNFD_PickFolder_With(long outPath, long args) nfdresult_t NFD_PickFolder_With(nfdchar_t ** outPath, nfdpickfolderu8args_t const * args)static intnNFD_PickFolderMultiple(long outPaths, long defaultPath) nfdresult_t NFD_PickFolderMultiple(nfdpathset_t const ** outPaths, nfdchar_t const * defaultPath)static intnNFD_PickFolderMultiple_With(long outPaths, long args) nfdresult_t NFD_PickFolderMultiple_With(nfdpathset_t const ** outPaths, nfdpickfolderu8args_t const * args)static intnNFD_SaveDialog(long outPath, long filterList, int filterCount, long defaultPath, long defaultName) nfdresult_t NFD_SaveDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath, nfdchar_t const * defaultName)static intnNFD_SaveDialog_With(long outPath, long args) nfdresult_t NFD_SaveDialog_With(nfdchar_t ** outPath, nfdsavedialogu8args_t const * args)
-
Field Details
-
NFD_ERROR
public static final int NFD_ERROR- See Also:
-
NFD_OKAY
public static final int NFD_OKAY- See Also:
-
NFD_CANCEL
public static final int NFD_CANCEL- See Also:
-
NFD_WINDOW_HANDLE_TYPE_UNSET
public static final int NFD_WINDOW_HANDLE_TYPE_UNSET- See Also:
-
NFD_WINDOW_HANDLE_TYPE_WINDOWS
public static final int NFD_WINDOW_HANDLE_TYPE_WINDOWS- See Also:
-
NFD_WINDOW_HANDLE_TYPE_COCOA
public static final int NFD_WINDOW_HANDLE_TYPE_COCOA- See Also:
-
NFD_WINDOW_HANDLE_TYPE_X11
public static final int NFD_WINDOW_HANDLE_TYPE_X11- See Also:
-
-
Method Details
-
nNFD_FreePath
public static void nNFD_FreePath(long filePath) void NFD_FreePath(nfdchar_t * filePath) -
NFD_FreePath
void NFD_FreePath(nfdchar_t * filePath) -
NFD_FreePath
public static void NFD_FreePath(long filePath) void NFD_FreePath(nfdchar_t * filePath) -
NFD_Init
public static int NFD_Init()nfdresult_t NFD_Init(void) -
NFD_Quit
public static void NFD_Quit()void NFD_Quit(void) -
nNFD_OpenDialog
public static int nNFD_OpenDialog(long outPath, long filterList, int filterCount, long defaultPath) nfdresult_t NFD_OpenDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath) -
NFD_OpenDialog
public static int NFD_OpenDialog(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable ByteBuffer defaultPath) nfdresult_t NFD_OpenDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath) -
NFD_OpenDialog
public static int NFD_OpenDialog(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable CharSequence defaultPath) nfdresult_t NFD_OpenDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath) -
nNFD_OpenDialog_With
public static int nNFD_OpenDialog_With(long outPath, long args) nfdresult_t NFD_OpenDialog_With(nfdchar_t ** outPath, nfdopendialogu8args_t const * args) -
NFD_OpenDialog_With
nfdresult_t NFD_OpenDialog_With(nfdchar_t ** outPath, nfdopendialogu8args_t const * args) -
nNFD_OpenDialogMultiple
public static int nNFD_OpenDialogMultiple(long outPath, long filterList, int filterCount, long defaultPath) nfdresult_t NFD_OpenDialogMultiple(nfdpathset_t const ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath) -
NFD_OpenDialogMultiple
public static int NFD_OpenDialogMultiple(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable ByteBuffer defaultPath) nfdresult_t NFD_OpenDialogMultiple(nfdpathset_t const ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath) -
NFD_OpenDialogMultiple
public static int NFD_OpenDialogMultiple(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable CharSequence defaultPath) nfdresult_t NFD_OpenDialogMultiple(nfdpathset_t const ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath) -
nNFD_OpenDialogMultiple_With
public static int nNFD_OpenDialogMultiple_With(long outPath, long args) nfdresult_t NFD_OpenDialogMultiple_With(nfdpathset_t const ** outPath, nfdopendialogu8args_t const * args) -
NFD_OpenDialogMultiple_With
nfdresult_t NFD_OpenDialogMultiple_With(nfdpathset_t const ** outPath, nfdopendialogu8args_t const * args) -
nNFD_SaveDialog
public static int nNFD_SaveDialog(long outPath, long filterList, int filterCount, long defaultPath, long defaultName) nfdresult_t NFD_SaveDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath, nfdchar_t const * defaultName) -
NFD_SaveDialog
public static int NFD_SaveDialog(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable ByteBuffer defaultPath, @Nullable ByteBuffer defaultName) nfdresult_t NFD_SaveDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath, nfdchar_t const * defaultName) -
NFD_SaveDialog
public static int NFD_SaveDialog(PointerBuffer outPath, @Nullable NFDFilterItem.Buffer filterList, @Nullable CharSequence defaultPath, @Nullable CharSequence defaultName) nfdresult_t NFD_SaveDialog(nfdchar_t ** outPath, nfdfilteritem_t const * filterList, nfdfiltersize_t filterCount, nfdchar_t const * defaultPath, nfdchar_t const * defaultName) -
nNFD_SaveDialog_With
public static int nNFD_SaveDialog_With(long outPath, long args) nfdresult_t NFD_SaveDialog_With(nfdchar_t ** outPath, nfdsavedialogu8args_t const * args) -
NFD_SaveDialog_With
nfdresult_t NFD_SaveDialog_With(nfdchar_t ** outPath, nfdsavedialogu8args_t const * args) -
nNFD_PickFolder
public static int nNFD_PickFolder(long outPath, long defaultPath) nfdresult_t NFD_PickFolder(nfdchar_t ** outPath, nfdchar_t const * defaultPath) -
NFD_PickFolder
nfdresult_t NFD_PickFolder(nfdchar_t ** outPath, nfdchar_t const * defaultPath) -
NFD_PickFolder
nfdresult_t NFD_PickFolder(nfdchar_t ** outPath, nfdchar_t const * defaultPath) -
nNFD_PickFolder_With
public static int nNFD_PickFolder_With(long outPath, long args) nfdresult_t NFD_PickFolder_With(nfdchar_t ** outPath, nfdpickfolderu8args_t const * args) -
NFD_PickFolder_With
nfdresult_t NFD_PickFolder_With(nfdchar_t ** outPath, nfdpickfolderu8args_t const * args) -
nNFD_PickFolderMultiple
public static int nNFD_PickFolderMultiple(long outPaths, long defaultPath) nfdresult_t NFD_PickFolderMultiple(nfdpathset_t const ** outPaths, nfdchar_t const * defaultPath) -
NFD_PickFolderMultiple
nfdresult_t NFD_PickFolderMultiple(nfdpathset_t const ** outPaths, nfdchar_t const * defaultPath) -
NFD_PickFolderMultiple
public static int NFD_PickFolderMultiple(PointerBuffer outPaths, @Nullable CharSequence defaultPath) nfdresult_t NFD_PickFolderMultiple(nfdpathset_t const ** outPaths, nfdchar_t const * defaultPath) -
nNFD_PickFolderMultiple_With
public static int nNFD_PickFolderMultiple_With(long outPaths, long args) nfdresult_t NFD_PickFolderMultiple_With(nfdpathset_t const ** outPaths, nfdpickfolderu8args_t const * args) -
NFD_PickFolderMultiple_With
nfdresult_t NFD_PickFolderMultiple_With(nfdpathset_t const ** outPaths, nfdpickfolderu8args_t const * args) -
nNFD_GetError
public static long nNFD_GetError()char const * NFD_GetError(void) -
NFD_GetError
char const * NFD_GetError(void) -
NFD_ClearError
public static void NFD_ClearError()void NFD_ClearError(void) -
nNFD_PathSet_GetCount
public static int nNFD_PathSet_GetCount(long pathSet, long count) nfdresult_t NFD_PathSet_GetCount(nfdpathset_t const * pathSet, nfdpathsetsize_t * count) -
NFD_PathSet_GetCount
nfdresult_t NFD_PathSet_GetCount(nfdpathset_t const * pathSet, nfdpathsetsize_t * count) -
nNFD_PathSet_GetPath
public static int nNFD_PathSet_GetPath(long pathSet, int index, long outPath) nfdresult_t NFD_PathSet_GetPath(nfdpathset_t const * pathSet, nfdpathsetsize_t index, nfdchar_t ** outPath) -
NFD_PathSet_GetPath
nfdresult_t NFD_PathSet_GetPath(nfdpathset_t const * pathSet, nfdpathsetsize_t index, nfdchar_t ** outPath) -
nNFD_PathSet_FreePath
public static void nNFD_PathSet_FreePath(long filePath) void NFD_PathSet_FreePath(nfdchar_t * filePath) -
NFD_PathSet_FreePath
void NFD_PathSet_FreePath(nfdchar_t * filePath) -
NFD_PathSet_FreePath
public static void NFD_PathSet_FreePath(long filePath) void NFD_PathSet_FreePath(nfdchar_t * filePath) -
nNFD_PathSet_GetEnum
public static int nNFD_PathSet_GetEnum(long pathSet, long outEnumerator) nfdresult_t NFD_PathSet_GetEnum(nfdpathset_t const * pathSet, nfdpathsetenum_t * outEnumerator) -
NFD_PathSet_GetEnum
nfdresult_t NFD_PathSet_GetEnum(nfdpathset_t const * pathSet, nfdpathsetenum_t * outEnumerator) -
nNFD_PathSet_FreeEnum
public static void nNFD_PathSet_FreeEnum(long enumerator) void NFD_PathSet_FreeEnum(nfdpathsetenum_t * enumerator) -
NFD_PathSet_FreeEnum
void NFD_PathSet_FreeEnum(nfdpathsetenum_t * enumerator) -
nNFD_PathSet_EnumNext
public static int nNFD_PathSet_EnumNext(long enumerator, long outPath) nfdresult_t NFD_PathSet_EnumNext(nfdpathsetenum_t * enumerator, nfdchar_t ** outPath) -
NFD_PathSet_EnumNext
nfdresult_t NFD_PathSet_EnumNext(nfdpathsetenum_t * enumerator, nfdchar_t ** outPath) -
nNFD_PathSet_Free
public static void nNFD_PathSet_Free(long pathSet) void NFD_PathSet_Free(nfdpathset_t const * pathSet) -
NFD_PathSet_Free
public static void NFD_PathSet_Free(long pathSet) void NFD_PathSet_Free(nfdpathset_t const * pathSet) -
nNFD_PathSet_GetCount
public static int nNFD_PathSet_GetCount(long pathSet, int[] count) nfdresult_t NFD_PathSet_GetCount(nfdpathset_t const * pathSet, nfdpathsetsize_t * count) -
NFD_PathSet_GetCount
public static int NFD_PathSet_GetCount(long pathSet, int[] count) nfdresult_t NFD_PathSet_GetCount(nfdpathset_t const * pathSet, nfdpathsetsize_t * count)
-