VB风格的form 发表于 2017-02-06 | 分类于 HTML | 1234567<form> <fieldset> <legend>health information</legend> height: <input type="text" /> weight: <input type="text" /> </fieldset></form> 预览: health information height: weight: 好怀念的样式TuT
试试typedef函数指针相关的东西 发表于 2017-02-06 | 分类于 笔记 | 作为回调 123456789101112131415161718#include <iostream>using namespace std;class Clz{};typedef void (Clz::*pot)();class Sub : public Clz{public: void test(){cout<<"test"<<endl;} pot pFun; void testCallback(){(this->*pFun)();}};int main() { // your code goes here Sub* sub = new Sub(); sub->pFun = pot(&Sub::test); sub->testCallback(); delete sub; return 0;}
cocos2dx-js显示/隐藏左下角fps信息 发表于 2016-07-15 | 分类于 Cocos2d-X | cocos2dx-js 3.x版本控制左下角debug信息的显示和隐藏方法。 阅读全文 »
cocos2dx-2.x解决GooglePlay警告的libpng版本问题 发表于 2016-07-12 | 分类于 Cocos2d-X | 谷歌近日对使用低版本libpng库的应用发出下架警告: 阅读全文 »
RMVA 使用TexturePacker打包的图集 发表于 2016-05-13 | 分类于 RPG Maker | 试着读取tp图集,对旋转后的图片没有什么好的还原思路,bitmap没办法旋转,目前是创建精灵然后旋转,不建议勾选。 阅读全文 »