Commit graph

183 commits

Author SHA1 Message Date
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 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 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
griffi-gh 9600d7f7a9 Deprecate bacgroundcolor, update comments 2024-03-21 23:09:19 +01:00
griffi-gh 8a0b8281bc add doc comment for slider 2024-03-21 22:59:37 +01:00
griffi-gh 1698961d5c fix some warnings 2024-03-21 22:59:31 +01:00
griffi-gh 4bd93b3106 comment out element triggers 2024-03-21 22:26:50 +01:00
griffi-gh b9aab4152f a bunch of signal and input changes 2024-03-21 22:23:42 +01:00
griffi-gh c60775ff4d slider and some input stuff 2024-03-21 18:41:28 +01:00
griffi-gh 4476307482 wip slider and stuff 2024-03-14 13:30:44 +01:00
griffi-gh 7d3932f139 actually check event type 2024-03-13 14:35:12 +01:00
griffi-gh 3a58e530b3 stuff 2024-03-12 19:48:17 +01:00
griffi-gh cd338f101c remove unused deps 2024-03-12 18:37:34 +01:00
griffi-gh 509d39ddea drain remaining signals 2024-03-12 01:40:51 +01:00
griffi-gh de9f41c296 add br element, update docs 2024-03-12 01:38:11 +01:00
griffi-gh c3f32b3ddd somewhat less hacky... 2024-03-12 01:26:48 +01:00
griffi-gh 6b2d4fbe36 well it somewhat works, build using terrible hacks 2024-03-12 01:23:26 +01:00
griffi-gh c2d7542bb8 add docs 2024-03-12 01:07:17 +01:00
griffi-gh fc458464a7 update interactable 2024-03-12 01:06:03 +01:00
griffi-gh f716433d37 signal stuff... 2024-03-12 00:29:26 +01:00
griffi-gh 2d59f76ba7 it kinda works 2024-03-11 20:48:39 +01:00
griffi-gh dcdbc0fcbe fix warning 2024-03-11 20:16:26 +01:00
griffi-gh 67290e52ea owo 2024-03-11 20:16:01 +01:00
griffi-gh 1fe104e6f3 uwu 2024-03-11 18:53:24 +01:00
griffi-gh 5d98d7c657 add some helper fns 2024-03-11 18:48:46 +01:00
griffi-gh 352691c228 update input handling 2024-03-11 18:40:11 +01:00
griffi-gh f25efdb3ca stuff 2024-03-07 23:03:13 +01:00
griffi-gh a92817cb88 move stuff out 2024-03-07 22:46:01 +01:00
griffi-gh b6cd7567d7 change stuff 2024-03-07 02:40:11 +01:00
griffi-gh 25f947ba31 add extra helpers 2024-03-07 02:24:45 +01:00
griffi-gh 226fac9e8b Rename UiDirection to Direction 2024-03-07 02:06:14 +01:00
griffi-gh 481fff7dee add Text::new 2024-03-07 02:05:39 +01:00
griffi-gh 6064567433 wip image, and required ctx stuff 2024-03-07 02:04:24 +01:00
griffi-gh 688bc6e489 add todo note 2024-03-07 01:19:45 +01:00
griffi-gh 3731f19380 apply bg image 2024-03-07 01:12:39 +01:00
griffi-gh 1fc63cf070 api and doc stuff, add bg image prop to container 2024-03-07 01:11:53 +01:00
griffi-gh f05659e35b change bg color api again 2024-03-07 00:50:47 +01:00
griffi-gh e2a328f4b7 add a comment to fix stuff later 2024-03-06 21:28:35 +01:00
griffi-gh 507eff3f8f use full init syntax 2024-03-06 21:28:12 +01:00
griffi-gh b9f58285da fix corrupted text bug 2024-03-06 21:14:40 +01:00
griffi-gh 4d2d947e68 fix some atlas bugs 2024-03-06 20:58:50 +01:00
griffi-gh b6898d5b79 implement element wrapping 2024-03-06 20:39:25 +01:00
griffi-gh 4621f0335b remove non_exhaustive from Hints, upd docs 2024-03-06 17:52:34 +01:00
griffi-gh 4c26a1297f add should_wrap flag 2024-03-06 17:19:35 +01:00
griffi-gh ef0d610764 add wrap flag 2024-03-06 17:00:18 +01:00
griffi-gh 6feefb61fa remove comment 2024-03-05 23:47:56 +01:00
griffi-gh e7edd98d41 aaa 2024-03-05 23:47:40 +01:00
griffi-gh d1588932e5 fix rounded rect gradient 2024-03-02 01:19:47 +01:00
griffi-gh 392fed5798 update docs 2024-03-02 01:07:53 +01:00
griffi-gh 4affd56d7a ui transforms 2024-03-02 00:33:02 +01:00
griffi-gh 80282780d5 minor comment edit 2024-03-01 20:44:37 +01:00
griffi-gh a09a25ba73 idk a bunch of changes i forgor to commit 2024-03-01 18:21:02 +01:00
griffi-gh 91367d54e0 uwu 2024-02-29 23:53:01 +01:00
griffi-gh be589d302d input handling stuff 2024-02-29 17:57:06 +01:00
griffi-gh 45bbdd57fd refactor 2024-02-29 16:02:05 +01:00
griffi-gh cd589d29ae stuff 2024-02-29 02:19:29 +01:00
griffi-gh 27205a93d2 input upd (wip) 2024-02-29 01:15:29 +01:00
griffi-gh 3471a0c382 fix offset 2024-02-27 22:57:46 +01:00
griffi-gh b7a4b82056 i think this looks better... 2024-02-27 22:38:43 +01:00
griffi-gh 35ee24bf06 cfg gate the stuff 2024-02-27 22:18:55 +01:00
griffi-gh ba083b76f5 add color html 2024-02-27 20:31:16 +01:00
griffi-gh d86cce035b rename stuff 2024-02-27 20:31:12 +01:00
griffi-gh 9f3cc681b5 add docs, update stuff 2024-02-27 18:23:55 +01:00
griffi-gh 2c7af890eb update size macro, add docs to layout module 2024-02-27 17:56:46 +01:00
griffi-gh 8759f0169c rename arg 2024-02-26 20:04:52 +01:00
griffi-gh a36c127e61 use derive_setters 2024-02-26 16:37:59 +01:00
griffi-gh 8c5ba17c9c api stuff 2024-02-26 16:33:55 +01:00
griffi-gh 684cab5ade add checks 2024-02-26 15:19:13 +01:00
griffi-gh 0f98da2753 eh... its better i guess. still needs a refactor 2024-02-26 15:13:03 +01:00
griffi-gh 0a7392684a a 2024-02-26 01:20:52 +01:00
griffi-gh 20f89a7567 wip refactor 2024-02-26 01:15:55 +01:00
griffi-gh b616548b83 minor changes 2024-02-25 15:59:12 +01:00
griffi-gh 966bcb748f uwu 2024-02-25 15:43:38 +01:00
griffi-gh 21508c0f76 kinda works now... 2024-02-25 04:02:10 +01:00
griffi-gh 91c5b99bce wip refactor 2024-02-24 23:32:09 +01:00
griffi-gh bb76139598 x 2024-02-21 23:56:55 +01:00
griffi-gh a5cd74e911 WIP single draw call architecture 2024-02-21 20:13:58 +01:00
griffi-gh 1f7685aef5 use usize max as the default font handle (to ensure it always stays invalid) 2024-02-21 11:20:45 +01:00
griffi-gh f7366b9bbb fix builtin font handle thingy 2024-02-21 11:19:14 +01:00
griffi-gh f9ea777954 bump version to 0.1.0.alpha.4 2024-02-21 11:06:13 +01:00
griffi-gh f8d67da0c9 remove unused enum 2024-02-21 11:03:36 +01:00
griffi-gh 3f60cbd751 rename border_radius to corner_radius add it to mom downloader example 2024-02-20 21:13:21 +01:00
griffi-gh 0287e46923 New background api 2024-02-20 20:56:58 +01:00
griffi-gh 3550c28cc7 fix alpha check 2024-02-20 20:31:12 +01:00
griffi-gh f95caf37e5 add todo note 2024-02-20 20:29:27 +01:00
griffi-gh fc25818e6b remove unused border code 2024-02-20 20:27:05 +01:00
griffi-gh f12a59fd31 uwu 2024-02-20 20:24:36 +01:00
griffi-gh 2fdc075f3a add border radius to progress bar 2024-02-20 20:11:05 +01:00
griffi-gh ecc137bcd5 Remoev option wrapper for bg color 2024-02-20 20:10:56 +01:00