pthom / hello_imgui

Hello, Dear ImGui: unleash your creativity in app development and prototyping
https://pthom.github.io/hello_imgui
MIT License
606 stars 91 forks source link

Application Window Icon #43

Closed Guillaume227 closed 6 months ago

Guillaume227 commented 1 year ago

Based on that (old-ish) imgui issue: https://github.com/ocornut/imgui/issues/2715 I am wondering whether providing a way to display a main window icon should be part of what the battery-included, cross platform hello_imgui approach should offer.

I have looked at the doc and the hello_imgui_app example but it's not obvious how to achieve that currently.

pthom commented 1 year ago

Application icon and window is inherently handled wildly differently on different platforms.

The expected icon file format also differs wildly (bmp, icns, etc)

The expected icon size and the number of expected variations also differs (Android may ask up to 6 variations IIRC).

Guillaume227 commented 1 year ago

Ok - I naively thought it was more standardized. Maybe the case for providing an example for each platform that new comers like me can just use as a template? In any case, we can close this issue.

pthom commented 6 months ago

@Guillaume227 : lots of improvements were made for applications icons.

Please see https://github.com/pthom/hello_imgui_template/

Guillaume227 commented 6 months ago

fantastic, thank you!