最小跨平台gui lib? [英] minimal cross-platform gui lib?
问题描述
我在寻找一个简单易学的C或C ++跨平台gui库。
I'm looking for a minimal and easy to learn C or C++ cross platform gui library.
简而言之,我只需要以下功能:
In a nutshell I only need the following functionality:
- / li>
- 菜单栏
- 一些简单的对话框,文件打开并保存。可能是用户编写的。
- 用户画布,我可以在其上画出线条。
- 某种消息/事件循环机制。 / li>
- application window
- menu bar
- some simple dialogs, File-open and save. Maybe a user-written one.
- user canvas where I can draw lines an circles on.
- some kind of message/event loop mechanism.
目标平台将是Win32和linux。 MacOS很高兴,但目前不重要。
Target platforms would be Win32 and linux. MacOS would be nice to have but is not important at the moment.
为什么我在寻找最小的东西?我不想花很多时间学习一个大而全面的抽象系统,用于一个非常小的应用程序。越简单越瘦越好。
Why am I looking for something minimal? I don't want to spend much time to learn a big and full blown abstraction system for a really small application. The easier and leaner, the better.
有任何建议吗?
推荐答案
FLTK libs:我在工作中使用它们(嵌入式开发),我认为这是一个有效的选项。也许应用程序不像酷基于QT的,但使用FLTK库开发是快速和容易。
If you need something small, try FLTK libs: I used them at work (embedded development) and I think it's a valid option. Maybe apps are not as "cool" as QT-based ones, but developing with FLTK libs is fast and easy.
这篇关于最小跨平台gui lib?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!