diff --git a/src/Screens/MusicSelect/PanelLayout.hpp b/src/Screens/MusicSelect/PanelLayout.hpp index 9b0567d..5d23a8c 100644 --- a/src/Screens/MusicSelect/PanelLayout.hpp +++ b/src/Screens/MusicSelect/PanelLayout.hpp @@ -10,12 +10,16 @@ namespace MusicSelect { class Panel; - // PanelLayout restricts the ways you can create a scrollable grid of panels + // PanelLayout restricts the ways you can create a scrollable grid of panels usable in a Ribbon class PanelLayout : public std::vector,3>> { public: + // Takes of map of category name and associated Panels, useful for all the sorted layouts explicit PanelLayout(const std::map>>& categories, SharedResources& resources); + // Arranges all the panels in the vector in columns of three explicit PanelLayout(const std::vector>& panels, SharedResources& resources); + // Stepmania-like empty layout with big red panels that say EMPTY static PanelLayout red_empty_layout(SharedResources& resources); + // Standard title sort with categories for each letter static PanelLayout title_sort(const Data::SongList& song_list, SharedResources& resources); private: void fill_layout(SharedResources& resources);