Can now use lel::center to center something inside a cell.

This commit is contained in:
Zed A. Shaw 2025-02-15 13:22:36 -05:00
parent c03a384372
commit aa149b6574
4 changed files with 32 additions and 5 deletions

View file

@ -9,6 +9,8 @@ namespace lel {
int y = 0;
int w = 0;
int h = 0;
int mid_x = 0;
int mid_y = 0;
int max_w = 0;
int max_h = 0;
int col = 0;
@ -38,4 +40,6 @@ namespace lel {
bool parse(std::string input);
void finalize();
};
Cell center(int width, int height, Cell &parent);
}