-
Notifications
You must be signed in to change notification settings - Fork 14
电子阅读器 #25
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
base: main
Are you sure you want to change the base?
电子阅读器 #25
Conversation
设置页面和主页面
2.增加阅读覆盖页面(粗糙版:实现了布局以及进入和退出)
1.完善 设置页面,书库页面,目录页面:添加对应下栏控制
完善阅读设置页面:1.增加 目录页面 以及 书库页面的切换功能 2.增加累积跳转页面的功能
完善设置页面:全刷周期次数动态显示
完善阅读覆盖页:1,2,3控制矩形实现 控制触控 与 全刷周期次数动态显示功能 。完善设置页面:全刷周期次数动态显示
实现 控制全刷周期 功能
实现: 显示阅读进度功能,修改页面逻辑缺陷,完善继续阅读功能
1.修改累积跳页使用逻辑 2.修改书库以及目录页的up,down切换逻辑
1。添加了所有页面的触控逻辑
2.解决了阅读页面点击右下角会出现唤醒阅读设置的bug
1.解决了书库页面、目录页面点击下一页,选择书籍和目录失效的bug
2.增加阅读覆盖页面(粗糙版:实现了布局以及进入和退出)
完善设置页面:全刷周期次数动态显示
2.解决了阅读页面点击右下角会出现唤醒阅读设置的bug
触控屏驱使用板子进行区分
| { | ||
| library_bottom_mode = true; | ||
| library_bottom_idx = 0; | ||
| action = SELECT; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
按钮的点击区域判断 和 按钮的绘制区域, 两个完全没有关联起来?这开发起来怕是有点困难吧,
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
按钮的点击区域判断 和 按钮的绘制区域, 两个完全没有关联起来?这开发起来怕是有点困难吧,
把每个页面的绘制区域的区域映射到了触控判断中
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
比之前好一点, 但是触控里面的逻辑还是太多,最好是:
- g_area_array的数据结构除了坐标区域外,可以增加UIAction的参数, 这样写个循环去遍历g_area_array,找到就往上层发对应的UIAction参数,而不是像现在一样,还需要根据很多UI的状态全局变量来决定往上层发什么UIAction
- SF32_TouchControls.cpp里面不要有页面的逻辑判断在这里,功能分层要做的干净,他只是一个触控控制,不能掺入上层UI的逻辑
1.添加了主页面、,通用设置页面、阅读设置页面
2、添加了按键控制交互逻辑
3、添加了触控交互逻辑