From 24a9d32531f6a26d478750124ef518e6401f5695 Mon Sep 17 00:00:00 2001 From: omar Date: Tue, 25 Nov 2014 15:17:15 +0000 Subject: [PATCH] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3db88132..9e8ffb09 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ The Immediate Mode GUI paradigm may at first appear unusual to some users. This Frequently Asked Question ------------------------- -How do you use ImGui on a platform that may not have a mouse and keyboard? +How do you use ImGui on a platform that may not have a mouse or keyboard? I recommend using [Synergy](http://synergy-project.org). With the uSynergy.c micro client running you can seamlessly use your PC input devices from a video game console or a tablet. ImGui was also designed to function with touch inputs if you increase the padding of widgets to compensate for the lack of precision of touch devices, but it is recommended you use a mouse to allow optimising for screen real-estate. @@ -69,6 +69,12 @@ Yes, you can alter the look of the interface to some degree: changing colors, si ![skinning screenshot 1](/web/skinning_sample_01.png?raw=true) +Why using C++ (as opposed to C)? + +ImGui takes advantage of a few C++ features for convenience but nothing in the realm of Boost-insanity/quagmire. In particular, function overloading and default parameters are used to make the API easier to use and code more terse. Doing so I believe the API is sitting on a sweet spot and giving up on those features would make the API more cumbersome. Other features such as namespace, constructors and templates (in the case of the ImVector<> class) are also relied on as a convenience but could be removed. + +Shall someone wants to use ImGui from another language, it should be possible to wrap ImGui to be used from a raw C API in the future. + Support -------