Commit Graph

28 Commits

Author SHA1 Message Date
Sasha Koshka b189518c92 Did the same thing for the vertical layout 2023-03-16 23:04:33 -04:00
Sasha Koshka 4b788dd783 Horizontal layout does not use integer math anymore
Instead it uses fixed.Int26_6. Could have used floats but then we
would need a new point datatype and we already have utility
functions for fixed point math
2023-03-16 20:55:11 -04:00
Sasha Koshka 11b680db63 Added package summaries to more packages 2023-03-16 01:10:59 -04:00
Sasha Koshka 51084a6cfe Removed references to flexible from layouts, x backend, core 2023-03-11 00:43:26 -05:00
Sasha Koshka 5fc5af92df Layouts now take in proper margin and padding values 2023-03-04 01:42:14 -05:00
Sasha Koshka 38baa97e76 ContainerCore and ContainerCoreControl WIP 2023-03-02 18:59:08 -05:00
Sasha Koshka e9e6e4fbe7 Added padding/margin distinction to layouts 2023-03-02 17:58:42 -05:00
Sasha Koshka 285cb4810f Remove margin from layout interface
Layouts will need to store margin and padding values within
themseleves.
2023-03-02 16:48:37 -05:00
Sasha Koshka da6fe2c845 Updated layouts to match 2023-02-02 01:47:31 -05:00
Sasha Koshka 04d2ea4767 Atomized the functionality of the base tomo package 2023-02-02 01:47:01 -05:00
Sasha Koshka 9cb0d064ff Dialog layout is all good 2023-01-31 18:57:29 -05:00
Sasha Koshka 9b22e80f05 Got scroll container working 2023-01-31 18:39:17 -05:00
Sasha Koshka 541d0f4204 Horizontal layouts now work 2023-01-31 18:06:55 -05:00
Sasha Koshka b0ff1ca0af Vertical stack example works 2023-01-31 18:04:12 -05:00
Sasha Koshka 81fc82c46e Layouts no longer resize elements (because they cant) 2023-01-31 14:48:28 -05:00
Sasha Koshka 0c5cc6ff74 Padding and margin are now separate 2023-01-30 18:22:19 -05:00
Sasha Koshka 6f6591f0d0 Layouts now conform to the new API 2023-01-19 16:54:49 -05:00
Sasha Koshka 37458f4fde Dialog layout works now 2023-01-17 15:55:16 -05:00
Sasha Koshka b7fe28f600 Bit of refactoring of the horizontal layout 2023-01-17 15:31:59 -05:00
Sasha Koshka 375205a4d2 Core no longer naievely constrains canvas resize dimensions 2023-01-17 14:31:06 -05:00
Sasha Koshka 91e60900ad X backend now understands flexible min widths 2023-01-17 14:17:26 -05:00
Sasha Koshka 7398f146ba Progress? 2023-01-17 10:55:38 -05:00
Sasha Koshka 40bdffc8be Horizontal layouts work nearly perfectly 2023-01-17 01:40:49 -05:00
Sasha Koshka 9459bcd942 Horizontal layouts now take into account flexible elements 2023-01-16 23:58:20 -05:00
Sasha Koshka e94e170a04 Half-working container flexibility propagation 2023-01-16 23:34:17 -05:00
Sasha Koshka 76d50bb01a Renamed Expanding to Flexible 2023-01-16 22:27:17 -05:00
Sasha Koshka 95b6607e4e Dialong, Horizontal, and Vertical layouts now compile
However, they do not take into account expanding elements.
2023-01-16 00:09:01 -05:00
Sasha Koshka 0a6858b376 Moved the layouts directory out of elements because they aren't. 2023-01-16 00:03:02 -05:00