Commit Graph

23 Commits (master)

Author SHA1 Message Date
TheOddGarlic 4a4b94ba2a click events! soon there will be buttons! 2022-05-22 19:23:58 +03:00
TheOddGarlic dbf64e8b7f trait IntoPadded -> trait Padded
I have no idea what was going through my mind while naming this.
2022-05-22 13:53:16 +03:00
TheOddGarlic 098a0b6df8 clear debug prints 2022-05-22 12:54:33 +03:00
TheOddGarlic 0649c53695 new window resize event 2022-05-22 12:52:26 +03:00
TheOddGarlic c41c2b9c69 new cairo backend! for now only tested on X11 on Linux
also includes a couple small changes everywhere
2022-05-21 15:30:06 +03:00
TheOddGarlic 9b3969c6ad new padding widget 2022-05-08 22:42:01 +03:00
TheOddGarlic b3aab25989 fix: Row now restores previous X position
This patch fixes a bug that's extremely similar to the bug fixed by the
commit before this.
2022-05-01 18:35:01 +03:00
TheOddGarlic 88f518f7c1 fix: Column now restores previous Y position
This patch fixes the bug where positioning is all wonky after having
rendered a Column, because Column didn't restore the previous Y
position. Similar bugs probably will occur but this is the first one I
catched.
2022-05-01 18:29:36 +03:00
TheOddGarlic 3c5c57cf22 formatting changes 2022-05-01 18:24:13 +03:00
TheOddGarlic 365fb6741c render visibility modifier changed to pub(crate) 2022-04-29 22:07:14 +03:00
TheOddGarlic 0e2066e9fe label background color 2022-04-29 22:02:12 +03:00
TheOddGarlic 4ef18b26e8 rect changes 2022-04-29 21:53:56 +03:00
TheOddGarlic 70a3a97d48 update windows crate dep 2022-04-28 11:52:50 +03:00
TheOddGarlic 69c4cd9386 very primitive column layout 2022-04-28 11:45:33 +03:00
TheOddGarlic f491fce00b text size calculation and very primitive row layout 2022-04-26 19:20:57 +03:00
TheOddGarlic f0d752570b refactor things around 2022-04-24 18:59:48 +03:00
TheOddGarlic a99e19de4b color macro 2022-04-23 12:00:05 +03:00
TheOddGarlic 40084591ff make Color a tuple struct that's always RGBA 2022-04-23 11:19:00 +03:00
TheOddGarlic 889aef5cdc start work on early layout stuff
This layout stuff works by letting widgets calculate their bounding
boxes, which will be used to position the rest of the widgets. Currently
only used to position labels.
2022-04-22 20:00:03 +03:00
TheOddGarlic 86cdd411a4 label widgets with color 2022-04-21 17:59:16 +03:00
TheOddGarlic 37b2e3caa8 implement brush changing 2022-04-21 17:45:22 +03:00
TheOddGarlic 36b9c8808d licensing 2022-04-16 20:25:56 +03:00
TheOddGarlic 9323a47044 the memes will be perfect 2022-04-16 20:18:23 +03:00