GUI:从配置文件转移到 UI,从哪里开始?
我非常习惯 C++ 和 OGL API 的基础知识。我使用这两个程序编写了一个程序,从 config.txt 文件加载数据以在 OpenGL 窗口中渲染场景。我正在努力使其更加实时,所以我想制作一个用户界面。用户可以即时输入数据,并在处理这些数据时(例如单击“应用”按钮后)看到更新到程序主程序中始终可见的场景。
我有零 UI 编程经验,并在此处的论坛中进行了搜索。 我发现了 SCALA、C# 和各种 Python 编程方法(如 pyFLTK)的一些要点。但在阅读这些论坛帖子后,我仍然不确定我需要哪一个或从哪里开始。
对于我的第一个描述来说,最好的建议是什么?目前还不打算让它超越 Windows,但让 UI 能够超越 Windows 是标准做法吗?如果是这样,我的选择会如何改变?
I'm pretty used to C++ and the basics of the OGL API. I wrote a program using these two that loaded data from a config.txt file to render a scene in an OpenGL window. I am working to make it a little more realtime, and so I'd like to make a user interface. The user would enter data on the fly and see the updates as they are processed (say after clicking an apply button) to an always visible scene in the main of the program.
I have zero UI programming experience and have searched through the forums here.
I have found some points towards SCALA, C#, and various Python programming methodologies (like pyFLTK). But after reading these forum posts I am still not sure which is the one I need or where to get started.
What would be the best suggestion to move towards creating something for my first description? Not looking to have it move beyond Windows just yet, but is it standard practice to make the UI able to? If so how does that change which I'd choose?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您坚持使用 Windows,那么您可以使用 C++Builder,无论是谁现在的。如果您想提高产品的跨平台可行性,那么带有 Lazarus 的 FPC 是一个很好的解决方案,尽管它将需要不同的语言。
If you're sticking with Windows then you can use C++Builder from... whoever it's from these days. If you want to increase the cross-platform viability of the product then FPC with Lazarus is a good solution, although it will require a different language.