脚本语言:C#附上一张图说明Unity GUI编程中可用的控件:(可能有遗漏)下面列出一些例子来说明:1、Groups : 在固定Layout模式中起到组织可用项的功能,它让你在屏幕的一个区域中包含多个控件。把定义的控件放在GUI.BeginGroup()和 GUI.EndGroup()这对函...
分类:
其他好文 时间:
2014-07-16 18:44:36
阅读次数:
252
最近一直没有写笔记, 总感觉自己少了点什么, 也没有转载什么有用的笔记, 今天小弟特此献上一篇图片旋转和保存旋转的功能实现, 注意这是转载, 我是来当自己笔记的, 哈哈哈哈... 1 @interface ViewController () 2 { 3 UIImageView * iv; 4...
分类:
其他好文 时间:
2014-07-16 18:41:02
阅读次数:
195
#import "AppDelegate.h"#import "FisrtViewController.h"@interface AppDelegate () @end@implementation AppDelegate - (BOOL)applicat...
分类:
其他好文 时间:
2014-07-16 18:16:12
阅读次数:
156
//Demo1:Declaring an event in an interface and implementing it in //a class.// event_keyword.csusing System;public delegate void MyDelegate(); // de.....
分类:
其他好文 时间:
2014-07-16 15:41:01
阅读次数:
246
Netstat 命令用于显示各种网络相关信息,如网络连接,路由表,接口状态 (Interface Statistics),masquerade 连接,多播成员 (Multicast Memberships) 等等。输出信息含义执行netstat后,其输出结果为Active Internet conn...
分类:
Web程序 时间:
2014-07-16 15:35:09
阅读次数:
363
Validating Receipts Locally
Perform receipt validation immediately after your app is launched, before displaying any user interface or spawning any child processes. Implement this check in the ma...
分类:
其他好文 时间:
2014-07-16 11:48:20
阅读次数:
267
TranslucentToolbar.h文件
#import
@interface TranslucentToolbar :
UIToolbar
@end
TranslucentToolbar.m文件
#import "TranslucentToolbar.h"
@implementation TranslucentToolbar
- (id)initWi...
分类:
其他好文 时间:
2014-07-16 11:22:19
阅读次数:
210
Java中的回调函数一般来说分为以下几步:
声明回调函数的统一接口interface A,包含方法callback();在调用类caller内将该接口设置为私有成员private A XXX;在caller内提供实现A接口的public方法(将外部该接口的实现类通过形参传入caller的XXX);caller的某个方法dosth()中会用到XXX.callback()方法;在caller的实...
分类:
编程语言 时间:
2014-07-16 09:06:18
阅读次数:
321
l GDI图形接口l 绘制图形l DC,HDC设备CDC类l 绘制矩形 一、了解GDI与GUI GDI是Graphics Device Interface的缩写,含义是图形设备接口,它的主要任务是负责系统与绘图程序之间的信息交换,处理所有Windows程序的图形输出。 在Windows操作系统下,绝...
分类:
其他好文 时间:
2014-07-16 00:52:32
阅读次数:
394
-----------------------------------IDocument.cs(定义一个接口)usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
namespaceConsoleApplication3
{
publicinterfaceIDocument
{
stringTitle{get;set;}//文..
分类:
其他好文 时间:
2014-07-15 11:38:31
阅读次数:
272