mirror of
https://github.com/labwc/labwc.git
synced 2026-04-13 08:21:15 -04:00
Add scaled_rect_buffer
This will be used for menus, OSD and titlebar corners in the future.
This commit is contained in:
parent
c2928027be
commit
d7b5eb037a
5 changed files with 227 additions and 9 deletions
15
include/common/corner.h
Normal file
15
include/common/corner.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
#ifndef LABWC_CORNER_H
|
||||
#define LABWC_CORNER_H
|
||||
|
||||
enum lab_corner {
|
||||
LAB_CORNER_UNKNOWN = 0,
|
||||
LAB_CORNER_TOP_LEFT = 1 << 0,
|
||||
LAB_CORNER_TOP_RIGHT = 1 << 1,
|
||||
LAB_CORNER_BOTTOM_LEFT = 1 << 2,
|
||||
LAB_CORNER_BOTTOM_RIGHT = 1 << 3,
|
||||
LAB_CORNER_ALL = (LAB_CORNER_TOP_LEFT | LAB_CORNER_TOP_RIGHT
|
||||
| LAB_CORNER_BOTTOM_LEFT | LAB_CORNER_BOTTOM_RIGHT),
|
||||
};
|
||||
|
||||
#endif /* LABWC_CORNER_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue