mstdn.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A general-purpose Mastodon server with a 500 character limit. All languages are welcome.

Administered by:

Server stats:

13K
active users

#DearImGui

0 posts0 participants0 posts today

Considering starting my next C++ game engine using modules to replace #include. Maybe a bad idea but hey we'll find out!

What's some other cool tech worth checking out? atm the plan is:
- #cpp23 or 26, whichever #NixOS supports
- #CMake, though I am curious to learn about other build systems
- #SDL 3.0, and its new SDL_GPU api (I know nothing about it but it looks awesome)
- #dearimgui (docking) to build the interface

Using tags so I hopefully reach the right people :)
#customengine #linux

Replied to juulcat

@juulcat The mid-grey UI themes were made setting our Dear ImGui 'grey' themes window background to ~0.5f (sRGB 0.5f is intended to be perceptual mid grey *cough*), then converting all the other style colours to HSV, and setting Vnew = (Vold_windowbg - Vold) * 0.5f + 0.5f and clamping 0 to 1.

To get an overall grey we found that for styles with light text setting the window background to 0.45f, and 0.55f for styles with dark text worked best (so overall UI averages towards 0.5f).

I am currently in the process of developing a kind of graphics software. This currently supports the import of shared libraries.
When loading such a library, the variables are automatically loaded into the main program, which can then be changed at runtime. This simple “plugin” draws a circle with editable diameter and colors at the current mouse position.
#cpp #software #pixels #graphics #images #dearimgui #colors