Pascal Thomet
Pascal Thomet
@floooh : I added support for clipboard copy in [this commit](9b41af26a51eeb622d8850aab5f4fcb41d9d6a8d) by taking inspiration from your suggestions and from the sokol code. I can copy to the system clipboard, but...
@floooh : I made some investigations about the possible use of sokol. You can see a live test and a report [in this related issue](https://github.com/pthom/imgui_manual/issues/3)
For information, I could implement a temporary hack. If you are interested, I include it below. The principle is to acquire in a temporary buffer with the correct size, and...
Would you accept a PR with a polished version of this hack, or do you prefer to change the capture size (in which case, it will be too hard for...
Ok, ping me when you want me to run a test. My mac reports FrameBufferScale = (2, 2). I never encountered a situation where x_scale != y_scale and/or where they...
I don't know if that counts, but here is a simple button with shadow effect: ```cpp bool ButtonWithShadow(const char*label, ImVec2 buttonSize, ImVec4 color) { ImGui::PushStyleColor(ImGuiCol_Button, color); bool pressed = ImGui::Button(label,...
A simple one: implement `EmVec2` (see below) and use it when you want place or size widgets in a DPI independent way (otherwise, size and positions given via ImVec2 may...
> For DPI also see ["dpi" labels](https://github.com/ocornut/imgui/issues?q=+label%3Adpi+). There are many alternative ways to handle DPI, I suppose our problem is not settling on a common idiom satisfying all cases (it's...
Hello, For information only, I have worked on a similar subject, using the Metal backend. I was able to use EDR (Extended Dynamic Range) on macOS, from inside a library...
A slider that can edit *positive* floats in *any* range, with a given number of significant digits. For any value, the slider will interactively adapt its range to the value,...