Commit graph

175 commits

Author SHA1 Message Date
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
griffi-gh 99527d0dcb Refactor fill color stuff 2024-03-21 23:20:47 +01:00
griffi-gh 36345119a3 Deprecate bacgroundcolor, update comments 2024-03-21 23:09:19 +01:00
griffi-gh a4cac48bda add doc comment for slider 2024-03-21 22:59:37 +01:00
griffi-gh e8d8951320 fix some warnings 2024-03-21 22:59:31 +01:00
griffi-gh 7ae72b7a41 comment out element triggers 2024-03-21 22:26:50 +01:00
griffi-gh d526928d9b a bunch of signal and input changes 2024-03-21 22:23:42 +01:00
griffi-gh 33d161500f slider and some input stuff 2024-03-21 18:41:28 +01:00
griffi-gh 6606119cc4 wip slider and stuff 2024-03-14 13:30:44 +01:00
griffi-gh 59a704d516 actually check event type 2024-03-13 14:35:12 +01:00
griffi-gh 03f1d75d3c stuff 2024-03-12 19:48:17 +01:00
griffi-gh 3f99151d93 remove unused deps 2024-03-12 18:37:34 +01:00
griffi-gh cc591ffa1f drain remaining signals 2024-03-12 01:40:51 +01:00
griffi-gh a46cd7856b add br element, update docs 2024-03-12 01:38:11 +01:00
griffi-gh 7f28aebb97 somewhat less hacky... 2024-03-12 01:26:48 +01:00
griffi-gh 3a4b0eea66 well it somewhat works, build using terrible hacks 2024-03-12 01:23:26 +01:00
griffi-gh 969d0400d2 add docs 2024-03-12 01:07:17 +01:00
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