Gered
ec6d0f1b73
convenience method for creating a basic image widget
2023-05-26 12:12:45 -04:00
Gered
4257985962
access to the imgui texture map from our own imgui wrapper struct
2023-05-26 11:20:58 -04:00
Gered
f6ef1ee22e
add support for resetting the imgui renderer's texture map
2023-05-26 11:11:27 -04:00
Gered
457aa757cf
simplify
2023-05-05 18:15:55 -04:00
Gered
3a56926345
the big switch from ARGB to RGBA format for 32-bit color pixels
2023-05-05 18:14:37 -04:00
Gered
78d8102a23
rename color types to somewhat less "noisy" names
...
plus these are easier to type.
i do not anticipate needing structured color types for any other
type of components (e.g. i don't see a need for an ARGBu16x4, etc).
so i am fine with just having `ARGB` being associated with four u8's
with no real indication of this in the type name itself.
2023-05-05 15:56:29 -04:00
Gered
09dbb913a5
convert RgbaBitmap to use ARGBu8x4 as its pixel type
2023-05-04 18:54:37 -04:00
Gered
755d13eef9
update color functions to work with arrays instead of bare components
2023-04-18 16:42:13 -04:00
Gered
73e5b9c7bc
tweak all internal pub mod / pub use and re-do the prelude module
...
this is based off what i saw some other libraries doing. i'm not sure
what is the "best practice" to be honest, but i definitely like this.
especially the prelude is now much simpler, which is nice.
2023-04-17 15:25:55 -04:00
Gered
1d64384088
update imgui helpers, split mouse_over_any into two separate functions
...
since it was kind of doing both, but the name implied otherwise, and
hence was incorrect behaviour
2023-04-14 13:58:41 -04:00
Gered
7cff580bcb
helper trait for imgui helper functions
...
only one for now. i am assuming i will want more in the future.
2023-04-11 22:12:55 -04:00
Gered
d85293d9bf
remove need to pass a system struct to prepare a new imgui frame
...
just needed the destination bitmap dimensions and we don't need the
whole system struct for that
2023-04-08 21:04:45 -04:00
Gered
0f4ed2965c
add wrapper struct to simplify imgui init and usage
...
rather than forcing use of 3 separate structs
2023-04-08 20:52:38 -04:00
Gered
3befd786ca
adjust default imgui style's rounding settings
2023-04-07 14:46:17 -04:00
Gered
eeee7ed67b
cleanup
2023-04-07 14:31:50 -04:00
Gered
89be7f5e89
minor simplifications
...
sort of
2023-04-07 14:30:22 -04:00
Gered
e3d585ec90
initial commit of ggdt_imgui library
...
fairly basic at this stage, but working
2023-04-07 14:21:27 -04:00