1 #ifndef CPPURSES_DEMOS_PALETTE_PALETTE_DEMOS_HPP
2 #define CPPURSES_DEMOS_PALETTE_PALETTE_DEMOS_HPP
3 #include <cppurses/widget/layouts/horizontal.hpp>
4 
5 #include "all_colors_display.hpp"
6 #include "color_definition_setter.hpp"
7 
8 namespace palette {
9 
10 /// Provides a user interface to the color palette system.
11 class Palette_demo : public cppurses::layout::Horizontal {
12     Color_definition_setter& color_setter_{
13         this->make_child<Color_definition_setter>()};
14     All_colors_display& all_colors_display_{
15         this->make_child<All_colors_display>()};
16 
17    public:
18     Palette_demo();
19 };
20 
21 }  // namespace palette
22 #endif  // CPPURSES_DEMOS_PALETTE_PALETTE_DEMOS_HPP
23