Hi all, I was wondering if anyone has looked at implementing a platform independent dialog box? (i.e. it would be implemented natively on each OS, but with same API across all OS).
e.g.
ofAlertBox("Major malfunction error, press OK to continue"); // brings up an alert dialog box with only an OK button
int pressedButton = ofAlertBox("Do you wish to continue", OF_YES | OF_NO); // brings up alert dialog box with YES and NO buttons
string strInput;
ofInputBox("Enter your name", &strInput);
I’m not saying that the API should be like above, I’m open to anything, but something like this could be useful. Any suggestions? (At this point I only need the first one, simple dialog box).