43 return static_cast<tab_container_style>(
static_cast<uint32_t
>(aLhs) |
static_cast<uint32_t
>(aRhs));
47 return static_cast<tab_container_style>(
static_cast<uint32_t
>(aLhs) &
static_cast<uint32_t
>(aRhs));
59 typedef uint32_t tab_index;
64 struct no_tab_page : std::logic_error {
no_tab_page() : std::logic_error(
"neogfx::i_tab_container::no_tab_page") {} };
75 virtual const
i_tab&
tab(tab_index aTabIndex) const = 0;
83 virtual
void show_tab(tab_index aTabIndex) = 0;
84 virtual
void hide_tab(tab_index aTabIndex) = 0;
virtual bool has_tab_page(tab_index aTabIndex) const =0
virtual const i_tab_container & parent_container() const =0
virtual bool has_tabs() const noexcept=0
virtual optional_tab_index next_visible_tab(tab_index aStartFrom) const =0
virtual void adding_tab(i_tab &aTab)=0
virtual void set_tab_icon_size(const size &aIconSize)=0
virtual void select_next_tab()=0
virtual void removing_tab(i_tab &aTab)=0
virtual const i_tab & tab(tab_index aTabIndex) const =0
virtual tab_index index_of(const i_tab &aTab) const =0
virtual uint32_t tab_count() const noexcept=0
virtual i_tab & add_tab(i_string const &aTabText)=0
virtual void selecting_tab(i_tab &aTab)=0
declare_event(style_changed) public typedef std::optional< tab_index > optional_tab_index
virtual i_tab & insert_tab(tab_index aTabIndex, i_string const &aTabText)=0
virtual void show_tab(tab_index aTabIndex)=0
virtual bool is_tab_selected() const noexcept=0
virtual const i_widget & as_widget() const =0
virtual const i_tab & selected_tab() const =0
virtual void hide_tab(tab_index aTabIndex)=0
virtual void set_closable_tabs(bool aClosableTabs)=0
virtual bool has_parent_container() const =0
virtual void select_previous_tab()=0
virtual void set_tab_container_style(neogfx::tab_container_style aStyle)=0
virtual optional_tab_index previous_visible_tab(tab_index aStartFrom) const =0
virtual void remove_tab(tab_index aTabIndex)=0
virtual bool closable_tabs() const noexcept=0
@ TabOrientationHorizontal
constexpr style_aspect operator&(style_aspect aLhs, style_aspect aRhs)
audio_channel operator~(audio_channel lhs)
constexpr style_aspect operator|(style_aspect aLhs, style_aspect aRhs)
#define declare_event(declName,...)