Gered
16eb66b219
address a number of cargo warnings and clippy lints
...
while also ignored some bullshit clippy lints
2024-09-07 21:21:49 -04:00
Gered
74d7f2b22c
use workspace.dependencies
for common dependency versions
2024-07-21 16:07:33 -04:00
Gered
0f8377455c
update dependencies
2023-11-11 13:52:58 -05:00
Gered
3e88e41265
helper method for clearing imgui window focus
...
so that no window is focused at all
2023-06-03 17:10:46 -04:00
Gered
8557c24d48
add image_region ui widget which allows specifying a texture sub-region
2023-05-30 18:51:29 -04:00
Gered
d80720f772
update image ui widget to return a bool with its clicked state
2023-05-30 18:50:20 -04:00
Gered
d903ca59b3
add methods to get current ImGui display size
...
i suppose there is not much benefit to using this versus equivalent
functionality on SystemResources (for example). however the dimensions
returned by these new methods do respect whatever display scaling is
being used by ImGui. and these are technically more convenient to use
in whatever place you're building up a UI in. meh.
2023-05-30 18:49:14 -04:00
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