Commit graph

170 commits

Author SHA1 Message Date
griffi-gh 807c9b087d remove fixme comment, fixed by ogl backend change 2024-03-25 02:45:43 +01:00
griffi-gh 36e6fc50ec add fixme note for tomorrow 2024-03-25 02:13:50 +01:00
griffi-gh 19ca54b1f3 add 9 patch rendering 2024-03-25 01:59:13 +01:00
griffi-gh c0af88fee8 disallow opts for rounded rects 2024-03-24 23:59:27 +01:00
griffi-gh 91c9af9fd5 add image loading 2024-03-24 22:55:05 +01:00
griffi-gh 3b7059d49f allow customizing handle size 2024-03-24 22:27:59 +01:00
griffi-gh dac0c7ac6d upd api to frame 2024-03-24 22:18:15 +01:00
griffi-gh 6ec12187ac disable covers_opaque optimization for images 2024-03-24 22:01:36 +01:00
griffi-gh fc4bc83ba9 add covers_opaque 2024-03-24 21:35:44 +01:00
griffi-gh deec244547 slider: use frames (less efficient :<) 2024-03-24 21:14:24 +01:00
griffi-gh 8e7e32671c :3 2024-03-24 21:01:30 +01:00
griffi-gh 4ea98db39a update glam to 0.27 2024-03-24 21:00:46 +01:00
griffi-gh 7bd93af63f format the thingy 2024-03-24 20:58:14 +01:00
griffi-gh d4402756a3 update built-in element features 2024-03-24 20:53:03 +01:00
griffi-gh 0428af0f63 uwu 2024-03-24 19:08:24 +01:00
griffi-gh 290157e8d9 improve frame_rect macro docs 2024-03-24 19:07:51 +01:00
griffi-gh 2a4af1aa35 add todo 2024-03-24 02:26:56 +01:00
griffi-gh 7a64a6b750 make hacky macro even hackier 2024-03-24 02:19:26 +01:00
griffi-gh 9ba0a7e762 frame_rect macro 2024-03-24 02:05:28 +01:00
griffi-gh f5f3dd9ad3 remove deprecated background fn 2024-03-24 01:16:51 +01:00
griffi-gh d2598f8a20 move impls into separate module 2024-03-24 01:13:20 +01:00
griffi-gh d44a2bae53 impl from corners vec3 2024-03-24 01:10:22 +01:00
griffi-gh 3c680ea294 fix integrate frame api...
still sucks to use
2024-03-24 00:52:37 +01:00
griffi-gh 899774a7e1 document corner radius 2024-03-23 23:32:21 +01:00
griffi-gh 9acdacaa32 add docs 2024-03-23 23:23:24 +01:00
griffi-gh f8b80040f3 frame api redesign :3 2024-03-23 23:05:54 +01:00
griffi-gh fb2f3c739e remove line 2024-03-23 19:55:04 +01:00
griffi-gh b12c62e06f frame api is a mess... 2024-03-23 19:53:32 +01:00
griffi-gh 3ac83e161a rename stuff... 2024-03-23 19:42:53 +01:00
griffi-gh d1e1325068 fvck 2024-03-23 17:54:47 +01:00
griffi-gh 5ce9dda77b change name function to lower case 2024-03-23 15:54:33 +01:00
griffi-gh fa994e659a rename Br to Break 2024-03-23 15:52:54 +01:00
griffi-gh 328f745c39 add interactable active check 2024-03-23 15:52:14 +01:00
griffi-gh e22fa739c1 use new trigger api for interactable 2024-03-23 15:50:44 +01:00
griffi-gh 89037efebb add todo note 2024-03-23 15:43:22 +01:00
griffi-gh d347f8f7e9 for now, make frame non-pub 2024-03-23 15:41:19 +01:00
griffi-gh 85810a2e59 impl from corners f32 for roundedcorners 2024-03-23 15:10:32 +01:00
griffi-gh 7bfd12749b aaa 2024-03-23 15:09:05 +01:00
griffi-gh bbc1d9f1ff uhh i'm not happy with this 2024-03-23 02:05:44 +01:00
griffi-gh 915b99c3a5 frame stuff 2024-03-23 01:57:07 +01:00
griffi-gh d430996e14 impl from stuff 2024-03-22 19:35:00 +01:00
griffi-gh a0dc882799 static -> absolute, fraction -> relative 2024-03-22 18:39:18 +01:00
griffi-gh cf7919d041 add image to frame layer 2024-03-22 18:35:00 +01:00
griffi-gh 8f3e04c445 frame wip 2024-03-22 18:33:34 +01:00
griffi-gh ab5998de03 slider stuff 2024-03-22 15:15:47 +01:00
griffi-gh 50ea989906 fix containers defaulting to black color 2024-03-21 23:57:35 +01:00
griffi-gh 4ad3fed6d3 add active part to slider, optimize rendering 2024-03-21 23:51:00 +01:00
griffi-gh 68114bd7dc add fn to check if completely opaque 2024-03-21 23:38:43 +01:00
griffi-gh b5f3fc192e remove deprecated BackgroundColor struct 2024-03-21 23:31:49 +01:00
griffi-gh 4574cb8862 Rename rectangle module to rect 2024-03-21 23:22:40 +01:00