Revision 33172ad4
Added by David Sorber over 2 years ago
| src/main.cpp | ||
|---|---|---|
|
IM_ARRAYSIZE(filterBuffer),
|
||
|
ImGuiInputTextFlags_CallbackEdit,
|
||
|
catalogFilterCallback);
|
||
|
ImGui::SameLine();
|
||
|
|
||
|
if (ImGui::Button("Clear Filter"))
|
||
|
{
|
||
|
filterBuffer[0] = 0;
|
||
|
catalog.setAllVisible();
|
||
|
}
|
||
|
|
||
|
ImGui::Separator();
|
||
|
if (ImGui::BeginTabBar("##Tabs", ImGuiTabBarFlags_None))
|
||
| ... | ... | |
|
}
|
||
|
ImGui::EndChild();
|
||
|
|
||
|
if (ImGui::Button("Clear Filter"))
|
||
|
if (ImGui::Button("Save"))
|
||
|
{
|
||
|
filterBuffer[0] = 0;
|
||
|
// I'll make this do something someday
|
||
|
}
|
||
|
ImGui::SameLine();
|
||
|
|
||
|
if (ImGui::Button("Save"))
|
||
|
{}
|
||
|
ImGui::EndGroup();
|
||
|
}
|
||
|
}
|
||
Add missing FindSodium.cmake file. Add minor fix for clear filter button
and move it next to the filter text box.