-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MTGUI: Cross-platform backend, GTK? wxWidgets? #9
Comments
Just from looking at their API's I'd tend towards wxWidgets, since it's a lot less callback-ish and has a somewhat consistent modern-c++-friendly API. e.g. Event receivers allow you to bind an even handler via a Bind() function that works with std::function, lambdas and function pointers, which keeps everything in scope nicely and doesn't throw macros all over the place. I haven't used either of them so far though, so I can't really say anything about differences in functionality. |
I've also got a bit of experience with wx myself, albeit on Python. GUI seems to be "there", just not hooked up to anything, really, |
Is there any reason QT is not even in consideration? |
Back when this was posted ImGui hadn't been made yet, I would absolutely use this over anything else: |
Whoa. Thanks @flibitijibibo! Looks like it would be perfect for what we're doing! |
From the (ImGui) repository's README.md:
I'd, honestly, want to go with something that delivers a native UX experience; even if, to begin with, we support minimal set of platforms or even just stick to windows with proper UI abstractions. If we try too much at first go, we might end up overwhelmed and loose motivation. |
Hrmm.... Quite the predicament. I do have experience with QT Designer myself. I think the main thing is we need to find an appropriate engine, and stick with it. I also think playing with the debug .EXE, seeing how the current interface is lke, and poking through the log it outputs, will help us the most. Darn my rambling! |
It looks like a move to QT might actually not be a bad idea. It seems like a lot of the code might be able to be replaced by native QT functions. IIRC, Yannick said that a lot of the functions were just "there", not yet hooked up to much. I think he also said MTAudio was not hooked up at all. I'm not in favor of a total codebase rewrite (Netscape, anybody?), but I feel that a move to QT and related functions could make our code much more manageable. |
Virtually no work has been done for MTGUI, except for a small batch of declarations that use GTK.
While this is open, feel free to make cases for using GTK or wxWidgets. I prefer wx, but that may require a bit more work depending on how much Yannick prepared MTGUI for GTK (if at all).
The text was updated successfully, but these errors were encountered: