Sharp borders and flag-controlled bevels for the menus/dialogues

This commit is contained in:
Jack Zeal 2026-03-25 21:08:20 -07:00
parent effc16fc05
commit 69e372cc5f
4 changed files with 147 additions and 44 deletions

View file

@ -65,4 +65,15 @@
#define LAB_WLR_VERSION_AT_LEAST(major, minor, micro) \
(WLR_VERSION_NUM >= (((major) << 16) | ((minor) << 8) | (micro)))
/**
* PIXEL () - calculate pixel offset in an array of "bw" columns wide.
*
* @param x x-coordinate
* @param y y-coordinate
* Assumes "bw" was defined externally
*/
#define PIXEL(x,y) (bw * y + x)
#endif /* LABWC_MACROS_H */