Reputation: 510
I am looking for a cross platform GUI toolkit (for C) that works equally well in the terminal as it does in the "graphical world".
What (I think) I want is something like ncurses but with the option to set the guimode before starting. So for example if my program is started from the commandline I can go textmode and if it is started from X or Windows or whatever I can instead start a graphical GUI using the same API. Something like this...
guimode=TEXTMODEGUI; or guimode=GRAPHICALGUI; before doing something like this...
drawwindow("title","text");
I have not found any ncurses to gtk+/wx/qt/whatever wrappers so far. Does something like this exits?!
Upvotes: 0
Views: 244