region: allow ctor from pixman_box32_t
This commit is contained in:
parent
d2a8b8c2de
commit
a3f6a72a51
2 changed files with 6 additions and 0 deletions
|
|
@ -15,6 +15,8 @@ class CRegion {
|
|||
CRegion(double x, double y, double w, double h);
|
||||
/* Create from a wlr_box */
|
||||
CRegion(wlr_box* box);
|
||||
/* Create from a pixman_box32_t */
|
||||
CRegion(pixman_box32_t* box);
|
||||
|
||||
CRegion(const CRegion&);
|
||||
CRegion(CRegion&&);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue