码迷,mamicode.com
首页 >  
搜索关键字:phoenix frame    ( 7592个结果
UISwitch控件
用处:开关空间,用于处理两种状态-(void)viewDidLoad{ [super viewDidLoad]; CGRect frame = CGRectMake(20,20,0,0); self.switch = [[UISwitch alloc]initWithFrame:frame]; //...
分类:其他好文   时间:2014-08-06 18:23:01    阅读次数:213
UIButton控件
-(void)viewDidLoad{//初始化self.btn1 = [UIBotton buttonWithType:UIButtonTypeRoundedRect];//设置大小self.btn1.frame = CGRectMake(20,20,100,50);//设置标题[self.btn...
分类:其他好文   时间:2014-08-06 17:41:01    阅读次数:172
UITextField控件
用处:输入控件-(void)viewDidLoad{ [super viewDidLoad];//设置大小CGRect frame = CGRectMake(20,20,150,40);//实例化UITextFieldself.tf = [[UITextField alloc]initWithFra...
分类:其他好文   时间:2014-08-06 17:16:41    阅读次数:213
UIKit 小结
nsobject--uiresponder--uiviewuiresponder类定义了一些操作uiview有三个属性: frame, bounds, centercenter用于改变控件位置, bounds 用于改变控件大小UILabel控件:类似于c#的label。CGRect frame = ...
分类:其他好文   时间:2014-08-06 14:16:01    阅读次数:196
[原]零基础学习视频解码之seek
现在,我们要添加一些功能,当你看不能倒带的电影,是不是很烦? 那么函数av_seek_frame功能看起来是多么赏心悦目。我们将让左,右箭头来回走在影片中通过一个小的向上和向下箭头很多,其中“三多一少”是10秒,“很多”为60秒。因此,我们需要设置我们的主循环,用来捕获击键。然而,当我们得到一个按键...
分类:其他好文   时间:2014-08-06 01:54:00    阅读次数:286
extjs 弹出模态窗口
1、定义form [javascript] view plain copy var?form1?=?Ext.create(‘Ext.form.Panel‘,?{?? ????id:‘form1‘,?? ????frame:?true,?? ????//title:?‘Form?Fields‘,?? ????//width:?...
分类:Web程序   时间:2014-08-05 14:28:30    阅读次数:349
I,P,B帧和PTS,DTS的关系
基本概念:I frame :帧内编码帧 又称intra picture,I 帧通常是每个 GOP(MPEG 所使用的一种视频压缩技术)的第一个帧,经过适度地压缩,做为随机访问的参考点,可以当成图象。I帧可以看成是一个图像经过压缩后的产物。P frame: 前向预测编码帧 又称predictive-f...
分类:其他好文   时间:2014-08-04 17:26:57    阅读次数:263
Swift游戏实战-跑酷熊猫 10 视差滚动背景
原理实现勘误“实现”的视频中有个错误,如下背景移动时有个错误,看红色部分,近景归位时,第二张图片的下标是1if arrBG[0].position.x + arrBG[0].frame.width < speed{arrBG[0].position.x = 0arrBG[1].position.x=...
分类:其他好文   时间:2014-08-04 14:10:37    阅读次数:294
设置UITableView背景透明/监听cell左边的删除按钮的点击事件
_tableView = [[UITableView alloc] init]; _tableView.delegate = self; _tableView.dataSource = self; _tableView.frame = CGRectMake(kZero, 6...
分类:其他好文   时间:2014-08-04 13:39:27    阅读次数:268
POJ1128 Frame Stacking 【拓扑排序】+【深搜】
Frame Stacking Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 4074   Accepted: 1371 Description Consider the following 5 picture frames placed on an 9 x 8...
分类:其他好文   时间:2014-08-03 18:06:45    阅读次数:269
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!