Open
Conversation
fix: 删除主测试代码中的 scanf 调用
增加fillcircle和fillcirclef函数
* 改用尖括号包含 png.h,同时也修改了 egegapi.cpp 中 包含 zlib.h 的语句,修改了 CMake 配置; * 使用 libpng 官方建议的方式,间接访问 png_struct 与 png_info; * 判断颜色格式,而非判断像素深度; * 将循环中与循环变量无关的 if 判断提到循环外,提高效率。
改用 git submodule 管理第三方库,并升级版本
修正:在initgraph时正确设置鼠标光标初始位置
fix: 手动关闭程序窗口时,程序不能马上退出
fix: memory leak in putimage_withalpha
fix: result of rgb2gray() is not correctly rounded
在颜色空间转换中使用正确的舍入
确保ege_sleep精度
修复了原本关于依赖库同步的错误,即原本编译指南约第七行提示运行: git submodule --init --recursive 实际上此命令并不完整,并不会正确同步,因此改为 git submodule update --init --recursive 除此以外还补充了关于build_commands.bat的使用方法,帮助初学者或是刚clone库的开发者比较快捷地完成编译
* 内部视口区域改为由 Bound 类型表示
ege 的头文件有了注解之后, 可以更方便辅助 AI 生成代码
增加 keypress(), keyrelease(), keyrepeat,分别返回检测间隔内按键按下,长按重复和抬起的次数。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
All exe files generated with the older version will crash on
Windows 1809The new version is required for everyone.