support four-sided padding (top/right/bottom/left)

This commit is contained in:
pi66 2025-12-19 12:17:29 +01:00
parent 4e96780eef
commit e133122147
6 changed files with 70 additions and 29 deletions

View file

@ -230,8 +230,10 @@ struct config {
uint32_t height;
} size;
unsigned pad_x;
unsigned pad_y;
unsigned pad_top;
unsigned pad_right;
unsigned pad_bottom;
unsigned pad_left;
enum center_when center_when;
bool resize_by_cells;