Commit graph

223 commits

Author SHA1 Message Date
griffi-gh e488ef70b5 slider: use frames (less efficient :<) 2024-03-24 21:14:24 +01:00
griffi-gh e4fc96a2d8 :3 2024-03-24 21:01:30 +01:00
griffi-gh 17a313bdb8 update glam to 0.27 2024-03-24 21:00:46 +01:00
griffi-gh 4e17d368db format the thingy 2024-03-24 20:58:14 +01:00
griffi-gh 0eec840a08 update built-in element features 2024-03-24 20:53:03 +01:00
griffi-gh 84fdd9d1ae uwu 2024-03-24 19:08:24 +01:00
griffi-gh 3f8dea24be improve frame_rect macro docs 2024-03-24 19:07:51 +01:00
griffi-gh 39746aa566 use the new macro in examples 2024-03-24 18:32:50 +01:00
griffi-gh 47c5f1c4a8 add todo 2024-03-24 02:26:56 +01:00
griffi-gh b18e2a5066 update align_test, drop rounded_test 2024-03-24 02:24:39 +01:00
griffi-gh 9b7be50880 make hacky macro even hackier 2024-03-24 02:19:26 +01:00
griffi-gh 04ebfd41e8 frame_rect macro 2024-03-24 02:05:28 +01:00
griffi-gh 27a75d6c30 update most examples to new ugly api 2024-03-24 01:28:03 +01:00
griffi-gh 2e49ea443a fix fn name in ex.6 2024-03-24 01:17:26 +01:00
griffi-gh e665a94335 remove deprecated background fn 2024-03-24 01:16:51 +01:00
griffi-gh 5cb696d3f6 simplify with_background_frame call in example 2024-03-24 01:14:23 +01:00
griffi-gh f7d8166513 move impls into separate module 2024-03-24 01:13:20 +01:00
griffi-gh 107ccc99a9 impl from corners vec3 2024-03-24 01:10:22 +01:00
griffi-gh 65f7cc9328 fix integrate frame api...
still sucks to use
2024-03-24 00:52:37 +01:00
griffi-gh f8bf39342b document corner radius 2024-03-23 23:32:21 +01:00
griffi-gh f60087f12e add docs 2024-03-23 23:23:24 +01:00
griffi-gh 71b160d7aa frame api redesign :3 2024-03-23 23:05:54 +01:00
griffi-gh 51366210bf remove line 2024-03-23 19:55:04 +01:00
griffi-gh 769d045d60 frame api is a mess... 2024-03-23 19:53:32 +01:00
griffi-gh 03082213fb rename stuff... 2024-03-23 19:42:53 +01:00
griffi-gh 80dd442d98 fvck 2024-03-23 17:54:47 +01:00
griffi-gh 98065f46af change name function to lower case 2024-03-23 15:54:33 +01:00
griffi-gh 1b3671a3bf rename Br to Break 2024-03-23 15:52:54 +01:00
griffi-gh 101d685148 add interactable active check 2024-03-23 15:52:14 +01:00
griffi-gh 5bc048f911 use new trigger api for interactable 2024-03-23 15:50:44 +01:00
griffi-gh 32cf9dca29 add todo note 2024-03-23 15:43:22 +01:00
griffi-gh bbc4cb00e0 for now, make frame non-pub 2024-03-23 15:41:19 +01:00
griffi-gh 4ce36cc7a9 impl from corners f32 for roundedcorners 2024-03-23 15:10:32 +01:00
griffi-gh 897a574931 aaa 2024-03-23 15:09:05 +01:00
griffi-gh 15d92a2c74 uhh i'm not happy with this 2024-03-23 02:05:44 +01:00
griffi-gh 1cd2f0ec1a frame stuff 2024-03-23 01:57:07 +01:00
griffi-gh 918597585d impl from stuff 2024-03-22 19:35:00 +01:00
griffi-gh 388b71ebd0 static -> absolute, fraction -> relative 2024-03-22 18:39:18 +01:00
griffi-gh d1732fe2b7 add image to frame layer 2024-03-22 18:35:00 +01:00
griffi-gh 64640f215a frame wip 2024-03-22 18:33:34 +01:00
griffi-gh 2c099b5edd update example 2024-03-22 15:25:01 +01:00
griffi-gh 84d494f8a8 slider stuff 2024-03-22 15:15:47 +01:00
griffi-gh ccb7d22a58 fix containers defaulting to black color 2024-03-21 23:57:35 +01:00
griffi-gh fea53226a8 rename ui_test_6 2024-03-21 23:53:11 +01:00
griffi-gh 0c46aa2caf in example 6, make the text reflect the amount 2024-03-21 23:52:49 +01:00
griffi-gh ac7ec94719 add active part to slider, optimize rendering 2024-03-21 23:51:00 +01:00
griffi-gh 384fddce34 add fn to check if completely opaque 2024-03-21 23:38:43 +01:00
griffi-gh d36a78d2ee remove deprecated BackgroundColor struct 2024-03-21 23:31:49 +01:00
griffi-gh 02558e0695 Rename rectangle module to rect 2024-03-21 23:22:40 +01:00
griffi-gh 16d8fd7c6a Refactor fill color stuff 2024-03-21 23:20:47 +01:00