38 return static_cast<splitter_style>(
static_cast<uint32_t
>(aLhs) |
static_cast<uint32_t
>(aRhs));
43 return static_cast<splitter_style>(
static_cast<uint32_t
>(aLhs) &
static_cast<uint32_t
>(aRhs));
50 typedef std::pair<uint32_t, uint32_t> separator_type;
75 std::optional<separator_type> separator_at(
const point& aPosition)
const;
78 std::optional<separator_type> iTracking;
79 std::pair<size, size> iSizeBeforeTracking;
splitter(i_widget &aParent, splitter_style aStyle=splitter_style::Horizontal|splitter_style::DrawGrip)
void mouse_entered(const point &aPosition) override
virtual void panes_resized()
void paint(i_graphics_context &aGc) const override
void mouse_button_pressed(mouse_button aButton, const point &aPosition, key_modifiers_e aKeyModifiers) override
neogfx::size_policy size_policy() const override
neogfx::mouse_cursor mouse_cursor() const override
splitter(splitter_style aStyle=splitter_style::Horizontal|splitter_style::DrawGrip)
i_widget & get_widget_at(const point &aPosition) override
void mouse_left() override
splitter(i_layout &aLayout, splitter_style aStyle=splitter_style::Horizontal|splitter_style::DrawGrip)
void mouse_moved(const point &aPosition, key_modifiers_e aKeyModifiers) override
void capture_released() override
virtual void reset_pane_sizes_requested(const std::optional< uint32_t > &aPane={})
void mouse_button_double_clicked(mouse_button aButton, const point &aPosition, key_modifiers_e aKeyModifiers) override
constexpr style_aspect operator&(style_aspect aLhs, style_aspect aRhs)
constexpr style_aspect operator|(style_aspect aLhs, style_aspect aRhs)