Class NFD
java.lang.Object
overrungl.nfd.NFD
Native File Dialog Extended binding.
See the source repository for basic usages.
- Since:
- 0.1.0
- Author:
- squid233
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
static void
NFD_FreePath
(MemorySegment filePath) static String
static MemorySegment
static int
NFD_Init()
static int
NFD_OpenDialog
(MemorySegment outPath, MemorySegment filterList, int filterCount, MemorySegment defaultPath) static int
NFD_OpenDialog
(String[] outPath, NFDFilterItem filterList, String defaultPath) static int
NFD_OpenDialog_With
(MemorySegment outPath, MemorySegment args) static int
NFD_OpenDialog_With
(String[] outPath, NFDOpenDialogArgs args) static int
NFD_OpenDialog_With_Impl
(int version, MemorySegment outPath, MemorySegment args) static int
NFD_OpenDialogMultiple
(MemorySegment outPaths, MemorySegment filterList, int filterCount, MemorySegment defaultPath) static int
NFD_OpenDialogMultiple
(MemorySegment outPaths, NFDFilterItem filterList, String defaultPath) static int
NFD_OpenDialogMultiple_With
(MemorySegment outPaths, MemorySegment args) static int
NFD_OpenDialogMultiple_With
(MemorySegment outPaths, NFDOpenDialogArgs args) static int
NFD_OpenDialogMultiple_With_Impl
(int version, MemorySegment outPaths, MemorySegment args) static int
NFD_PathSet_EnumNext
(MemorySegment enumerator, MemorySegment outPath) static int
NFD_PathSet_EnumNext
(MemorySegment enumerator, String[] outPath) static void
NFD_PathSet_Free
(MemorySegment pathSet) static void
NFD_PathSet_FreeEnum
(MemorySegment enumerator) static void
NFD_PathSet_FreePath
(MemorySegment filePath) static int
NFD_PathSet_GetCount
(MemorySegment pathSet, long[] count) static int
NFD_PathSet_GetCount
(MemorySegment pathSet, MemorySegment count) static int
NFD_PathSet_GetEnum
(MemorySegment pathSet, MemorySegment outEnumerator) static int
NFD_PathSet_GetPath
(MemorySegment pathSet, long index, MemorySegment outPath) static int
NFD_PathSet_GetPath
(MemorySegment pathSet, long index, String[] outPath) static int
NFD_PickFolder
(MemorySegment outPath, MemorySegment defaultPath) static int
NFD_PickFolder
(String[] outPath, String defaultPath) static int
NFD_PickFolder_With
(MemorySegment outPath, MemorySegment args) static int
NFD_PickFolder_With
(String[] outPath, NFDPickFolderArgs args) static int
NFD_PickFolder_With_Impl
(int version, MemorySegment outPath, MemorySegment args) static int
NFD_PickFolderMultiple
(MemorySegment outPaths, MemorySegment defaultPath) static int
NFD_PickFolderMultiple
(MemorySegment outPaths, String defaultPath) static int
NFD_PickFolderMultiple_With
(MemorySegment outPaths, MemorySegment args) static int
NFD_PickFolderMultiple_With
(MemorySegment outPaths, NFDPickFolderArgs args) static int
NFD_PickFolderMultiple_With_Impl
(int version, MemorySegment outPaths, MemorySegment args) static void
NFD_Quit()
static int
NFD_SaveDialog
(MemorySegment outPath, MemorySegment filterList, int filterCount, MemorySegment defaultPath, MemorySegment defaultName) static int
NFD_SaveDialog
(String[] outPath, NFDFilterItem filterList, String defaultPath, String defaultName) static int
NFD_SaveDialog_With
(MemorySegment outPath, MemorySegment args) static int
NFD_SaveDialog_With
(String[] outPath, NFDSaveDialogArgs args) static int
NFD_SaveDialog_With_Impl
(int version, MemorySegment outPath, MemorySegment 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:
-
NFD_INTERFACE_VERSION
public static final int NFD_INTERFACE_VERSION- See Also:
-
-
Method Details
-
NFD_FreePath
-
NFD_Init
-
NFD_Quit
public static void NFD_Quit() -
NFD_OpenDialog
@CType("nfdresult_t") public static int NFD_OpenDialog(@CType("nfdnchar_t**") MemorySegment outPath, @CType("const nfdnfilteritem_t*") MemorySegment filterList, @CType("nfdfiltersize_t") int filterCount, @CType("const nfdnchar_t*") MemorySegment defaultPath) -
NFD_OpenDialog_With_Impl
@CType("nfdresult_t") public static int NFD_OpenDialog_With_Impl(@CType("nfdversion_t") int version, @CType("nfdnchar_t**") MemorySegment outPath, @CType("const nfdopendialognargs_t*") MemorySegment args) -
NFD_OpenDialog_With
@CType("nfdresult_t") public static int NFD_OpenDialog_With(@CType("nfdnchar_t**") MemorySegment outPath, @CType("const nfdopendialognargs_t*") MemorySegment args) -
NFD_OpenDialogMultiple
@CType("nfdresult_t") public static int NFD_OpenDialogMultiple(@CType("const nfdpathset_t**") MemorySegment outPaths, @CType("const nfdnfilteritem_t*") MemorySegment filterList, @CType("nfdfiltersize_t") int filterCount, @CType("const nfdnchar_t*") MemorySegment defaultPath) -
NFD_OpenDialogMultiple_With_Impl
@CType("nfdresult_t") public static int NFD_OpenDialogMultiple_With_Impl(@CType("nfdversion_t") int version, @CType("const nfdpathset_t**") MemorySegment outPaths, @CType("const nfdopendialognargs_t*") MemorySegment args) -
NFD_OpenDialogMultiple_With
@CType("nfdresult_t") public static int NFD_OpenDialogMultiple_With(@CType("const nfdpathset_t**") MemorySegment outPaths, @CType("const nfdopendialognargs_t*") MemorySegment args) -
NFD_SaveDialog
@CType("nfdresult_t") public static int NFD_SaveDialog(@CType("nfdnchar_t**") MemorySegment outPath, @CType("const nfdnfilteritem_t*") MemorySegment filterList, @CType("nfdfiltersize_t") int filterCount, @CType("const nfdnchar_t*") MemorySegment defaultPath, @CType("const nfdnchar_t*") MemorySegment defaultName) -
NFD_SaveDialog_With_Impl
@CType("nfdresult_t") public static int NFD_SaveDialog_With_Impl(@CType("nfdversion_t") int version, @CType("nfdnchar_t**") MemorySegment outPath, @CType("const nfdsavedialognargs_t*") MemorySegment args) -
NFD_SaveDialog_With
@CType("nfdresult_t") public static int NFD_SaveDialog_With(@CType("nfdnchar_t**") MemorySegment outPath, @CType("const nfdsavedialognargs_t*") MemorySegment args) -
NFD_PickFolder
@CType("nfdresult_t") public static int NFD_PickFolder(@CType("nfdnchar_t**") MemorySegment outPath, @CType("const nfdnchar_t*") MemorySegment defaultPath) -
NFD_PickFolder_With_Impl
@CType("nfdresult_t") public static int NFD_PickFolder_With_Impl(@CType("nfdversion_t") int version, @CType("nfdnchar_t**") MemorySegment outPath, @CType("const nfdpickfoldernargs_t*") MemorySegment args) -
NFD_PickFolder_With
@CType("nfdresult_t") public static int NFD_PickFolder_With(@CType("nfdnchar_t**") MemorySegment outPath, @CType("const nfdpickfoldernargs_t*") MemorySegment args) -
NFD_PickFolderMultiple
@CType("nfdresult_t") public static int NFD_PickFolderMultiple(@CType("const nfdpathset_t**") MemorySegment outPaths, @CType("const nfdnchar_t*") MemorySegment defaultPath) -
NFD_PickFolderMultiple_With_Impl
@CType("nfdresult_t") public static int NFD_PickFolderMultiple_With_Impl(@CType("nfdversion_t") int version, @CType("const nfdpathset_t**") MemorySegment outPaths, @CType("const nfdpickfoldernargs_t*") MemorySegment args) -
NFD_PickFolderMultiple_With
@CType("nfdresult_t") public static int NFD_PickFolderMultiple_With(@CType("const nfdpathset_t**") MemorySegment outPaths, @CType("const nfdpickfoldernargs_t*") MemorySegment args) -
NFD_GetError_
-
NFD_GetError
-
NFD_ClearError
public static void NFD_ClearError() -
NFD_PathSet_GetCount
@CType("nfdresult_t") public static int NFD_PathSet_GetCount(@CType("const nfdpathset_t*") MemorySegment pathSet, @Out @CType("nfdpathsetsize_t*") MemorySegment count) -
NFD_PathSet_GetCount
@CType("nfdresult_t") public static int NFD_PathSet_GetCount(@CType("const nfdpathset_t*") MemorySegment pathSet, @Out long[] count) -
NFD_PathSet_GetPath
@CType("nfdresult_t") public static int NFD_PathSet_GetPath(@CType("const nfdpathset_t*") MemorySegment pathSet, @CType("nfdpathsetsize_t") long index, @CType("nfdnchar_t**") MemorySegment outPath) -
NFD_PathSet_FreePath
-
NFD_PathSet_GetEnum
@CType("nfdresult_t") public static int NFD_PathSet_GetEnum(@CType("const nfdpathset_t*") MemorySegment pathSet, @CType("nfdpathsetenum_t*") MemorySegment outEnumerator) -
NFD_PathSet_FreeEnum
-
NFD_PathSet_EnumNext
@CType("nfdresult_t") public static int NFD_PathSet_EnumNext(@CType("nfdpathsetenum_t*") MemorySegment enumerator, @CType("nfdnchar_t**") MemorySegment outPath) -
NFD_PathSet_Free
-
NFD_OpenDialog
-
NFD_OpenDialog_With
-
NFD_OpenDialogMultiple
public static int NFD_OpenDialogMultiple(MemorySegment outPaths, NFDFilterItem filterList, String defaultPath) -
NFD_OpenDialogMultiple_With
-
NFD_SaveDialog
public static int NFD_SaveDialog(String[] outPath, NFDFilterItem filterList, String defaultPath, String defaultName) -
NFD_SaveDialog_With
-
NFD_PickFolder
-
NFD_PickFolder_With
-
NFD_PickFolderMultiple
-
NFD_PickFolderMultiple_With
-
NFD_PathSet_GetPath
-
NFD_PathSet_EnumNext
-