aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_size.c
AgeCommit message (Collapse)AuthorFilesLines
2022-05-21Use consistent integer types for view positions and sizesDavid Robillard1-10/+10
Actual window sizes and positions fit easily in a 16-bit integer. So, we use that in "representation contexts" like events. This makes structures smaller, and allows the values to be converted to float, double, or integer without casting (since any int16_t or uint16_t value can fit in them without loss). Setter APIs use native integers for convenience, to avoid casting hassles when doing arithmetic. Ranges are checked at runtime.
2022-05-21Add a uniform API for setting size hintsDavid Robillard1-7/+8
This collapses many functions into one, which makes the API more easily extensible and reduces code size.
2022-05-20Use consistent class names and titles in tests and examplesDavid Robillard1-1/+1
2021-12-17Adopt REUSE machine-readable licensing standardDavid Robillard1-15/+2
See https://reuse.software/ for details.
2021-05-06Set distinct window titles for testsDavid Robillard1-1/+1
This makes things a little more clear when something goes wrong, for example if a test hangs.
2021-05-03Improve test coverageDavid Robillard1-0/+138