asmpaint's Introduction
asmpaint's People
asmpaint's Issues
拖拽功能
接受图片文件的拖拽消息,用以打开图像文件。搜索相关的API。
做个画布
程序的客户区需要画布,最好能有左侧+下侧的滚动条。画布有边界(就和mspaint那样)。退而求其次的话可以没有滚动条。
给TOOLBAR的各种工具做个合适的ID
WM_COMMAND消息会接受到工具栏点击的ID,目前是0、15,应改成定义宏(记得使用IDM开头,和菜单的WM_COMMAND消息保持一致。
创建个全局变量来表示现在工具栏的激活状态。
支持快捷键
现在我们有菜单,但是不能用快捷键触发消息(如Ctrl-N)看看有没有什么解决方案。
实现画笔功能
图像文件的打开保存
画布背景似乎没重绘
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.