码迷,mamicode.com
首页 >  
搜索关键字:smallest screen widt    ( 3710个结果
winform,wpf,winrt获取屏幕分辨率
winform当前的屏幕除任务栏外的工作域大小this.Width=System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Width;this.Height=System.Windows.Forms.Screen.PrimaryScreen.Wo...
分类:Windows程序   时间:2014-08-08 15:42:26    阅读次数:400
libgdx Action 动作 动画
Libgdx中有个类Actions, 从它开始顺藤摸瓜就能把哪些简单的Action快速掌握见代码: 1 public class ActionTestScreen implements Screen,InputProcessor{ 2 private Stage stage; 3 p...
分类:其他好文   时间:2014-08-06 22:05:22    阅读次数:309
libgdx Screen 场景切换
直接摆代码:1 public class MainGame extends Game{2 @Override3 public void create() {4 this.setScreen(new ScreenOne());5 }6 }代码中ScreenOne...
分类:其他好文   时间:2014-08-06 18:34:11    阅读次数:304
Webx常用接口
最近在学Webx框架, 在了解webx的工作流程后, 必须要会使用自带的接口和类常用的Navigator 这个接口中只有两种类型的方法, 及重定向与转发, 一般用在screen包下的类(注意:screen类名称要对应screen页面的名称)@FormGroup 用来标识一个参数,使之从form s....
分类:Web程序   时间:2014-08-06 18:00:31    阅读次数:379
打开弹出窗口并居中
function update(){ var iHeight=400; var iWidth=650; var iTop = (window.screen.availHeight-30-iHeight)/2; //获得窗口的垂直位置 var iLeft = (window.screen.availW...
分类:其他好文   时间:2014-08-05 22:03:00    阅读次数:203
在代码中使用Autolayout (1) – 按比例缩放和优先级
首先说按比例缩放,这是在Interface Builder中无法设置的内容。而在代码中,使用NSLayoutConstraint类型的初始化函数中的multiplier参数就可以非常简单的设置按比例缩放。同时也可以设置不同NSLayoutAttribute参数来达到意想不到的效果,比如“A的Widt...
分类:其他好文   时间:2014-08-05 18:57:29    阅读次数:188
程序猿的自我修养清单
Data Structures    1. Integer       – find number of 1s       – next largest smaller       – smallest larger number       – determine if is palindrom       – itoa, atoi       – add 2 numbers w/...
分类:其他好文   时间:2014-08-05 15:50:40    阅读次数:408
关于Window的Dos Batch 文件编写的常识
Redirect "all" output to a single file: Run: test.bat?>?test.txt?2>&1 and you‘ll get this text on screen (we‘ll never get rid of this line on screen, as it is sent to the Console and cannot be r...
分类:Windows程序   时间:2014-08-05 14:30:10    阅读次数:296
常用的宏
//获取屏幕 宽度、高度#define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width)#define SCREEN_HEIGHT ([UIScreen mainScreen].bounds.size.height)//获取系统版本#def...
分类:其他好文   时间:2014-08-05 10:43:39    阅读次数:250
QTP回放时弹出 提示:一个或多个ActiveX控件无法显示
今天在录系统的脚本,回放时遇到以下的问题:在QTP中弹出消息框,一个或多个ActiveX控件无法显示,如下图:在Tools-->Options-->Activescreen-->Advanced里把"LoadActiveX",即可解决你的问题。
分类:其他好文   时间:2014-08-04 18:23:58    阅读次数:313
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!