3#include "structure/graphics/spk_extend_2d.hpp"
4#include "structure/widget/spk_widget.hpp"
27 uint8_t _activeEdges = Edge::None;
30 spk::Vector2Int _positionDelta;
37 uint8_t _hoverEdges(
const spk::Vector2Int &p_mousePos)
const;
38 void _setCursorForEdges(uint8_t p_edges);
39 spk::Extend2D _computeResizedGeometry(
const spk::Vector2Int &p_currentPos)
const;
40 void _beginResize(uint8_t p_edges,
const spk::Vector2Int &p_startPos);
48 InnerBehavior(
const std::wstring &p_name,
Widget *p_parent);
53 InnerBehavior _resizeBehavior;
Axis-aligned rectangle defined by an anchor point and size.
Definition spk_extend_2d.hpp:24
Mouse move event carrying current position.
Definition spk_mouse_event.hpp:50
Mouse button press event.
Definition spk_mouse_event.hpp:14
Mouse button release event.
Definition spk_mouse_event.hpp:26