LCUI 应用开发实战:图像查看器 (The Course)
$7.99
Minimum price
$14.99
Suggested price

Course Info

This course includes 1 attempt.

LCUI 是一个用于为桌面应用构建图形界面的 C 开发库,与其它 GUI 库/框架相比,功能、文档和例子都很少,这增加了开发者的使用难度,同时也使得开发者难以全面、准确地评估其实际的应用能力和潜力。

基于此,为了帮助开发者更好地认识和掌握 LCUI 的特性与优势,本教程以开发图像查看器为例,深入且直观地展示 LCUI 在实际项目中的各项能力。

之所以选择图像查看器,是因为作者曾经在使用 Windows 系统自带的“照片”应用时经常出现卡死、无法启动、无法缩放、启动缓慢等问题,于是就想开发一个启动迅速的图像查看器来取代它作为日常看图的工具。

Share

Categories

  • C and C++

Course Material

  • 介绍
  • 实现的是什么程序?
  • 你会学到什么?
  • 适宜人群
  • 前置知识
  • 配置开发环境
  • 系统要求
  • 创建项目
  • 构建项目
  • 运行项目
  • 打包和发布项目
  • 配置编辑器
  • 定制项目
  • 小结
  • icon/quiz Created with Sketch.
    Quiz 11 attempt allowed
  • 设计程序架构
  • 功能需求分析
  • 功能库
  • 用户界面
  • 小结
  • 实现图像缩放控制器
  • 数据结构
  • 初始化
  • 销毁
  • 加载图像文件
  • 计算自适应比例
  • 设置缩放比例
  • 设置可见区域位置
  • 快捷缩放
  • 状态检查
  • 小结
  • 实现图像文件收集器
  • 通信机制
  • 数据结构
  • 初始化
  • 销毁
  • 事件通知
  • 工作线程
  • 加载文件
  • 状态检测
  • 文件切换
  • 数据获取
  • 小结
  • icon/quiz Created with Sketch.
    Quiz 21 attempt allowed
  • 实现文件信息读取器
  • 定义数据结构
  • 初始化和销毁
  • 加载信息
  • 小结
  • 实现主界面
  • 拆分组件
  • 设计布局
  • 描述界面结构
  • 添加样式
  • 编译 TypeScript
  • 显示界面
  • 设置窗口标题
  • 小结
  • 构建图像查看界面
  • 拆分组件
  • 设计布局
  • 选取图标
  • 描述界面结构
  • 显示界面
  • 小结
  • 显示图像
  • 加载图像
  • 集成控制器
  • 更新窗口标题
  • 处理工作目录和参数
  • 小结
  • 反馈加载状态
  • 添加进度条
  • 获取图像加载状态
  • 显示错误信息
  • 小结
  • 添加图像缩放交互
  • 快捷键
  • 拖动图像
  • 滚轮缩放
  • 重置缩放
  • 小结
  • 添加图像切换交互
  • 引入收集器
  • 状态更新
  • 响应切换按钮
  • 响应按键
  • 小结
  • 添加工具栏交互
  • 文件信息
  • 缩放比例
  • 缩放按钮
  • 自适应按钮
  • 全屏按钮
  • 小结
  • 添加滑块组件
  • 创建组件
  • 添加状态管理
  • 添加数据绑定
  • 实现拖拽滑动
  • 小结
  • 实现影片界面
  • 创建组件
  • 添加样式
  • 定义数据结构
  • 加载缩略图列表
  • 选中缩略图
  • 设置滚轮行为
  • 添加切换按钮
  • 小结
  • 实现信息界面
  • 创建组件
  • 显示界面
  • 获取文件信息
  • 头部
  • 名称
  • 修改时间
  • 大小信息
  • 文件路径
  • 小结
  • 总结
  • LCUI 的现状和未来
  • 练习

Instructors

    • Web Frontend Developer, Author of the LCUI Open Source Project.

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub