Commit graph

282 commits

Author SHA1 Message Date
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 2db8d2f056 aaa 2024-03-24 22:55:36 +01:00
griffi-gh 95b4c47fbd prepare test 2024-03-24 22:55:15 +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 b8f9ace3da use the new macro in examples 2024-03-24 18:32:50 +01:00
griffi-gh 2a4af1aa35 add todo 2024-03-24 02:26:56 +01:00
griffi-gh 8a52fe1d67 update align_test, drop rounded_test 2024-03-24 02:24:39 +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 91668e575c update most examples to new ugly api 2024-03-24 01:28:03 +01:00
griffi-gh b89a277aa9 fix fn name in ex.6 2024-03-24 01:17:26 +01:00
griffi-gh f5f3dd9ad3 remove deprecated background fn 2024-03-24 01:16:51 +01:00
griffi-gh 03a49791fa simplify with_background_frame call in example 2024-03-24 01:14:23 +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 2af4fd900c update example 2024-03-22 15:25:01 +01:00