A simple calculator, based on gtk4, and it is easy to extend.
If you have some advises, please tell me, open a issue, give me a pull request, or send me a email.
Have a good time on it.
- Aloys
- [email protected]
include/
: The include file used in other source filessrc
: The program source filestest
: The unit test source files
- Install GTK, ref: https://github.com/jiangxincode/calculator/blob/master/.github/workflows/BuildAndRelease.yml
cmake -B build
cmake --build build
The MIT License (MIT)
- 增加国际化能力, 参考: http://ptomato.name/advanced-gtk-techniques/html/real-life-app-setup.html
- 添加图标, 参考: http://ptomato.name/advanced-gtk-techniques/html/real-life-app-setup.html
- 按钮颜色控制
- GTK版本控制问题
- 表达式计算
xgettext -k_ -o inter.po main.c