Skip to content

Commit

Permalink
GUI2/Multi Page: marked set_page_builders private
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Dec 3, 2020
1 parent fd2662b commit 826947c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/gui/widgets/multi_page.hpp
Expand Up @@ -53,6 +53,7 @@ class multi_page : public container_base
* @returns The grid of the newly added page.
*/
grid& add_page(const string_map& item);

/**
* Adds single page to the grid.
*
Expand Down Expand Up @@ -88,6 +89,7 @@ class multi_page : public container_base
* @returns The grid of the newly added page.
*/
grid& add_page(const std::map<std::string /* widget id */, string_map>& data);

/**
* Adds single page to the grid.
*
Expand All @@ -103,7 +105,7 @@ class multi_page : public container_base
* members. Having both empty and non-empty
* id's gives undefined behavior.
*
* @param type the id of the [page_definition] that shoduol be used
* @param type the id of the [page_definition] that should be used
*
* @param insert_pos the position where th new page is inserted, usually
* -1 for 'at end'
Expand All @@ -129,7 +131,7 @@ class multi_page : public container_base
unsigned get_page_count() const;

/**
* Selectes a page.
* Selects a page.
*
* @param page The page to select.
* @param select Select or deselect the page.
Expand Down Expand Up @@ -172,6 +174,7 @@ class multi_page : public container_base
/** See @ref styled_widget::get_state. */
virtual unsigned get_state() const override;

private:
/***** ***** ***** setters / getters for members ***** ****** *****/

void set_page_builders(const std::map<std::string, builder_grid_const_ptr>& page_builders)
Expand All @@ -180,7 +183,6 @@ class multi_page : public container_base
page_builders_ = page_builders;
}

private:
/**
* Finishes the building initialization of the widget.
*
Expand Down

0 comments on commit 826947c

Please sign in to comment.