19 #ifndef EMPTY_PALETTE_H_INCLUDED
20 #define EMPTY_PALETTE_H_INCLUDED
50 upscroll_button->enable(
false);
52 downscroll_button->enable(
false);
54 palette_menu_button->set_overlay(
"");
55 palette_menu_button->enable(
false);
58 upscroll_button->enable(
true);
60 downscroll_button->enable(
true);
62 palette_menu_button->enable(
true);
std::shared_ptr< gui::button > find_action_button(const std::string &id)
Retrieves a pointer to a theme UI button.
virtual bool supports_swap()
std::vector< gui::widget > * get_widgets()
virtual size_t start_num()
virtual bool can_scroll_down()
virtual void set_group(size_t)
virtual void expand_palette_groups_menu(std::vector< std::string > &)
Menu expanding for palette group list.
virtual bool scroll_up()
Scroll the editor-palette up one step if possible.
virtual void adjust_size(const SDL_Rect &)
virtual void prev_group()
virtual void expand_palette_groups_menu(std::vector< std::pair< std::string, std::string > > &)
Menu expanding for palette group list.
virtual bool mouse_click()
Manage the empty-palette in the editor.
virtual const std::vector< item_group > & get_groups() const
virtual void set_start_item(size_t)
std::vector< item_group > empty_
virtual bool scroll_down()
Scroll the editor-palette down one step if possible.
empty_palette(display &gui)
virtual bool can_scroll_up()
std::shared_ptr< gui::button > find_menu_button(const std::string &id)
virtual void next_group()