Commit graph

154 commits

Author SHA1 Message Date
griffi-gh bd0364bde9 update interactable 2024-03-12 01:06:03 +01:00
griffi-gh 01b30c5979 signal stuff... 2024-03-12 00:29:26 +01:00
griffi-gh 7884de5560 it kinda works 2024-03-11 20:48:39 +01:00
griffi-gh daeefb0684 fix warning 2024-03-11 20:16:26 +01:00
griffi-gh 35a536a0bc owo 2024-03-11 20:16:01 +01:00
griffi-gh b0df6a3ea2 uwu 2024-03-11 18:53:24 +01:00
griffi-gh eab5072d1e add some helper fns 2024-03-11 18:48:46 +01:00
griffi-gh 027bc2c429 update input handling 2024-03-11 18:40:11 +01:00
griffi-gh 67b55ec3c1 stuff 2024-03-07 23:03:13 +01:00
griffi-gh 8729e8f345 move stuff out 2024-03-07 22:46:01 +01:00
griffi-gh 57913757aa change stuff 2024-03-07 02:40:11 +01:00
griffi-gh 43c61cd142 add extra helpers 2024-03-07 02:24:45 +01:00
griffi-gh 40ef524c5a Rename UiDirection to Direction 2024-03-07 02:06:14 +01:00
griffi-gh 45132db996 add Text::new 2024-03-07 02:05:39 +01:00
griffi-gh 1a6d79b2fc wip image, and required ctx stuff 2024-03-07 02:04:24 +01:00
griffi-gh 40c448276b add todo note 2024-03-07 01:19:45 +01:00
griffi-gh 7d2cf87201 apply bg image 2024-03-07 01:12:39 +01:00
griffi-gh 806e0ce8d1 api and doc stuff, add bg image prop to container 2024-03-07 01:11:53 +01:00
griffi-gh 1c55b1217b change bg color api again 2024-03-07 00:50:47 +01:00
griffi-gh eac62c9041 add a comment to fix stuff later 2024-03-06 21:28:35 +01:00
griffi-gh abae9d25fc use full init syntax 2024-03-06 21:28:12 +01:00
griffi-gh d4151e6c76 fix corrupted text bug 2024-03-06 21:14:40 +01:00
griffi-gh cd6d421909 fix some atlas bugs 2024-03-06 20:58:50 +01:00
griffi-gh 7a70b0ccb2 implement element wrapping 2024-03-06 20:39:25 +01:00
griffi-gh 758b28d235 remove non_exhaustive from Hints, upd docs 2024-03-06 17:52:34 +01:00
griffi-gh 68c0e8417a add should_wrap flag 2024-03-06 17:19:35 +01:00
griffi-gh 59271bd76d add wrap flag 2024-03-06 17:00:18 +01:00
griffi-gh c100555f4a remove comment 2024-03-05 23:47:56 +01:00
griffi-gh 48acb7ccf6 aaa 2024-03-05 23:47:40 +01:00
griffi-gh c0d6b24150 fix rounded rect gradient 2024-03-02 01:19:47 +01:00
griffi-gh 9f0809c61c update docs 2024-03-02 01:07:53 +01:00
griffi-gh b46db55f1b ui transforms 2024-03-02 00:33:02 +01:00
griffi-gh 52bfab6135 minor comment edit 2024-03-01 20:44:37 +01:00
griffi-gh c91e6ba50c idk a bunch of changes i forgor to commit 2024-03-01 18:21:02 +01:00
griffi-gh 0377f1e46d uwu 2024-02-29 23:53:01 +01:00
griffi-gh 99774e7f5f input handling stuff 2024-02-29 17:57:06 +01:00
griffi-gh ad0e6fd7e6 refactor 2024-02-29 16:02:05 +01:00
griffi-gh 778ae751e7 stuff 2024-02-29 02:19:29 +01:00
griffi-gh 407ac29d95 input upd (wip) 2024-02-29 01:15:29 +01:00
griffi-gh 16fc3219f9 fix offset 2024-02-27 22:57:46 +01:00
griffi-gh 3938d864f1 i think this looks better... 2024-02-27 22:38:43 +01:00
griffi-gh 4d100d8fe5 cfg gate the stuff 2024-02-27 22:18:55 +01:00
griffi-gh c9611346fb add color html 2024-02-27 20:31:16 +01:00
griffi-gh becbffc367 rename stuff 2024-02-27 20:31:12 +01:00
griffi-gh 74027c52d0 add docs, update stuff 2024-02-27 18:23:55 +01:00
griffi-gh a1bfbb51d0 update size macro, add docs to layout module 2024-02-27 17:56:46 +01:00
griffi-gh 0cd4e3a8a1 rename arg 2024-02-26 20:04:52 +01:00
griffi-gh b801ec8821 use derive_setters 2024-02-26 16:37:59 +01:00
griffi-gh 90f34a5dc4 api stuff 2024-02-26 16:33:55 +01:00
griffi-gh 9d7ed80be1 add checks 2024-02-26 15:19:13 +01:00
griffi-gh 30579928b0 eh... its better i guess. still needs a refactor 2024-02-26 15:13:03 +01:00
griffi-gh f8b2a4e15f a 2024-02-26 01:20:52 +01:00
griffi-gh 9aa61f392e wip refactor 2024-02-26 01:15:55 +01:00
griffi-gh 23dc81a921 minor changes 2024-02-25 15:59:12 +01:00
griffi-gh b064a2cb2b uwu 2024-02-25 15:43:38 +01:00
griffi-gh cdba2fedd8 kinda works now... 2024-02-25 04:02:10 +01:00
griffi-gh ae26a4d933 wip refactor 2024-02-24 23:32:09 +01:00
griffi-gh f61aa6734f x 2024-02-21 23:56:55 +01:00
griffi-gh f54b218cbb WIP single draw call architecture 2024-02-21 20:13:58 +01:00
griffi-gh 3bcbe0ae6e use usize max as the default font handle (to ensure it always stays invalid) 2024-02-21 11:20:45 +01:00
griffi-gh ff5658f44a fix builtin font handle thingy 2024-02-21 11:19:14 +01:00
griffi-gh cefa48838a bump version to 0.1.0.alpha.4 2024-02-21 11:06:13 +01:00
griffi-gh a8b065c839 remove unused enum 2024-02-21 11:03:36 +01:00
griffi-gh 73fde36c8a rename border_radius to corner_radius add it to mom downloader example 2024-02-20 21:13:21 +01:00
griffi-gh ff448ed393 New background api 2024-02-20 20:56:58 +01:00
griffi-gh bc40d4c8cc fix alpha check 2024-02-20 20:31:12 +01:00
griffi-gh 1fa292ae6b add todo note 2024-02-20 20:29:27 +01:00
griffi-gh e5859d26e0 remove unused border code 2024-02-20 20:27:05 +01:00
griffi-gh 65bd1c1b38 uwu 2024-02-20 20:24:36 +01:00
griffi-gh 92b7f6890f add border radius to progress bar 2024-02-20 20:11:05 +01:00
griffi-gh c80f42f900 Remoev option wrapper for bg color 2024-02-20 20:10:56 +01:00
griffi-gh 8393cf48a3 remove the need for wrapped option 2024-02-20 20:06:13 +01:00
griffi-gh 964ce612c2 allow unused parens 2024-02-20 20:03:39 +01:00
griffi-gh 7765d43049 remove hardcoded texture size 2024-02-20 19:59:39 +01:00
griffi-gh f02a28ee31 update stuff to new api, rename examples 2024-02-20 19:57:02 +01:00
griffi-gh d6ab6778e8 add Alignment2d, better docs 2024-02-20 19:48:32 +01:00
griffi-gh 9ff9b8356d document stuff 2024-02-20 18:19:10 +01:00
griffi-gh 8de7c4673e shorter doc 2024-02-20 17:54:53 +01:00
griffi-gh 9c97ad9cd8 another refactor :3 2024-02-20 17:49:44 +01:00
griffi-gh f657c2df5f refactor stuff 2024-02-20 17:30:26 +01:00
griffi-gh afcaf5fbef drop interactable api for now 2024-02-20 15:57:57 +01:00
griffi-gh cd50736bfb wip winit impl 2024-02-20 01:00:57 +01:00
griffi-gh e9cfd19c01 restructure stuff, add builtin_container feature 2024-02-19 23:13:35 +01:00
griffi-gh 250e821396 add pixel_perfect feature, document stuff 2024-02-19 21:32:13 +01:00
griffi-gh e3c4be7fdc refactor draw stuff 2024-02-19 21:12:12 +01:00
griffi-gh 52d8b9866f update rounded corner api 2024-02-19 19:40:18 +01:00
griffi-gh a1279f8193 update metadata 2024-02-19 17:49:01 +01:00
griffi-gh cc3f397c69 bump version 2024-02-19 17:27:58 +01:00
griffi-gh 5290abc41f remove unused clip option 2024-02-19 14:44:01 +01:00
griffi-gh b2a318a0f6 publish version 0.1.0-alpha.2 2024-02-19 14:03:30 +01:00
griffi-gh a4c06ac61d fix center alignment with padding 2024-02-19 13:57:33 +01:00
griffi-gh 36947bff94 kinda.. works? 2024-02-19 05:50:46 +01:00
griffi-gh ec3ebeb4b8 kinda works 2024-02-19 05:46:43 +01:00
griffi-gh fa5b89b3ec corners 2024-02-19 05:36:38 +01:00
griffi-gh f2ff2ccfb5 wip 2024-02-19 04:37:28 +01:00
griffi-gh 6db5267cef wip rounded corners api 2024-02-19 03:41:48 +01:00
griffi-gh a3a133ec12 rename stuff 2024-02-18 19:27:45 +01:00
griffi-gh f24bff2755 fix most warnings 2024-02-18 17:22:31 +01:00
griffi-gh 41049e5f59 change version track to 0.1.0-alpha.x 2024-02-18 04:06:24 +01:00
griffi-gh e0ee7c9aa6 new "context" system and text measuring 2024-02-18 04:04:02 +01:00