Ensure we use all details of borders when caching them

This commit is contained in:
Jack Zeal 2026-04-01 19:43:20 -07:00
parent fe44a2e9b3
commit b07165f154
2 changed files with 3 additions and 1 deletions

View file

@ -11,6 +11,7 @@ struct borderset {
uint32_t id; // Base colour, but could be used as a tracking hash for images or whatever in the future
int size; // width (since I suspect a 2px border scaled up to 20px might look weird)
enum border_type type; // Single or double bevel
int bevelSize; // So we can disambiguate multiple possible designs cached together
struct lab_data_buffer *top;
struct lab_data_buffer *left;
struct lab_data_buffer *right;