mirror of
https://github.com/joel16/NX-Shell.git
synced 2024-11-23 03:39:49 +00:00
filebrowser: Do not freeze header and explicitly use namespace for GUI functions
This commit is contained in:
parent
8312090e20
commit
58dfe61a54
@ -105,7 +105,7 @@ namespace GUI {
|
||||
|
||||
io.ConfigFlags |= ImGuiConfigFlags_NavEnableGamepad;
|
||||
|
||||
if (!InitEGL(nwindowGetDefault()))
|
||||
if (!GUI::InitEGL(nwindowGetDefault()))
|
||||
return false;
|
||||
|
||||
gladLoadGL();
|
||||
@ -162,6 +162,6 @@ namespace GUI {
|
||||
|
||||
void Exit(void) {
|
||||
ImGui_ImplSwitch_Shutdown();
|
||||
ExitEGL();
|
||||
GUI::ExitEGL();
|
||||
}
|
||||
}
|
||||
|
@ -107,7 +107,7 @@ namespace Tabs {
|
||||
|
||||
if (ImGui::BeginTable("Directory List", 3, tableFlags)) {
|
||||
// Make header always visible
|
||||
ImGui::TableSetupScrollFreeze(0, 1);
|
||||
// ImGui::TableSetupScrollFreeze(0, 1);
|
||||
|
||||
ImGui::TableSetupColumn("", ImGuiTableColumnFlags_NoSort | ImGuiTableColumnFlags_NoHeaderLabel | ImGuiTableColumnFlags_WidthFixed);
|
||||
ImGui::TableSetupColumn("Filename", ImGuiTableColumnFlags_DefaultSort);
|
||||
|
Loading…
Reference in New Issue
Block a user