1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-28 07:23:13 -04:00
Commit Graph

4 Commits

Author SHA1 Message Date
lucasmerlin
510b3cdf48 Rename Marginf to MarginF32 for consistency with CornerRadiusF32 (#5677)
* [x] I have followed the instructions in the PR template
2025-02-11 11:23:59 +01:00
Emil Ernerfeldt
d58d13781d Store Margin using i8 to reduce its size (#5567)
Adds `Marginf` to fill the previous niche.

This is all in a pursuit to shrink the sizes of often-used structs, to
improve performance (less cache misses, less memcpy:s, etc).

* On the path towards https://github.com/emilk/egui/issues/4019
2025-01-02 16:05:52 +01:00
Emil Ernerfeldt
a9a756e8f3 Overload operators for Rect + Margin, Rect - Margin etc (#4277)
It's more ergonomic
2024-03-30 14:03:41 +01:00
Emil Ernerfeldt
1634554032 Add Margin to epaint (#4231)
Moved from `egui`
2024-03-26 09:05:29 +01:00