[nk] implement file selection

This commit is contained in:
radius 2016-06-05 22:57:41 -05:00
parent 6009d4a8b6
commit 7b43376dfb

View File

@ -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 */