mirror of
https://github.com/labwc/labwc.git
synced 2026-02-17 22:05:30 -05:00
ssd: add ssd_interactive_box()
...which is used by desktop_view_at() and ssd_at() to determine which decoration part is under the cursor. ssd_interactive_box() allows deocoration parts to extend outside the visible regions, and therefore supports a wider 'resize-edges' area than the border itself.
This commit is contained in:
parent
82e47ac1f5
commit
399322052b
3 changed files with 110 additions and 58 deletions
|
|
@ -48,6 +48,7 @@ struct border ssd_thickness(struct view *view);
|
|||
struct wlr_box ssd_max_extents(struct view *view);
|
||||
struct wlr_box ssd_box(struct view *view, enum ssd_part_type type);
|
||||
enum ssd_part_type ssd_at(struct view *view, double lx, double ly);
|
||||
uint32_t ssd_resize_edges(enum ssd_part_type type);
|
||||
void ssd_create(struct view *view);
|
||||
void ssd_destroy(struct view *view);
|
||||
void ssd_update_geometry(struct view *view);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue