39 virtual std::string
const&
name()
const = 0;
60 rect r1(aLayout.
item_at(aSeparator.first).position(), aLayout.
item_at(aSeparator.first).extents());
61 rect r2(aLayout.
item_at(aSeparator.second).position(), aLayout.
item_at(aSeparator.second).extents());
dimension_type height() const
coordinate_type bottom() const
dimension_type width() const
coordinate_type right() const
coordinate_type top() const
coordinate_type left() const
virtual layout_direction direction() const =0
virtual const i_layout_item & item_at(layout_item_index aIndex) const =0
virtual size preferred_size(skin_element aElement, optional_size const &aDesiredSize={}) const =0
virtual void draw_tree_expander(i_graphics_context &aGc, const i_skinnable_item &aItem, bool aExpandedState) const =0
virtual void draw_progress_bar(i_graphics_context &aGc, const i_skinnable_item &aItem, const i_progress_bar &aProgressBar) const =0
virtual ~i_skin()=default
virtual void deactivate()=0
virtual void draw_check_box(i_graphics_context &aGc, const i_skinnable_item &aItem, const button_checked_state &aCheckedState) const =0
virtual void draw_scrollbar(i_graphics_context &aGc, const i_skinnable_item &aItem, const i_scrollbar &aScrollbar) const =0
virtual void draw_separators(i_graphics_context &aGc, const i_skinnable_item &aItem, const i_layout &aLayout) const =0
virtual i_skin & fallback()=0
virtual void activate()=0
virtual void draw_radio_button(i_graphics_context &aGc, const i_skinnable_item &aItem, const button_checked_state &aCheckedState) const =0
virtual std::string const & name() const =0
virtual bool has_fallback() const =0
rect separator_rect(const i_layout &aLayout, separator_index aSeparator)
std::pair< uint32_t, uint32_t > separator_index
basic_point< coordinate > point