mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-28 23:43:01 +00:00
GUI: I forgot about layout!
This commit is contained in:
parent
eb8f99dafe
commit
da1f34372a
1 changed files with 13 additions and 0 deletions
|
@ -206,6 +206,19 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::Begin("Settings",NULL,ImGuiWindowFlags_NoDocking)) {
|
||||
if (ImGui::BeginTabBar("settingsTab")) {
|
||||
if (ImGui::BeginTabItem("General")) {
|
||||
ImGui::Text("Workspace layout");
|
||||
if (ImGui::Button("Import")) {
|
||||
openFileDialog(GUI_FILE_IMPORT_LAYOUT);
|
||||
}
|
||||
ImGui::SameLine();
|
||||
if (ImGui::Button("Export")) {
|
||||
openFileDialog(GUI_FILE_EXPORT_LAYOUT);
|
||||
}
|
||||
ImGui::SameLine();
|
||||
if (ImGui::Button("Reset")) {
|
||||
showWarning("Are you sure you want to reset the workspace layout?",GUI_WARN_RESET_LAYOUT);
|
||||
}
|
||||
ImGui::Separator();
|
||||
ImGui::Text("Toggle channel solo on:");
|
||||
if (ImGui::RadioButton("Right-click or double-click##soloA",settings.soloAction==0)) {
|
||||
settings.soloAction=0;
|
||||
|
|
Loading…
Reference in a new issue