1
0
mirror of https://github.com/minetest/minetest.git synced 2025-07-05 17:30:21 +02:00

6 Commits

Author SHA1 Message Date
0c4f03d9a5 Reduce include count in headers 2024-09-02 16:09:32 +02:00
aaf77025b6 Split up tile.cpp/h 2024-03-03 15:52:05 +01:00
DS
ae7271b725 Fix background[] pos-offset lower-right-corner being at least (1,1) (#13320)
IGUIElement has a MinSize for the RelativeRect, which is at least (1,1).
This means a pos offset of (0,0) will cause a seemingly off-by-1 error at the
lower right corner, and (0.1,0.1) for example will just not work on the lower
right corner.
Ergo, we can't use the AbsoluteRect for storing the pos offset.
2023-04-14 21:05:09 +02:00
f7bcf7fa46 FormSpec: 9-slice images, animated_images, and fgimg_middle (#12453)
* FormSpec: 9-slice images and animated_images

* Add fgimg_middle; clean up code

* Address issues, add tests

* Fix stupid error; bump formspec version

* Re-add image[] elements without a size
2022-07-03 08:52:26 -04:00
DS
633e23bd65 FormspecMenu: make drawing of backgrounds less hacky (#9517) 2022-02-22 19:17:53 +01:00
DS
5506e97ed8 Formspec: draw order and clipping for all elements (#8740) 2019-11-07 20:11:01 +01:00