diff --git a/src/musikbox/CMakeLists.txt b/src/musikbox/CMakeLists.txt index ec40174c7..a1eb84a23 100644 --- a/src/musikbox/CMakeLists.txt +++ b/src/musikbox/CMakeLists.txt @@ -24,6 +24,7 @@ set (BOX_SRCS ./app/window/LogWindow.cpp ./app/window/OutputWindow.cpp ./app/window/ResourcesWindow.cpp + ./app/window/ShortcutsWindow.cpp ./app/window/TrackListView.cpp ./app/window/TransportWindow.cpp ./cursespp/Checkbox.cpp diff --git a/src/musikbox/app/layout/IndexerLayout.cpp b/src/musikbox/app/layout/IndexerLayout.cpp index 9640637a4..55cad5d07 100755 --- a/src/musikbox/app/layout/IndexerLayout.cpp +++ b/src/musikbox/app/layout/IndexerLayout.cpp @@ -90,10 +90,9 @@ void IndexerLayout::Layout() { this->SetFrameVisible(false); this->MoveAndResize(x, y, cx, cy); - this->title->MoveAndResize(0, 0, cx, LABEL_HEIGHT); this->shortcuts->MoveAndResize(0, cy - 1, cx, LABEL_HEIGHT); - int startY = BOTTOM(this->title) + 1; + int startY = 0; int leftX = 0; int leftWidth = cx / 3; /* 1/3 width */ int rightX = leftWidth; @@ -145,9 +144,6 @@ int64 IndexerLayout::ListItemDecorator( } void IndexerLayout::InitializeWindows() { - this->title.reset(new TextLabel()); - this->title->SetText("settings", text::AlignCenter); - this->browseLabel.reset(new TextLabel()); this->browseLabel->SetText("browse (SPACE to add)", text::AlignLeft); @@ -187,7 +183,6 @@ void IndexerLayout::InitializeWindows() { this->shortcuts->AddShortcut("ALT+`", "console"); this->shortcuts->AddShortcut("CTRL+d", "quit"); - this->AddWindow(this->title); this->AddWindow(this->browseLabel); this->AddWindow(this->addedPathsLabel); this->AddWindow(this->browseList); diff --git a/src/musikbox/app/layout/IndexerLayout.h b/src/musikbox/app/layout/IndexerLayout.h index 1eceabf2d..7fa06a281 100755 --- a/src/musikbox/app/layout/IndexerLayout.h +++ b/src/musikbox/app/layout/IndexerLayout.h @@ -96,7 +96,6 @@ namespace musik { std::shared_ptr removeCheckbox; std::shared_ptr dotfileCheckbox; - std::shared_ptr title; std::shared_ptr browseLabel; std::shared_ptr addedPathsLabel; std::shared_ptr browseList;