Tree
- Tree:
d6908cd1da041a0eecab4304bb0c69b35d459d89- Date:
- Message:
- bxnotify.c: Implement dynamic window geometry and text word-wrapping. - Refractor input handling and rendering logic to support multi- line input and automatic window resizing. - Add TextBlock struct replacing fixec 1024-char buffer with dynamic heap allocation for flexible text processing. - Implement calc_layout() as a layout pass that calculates necessary window height and performs word-wrapping based on WIN_WIDTH before window is mapped. - Add measure_text() helper. - Split out display and font setup into init_display() to satisfy dependencies for early layout calculation. - Updated draw() loop for rendiering to iterate through wrapped lines applying alignment and vertical offsets dynamically. - Improved cleanup() adding heap-memory management for TextBlock lines to prevent memory leaks.
| .gitignore | commits | blame |
| Makefile | commits | blame |
| bxnotify.c | commits | blame |
| config.def.h | commits | blame |
