Dear ImGui एक GUI library है, जिसमें कम कोड से भी बहुत कुछ किया जा सकता है। WinAPI के MsgProc या WinForm के Xaml.cs जैसी चीज़ों की ज़रूरत नहीं पड़ती, क्योंकि यह function के return value से सभी events को handle करता है। यानी:
if (ImGui::Button("Button") ) { /button click event/ }
{ std::cout 〈〈 "Hello, Imgui!" 〈〈 std::endl; }
इस तरह से इसे handle किया जाता है। Button function को call करने पर यह button को draw करने के साथ-साथ user input भी return value के रूप में वापस देता है। साथ ही, सिर्फ पहले से बने Widget ही नहीं, बल्कि ImGui में इस्तेमाल होने वाले interface के ज़रिए user सीधे अपने Widget और input handling भी बना सकता है, इसलिए इसकी extensibility अच्छी है.
ImGui को हर frame में draw करना पड़ता है, इसलिए इसका इस्तेमाल games या graphics libraries में बहुत होता है, लेकिन लगता है कि आम users के लिए GUI इसका development goal नहीं है.
अगर आप usage examples देखना चाहते हैं, तो नीचे दिया गया link देखें.
https://github.com/ocornut/imgui/issues/3075
और अगर आप उन game companies को देखना चाहते हैं जो यह GUI इस्तेमाल कर रही हैं, तो नीचे दिया गया link देखें.
https://github.com/ocornut/imgui/wiki/Software-using-dear-imgui
अभी कोई टिप्पणी नहीं है.