nmgwddj / duilib_tutorial Goto Github PK
View Code? Open in Web Editor NEWDuiLib 基础入门文档+视频教程,基于官方开源代码
DuiLib 基础入门文档+视频教程,基于官方开源代码
视频教程在什么地方,没有看到,有没有交流群可以一起交流的。
添加了:
DUI_BEGIN_MESSAGE_MAP(MainWndFrame, CNotifyPump) DUI_ON_MSGTYPE(DUI_MSGTYPE_CLICK, OnClick) DUI_END_MESSAGE_MAP()
之后,提示如下:
错误 1 error LNK2001: 无法解析的外部符号 "protected: static struct DuiLib::DUI_MSGMAP const DuiLib::WindowImplBase::messageMap" (?messageMap@WindowImplBase@DuiLib@@1UDUI_MSGMAP@2@B) C:\Users\Documents\Visual Studio 2013\Projects\Helloworld\Helloworld\MainWndFrame.obj Helloworld
,请问这个是哪里做错了吗?
我在一开始的地方加了UILIB_EXPORTS的预处理,但是还是会出现一大堆错误,也是没有预处理导致的。
我么 --> 我们
另外,楼主的教程非常好!!
这两年应该帮助了不少人,非常感谢~~
第二章中的代码
DuiLib::CDuiString MainWndFrame::GetSkinFolder()
{
// GetInstancePath 接口返回默认的皮肤文件位置
// 在 main 函数中我们可以通过 SetResourcePath 来设置路径
return m_PaintManager.GetInstancePath();
}
m_PaintManager哪里来的?
不过很快就看完了感觉不过瘾,做着能否再出一套进阶教程呢?期待~
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.