mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +00:00
[nk] implement file selection
This commit is contained in:
parent
6009d4a8b6
commit
7b43376dfb
@ -132,10 +132,13 @@ bool nk_wnd_file_picker(nk_menu_handle_t *nk, const char* in, char* out, const c
|
||||
files = dir_list_new(path, filter, true, true);
|
||||
else
|
||||
RARCH_LOG ("File: %s selected\n", path);
|
||||
ret = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
nk_layout_row_dynamic(ctx, 30, 1);
|
||||
{
|
||||
nk_button_text(ctx, "OK", 2, NK_BUTTON_DEFAULT);
|
||||
}
|
||||
}
|
||||
|
||||
/* sort the dir list with directories first */
|
||||
|
Loading…
x
Reference in New Issue
Block a user