Skip to content
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

修正颜色格式相关 #29

Merged
merged 3 commits into from
Jul 4, 2020
Merged

修正颜色格式相关 #29

merged 3 commits into from
Jul 4, 2020

Conversation

chirsz-ever
Copy link
Collaborator

设置预定义颜色与 EGERGB 宏产生的颜色的 Alpha 通道值为 255。
所有传入 GDI32 函数的颜色,都转换为 COLERREF 格式(0x00BBGGRR)。
从 ege.h 中移除了 RGBTOBGR

正常使用 EGE 过程中不会用到这个宏;
将 `sys_edit::onMessage` 的定义转移至 egegapi.cpp 以便使用 ARGBTOZBGR 宏
@wysaid wysaid merged commit f76ecae into wysaid:master Jul 4, 2020
@chirsz-ever chirsz-ever deleted the color-200704 branch July 4, 2020 13:59
@FrankHB
Copy link

FrankHB commented Jul 25, 2020

@chirsz-ever
Copy link
Collaborator Author

chirsz-ever commented Jul 25, 2020

PNG_COLOR_TYPE_RGB_ALPHA 要求的颜色格式是 0xaabbggrr这里语义的确不清晰。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants