原地址:http://www.cnblogs.com/U-tansuo/archive/2012/11/22/unity_ios-plugin.html说起unity调ios插件,好多淫比较头痛,探索再此给大家献上通用手册。首先:需要需要一些OC知识,在OC中所有的界面都是基于View显示的,而要使...
分类:
移动开发 时间:
2014-05-12 17:43:00
阅读次数:
478
内容可以左右滑动,因为使用了ViewPager(我这里用了V4包)view_pager_main.xml activitypackage
com.example.actionBarTest.actionBarTabViewPager;import
android.app.ActionBar;impo...
分类:
移动开发 时间:
2014-05-12 16:08:41
阅读次数:
409
为了给printf着色方便, 我们可以定义一些宏:view plaincopy to
clipboardprint?#defineNONE"/033[m"#defineRED"/033[0;32;31m"#defineLIGHT_RED"/033[1;31m"#defineGREEN"/033[0;...
分类:
其他好文 时间:
2014-05-10 20:25:43
阅读次数:
305
1. 自定义验证--成功提示
1) 添加选项
errorClass: "unchecked",
validClass: "checked",
errorElement: "span",
errorPlacement: function (error, element) {
if (element.parent().find("span[for=""" + element.attr("id...
分类:
Web程序 时间:
2014-05-02 18:38:21
阅读次数:
467
以添加html后缀的文件的
映射为例:1.打开iis管理器,点击2.点击打开处理程序映射3.添加托管处理程序映射4.请求路径 *.html
类型:System.Web.UI.PageHandlerFactory 名称:Html-Integrate 确定5.添加处理脚本映射6.请求路径 *.ht...
分类:
Web程序 时间:
2014-05-02 14:07:40
阅读次数:
671
ElegantWM.WebUI/Application/common/src/Tools.js欢迎大家贡献更多的正则验证规则,目前支持如下:/*****************************************************************//*
VType自定义校验...
分类:
Web程序 时间:
2014-05-02 06:04:30
阅读次数:
346
foreach (var item in ViewBag.PhotoGroupList) {//
这里很奇怪 item.IS_DISPLAY 是布尔值如果直接写 @item.IS_DISPLAY 如果值为True会变成值会变成 ‘onclick’
,fa...
分类:
Web程序 时间:
2014-05-02 06:00:10
阅读次数:
399
启动界面的效果图:
实现的原理:在一个线程中让几幅图片进行循环显示,实现了动画的效果。
主要的实现类LoadingView是自定义控件,继承了ImageView,实现了Runnable接口 :
package wht.android.loading;
import android.content.Context;
import android.graphics.Canvas;
imp...
分类:
移动开发 时间:
2014-05-02 05:06:02
阅读次数:
371
MFC的消息循环(::GetMessage,::PeekMessage)消息泵(CWinThread::PumpMessage)和MFC的消息在窗口之间的路由是两件不同的事情分两个步骤完成:1
“消息派送”:非对话框程序(MFC Doc/View架构)和对话框程序略有不同,但原理相差不大。但除了少数...
分类:
其他好文 时间:
2014-05-02 02:01:44
阅读次数:
351
1.列表框中标题栏(Column)的添加创建一个List
Control,其ID为IDC_LIST,在其Styles属性项下的View项里选择Report、Align项里选择Top、Sort项里选择None.然后在该List所在对话框的类(头文件)里创建ClistCtrl的一个对象m_list然后在...
分类:
其他好文 时间:
2014-05-02 01:50:52
阅读次数:
420