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

画笔颜色优化 #101

Merged
merged 14 commits into from
Mar 14, 2024
Merged

画笔颜色优化 #101

merged 14 commits into from
Mar 14, 2024

Conversation

STBBRD
Copy link
Contributor

@STBBRD STBBRD commented Oct 29, 2023

自定义画笔颜色

当配置文件 Colors/Dark.ini 或 Colors/Light.ini 存在时,指定工具栏中四个彩色画笔颜色为配置文件中的颜色

画笔颜色深色/浅色切换

  • 当配置文件存在时,根据配置文件设置深色浅色各四个彩色画笔颜色;当配置文件不存在时,使用 Ink Canvas 画板默认的深色与浅色的彩色画笔颜色
  • 在 3.x 浮动工具栏中进入屏幕批注模式或白板模式时,使用深色画笔;进入黑板模式时,使用浅色画笔
  • 在 2.x 旧 UI 中使用新的深浅色切换方法

颜色配置文件

介绍

  • Colors/Dark.ini 和 Colors/Light.ini
  • 一行一个颜色,一共四个,分别对应四个彩色画笔颜色

范例

#FFFF00FF
#FF72EEFF
#FF008DFA
#FFFFF154

缺陷

我没做图形化自定义颜色工具

@clover-yan
Copy link
Contributor

读色彩没做错误处理,如果文件有问题会抛异常。(虽然一般人也不会去改就是了……)

@clover-yan
Copy link
Contributor

深色下的蓝色可以提亮一点。

@STBBRD
Copy link
Contributor Author

STBBRD commented Nov 4, 2023

错误处理做好了
默认两套画笔颜色模式是照搬2.x的画笔颜色的,改了不知道WXRIW会不会同意

@STBBRD STBBRD changed the title 画笔颜色优化 画笔颜色优化、关闭警告优化 Nov 25, 2023
@STBBRD
Copy link
Contributor Author

STBBRD commented Nov 25, 2023

某次上课发呆回过神来的时候发现 PPT 放映时出现了浅色画笔,但尝试多次无法复现。

Copy link
Owner

@WXRIW WXRIW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

关机警告声有其他解决方法,先不要用这个。后期我去弄。

@STBBRD STBBRD changed the title 画笔颜色优化、关闭警告优化 画笔颜色优化 Dec 2, 2023
@STBBRD
Copy link
Contributor Author

STBBRD commented Dec 2, 2023

关机警告声有其他解决方法,先不要用这个。后期我去弄。

好了

@clover-yan
Copy link
Contributor

clover-yan commented Dec 16, 2023

某次上课发呆回过神来的时候发现 PPT 放映时出现了浅色画笔,但尝试多次无法复现。

@STBBRD 参看 #114 所述的白板内进入放映问题,当从白板内进入放映时会继续使用浅色画笔,建议在 BtnSwitch_Click 而不是 ImageBlackboard_MouseUp 内做修改。

@STBBRD
Copy link
Contributor Author

STBBRD commented Dec 23, 2023

某次上课发呆回过神来的时候发现 PPT 放映时出现了浅色画笔,但尝试多次无法复现。

@STBBRD 参看 #114 所述的白板内进入放映问题,当从白板内进入放映时会继续使用浅色画笔,建议在 BtnSwitch_Click 而不是 ImageBlackboard_MouseUp 内做修改。

已修复

@WXRIW WXRIW changed the base branch from master to bug-fixes March 14, 2024 08:10
@WXRIW WXRIW merged commit 6448bfe into WXRIW:bug-fixes Mar 14, 2024
1 check passed
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