style="word-break:break-all;word-wrap:break-word;"
分类:
其他好文 时间:
2014-05-16 03:04:36
阅读次数:
277
CCMenu是一个菜单项的容器,用来装载各种菜单项, 菜单项可以是图片、系统字、或者自定义字体。
菜单项常用设置:
void alignItemsVertically(); //垂直方向默认间隙排列, 5个像素
void alignItemsVerticallyWithPadding(float padding);//垂直方向以padding间隙排列
void alignItemsHor...
分类:
其他好文 时间:
2014-05-15 23:35:31
阅读次数:
374
转自:http://onlyzq.blog.51cto.com/1228/546459echo显示带颜色,需要使用参数-e格式如下:echo -e
"\033[字背景颜色;文字颜色m字符串\033[0m"例如:echo -e "\033[41;37mTonyZhang \033[0m"其中41的位置...
分类:
系统相关 时间:
2014-05-15 17:55:07
阅读次数:
382
imagecreatetruecolor(宽,高);
图片宽高imagecolorallocate(图片,红,绿,蓝)
调用(三原色)生成颜色的方法,是生成背景颜色imagestring(图片,字体大小,字所在的x轴,字所在的y轴,要显示的验证码,字体颜色)header
要把...
分类:
Web程序 时间:
2014-05-15 15:59:13
阅读次数:
432
验证码图片里的点点与线线imagefill($img,0,0,$background);
//字体颜色 $color = imagecolorallocate($img,rand(0,255),rand(0,255),rand(0,255));
$color1 = imag...
分类:
数据库 时间:
2014-05-15 07:27:14
阅读次数:
320
TextView txtShuoming;
SpannableStringBuilder builder = new SpannableStringBuilder(getResources().getString(R.string.shuoming));
//1.设置字体颜色
builder.setSpan(new ForegroundColorSpan(...
分类:
其他好文 时间:
2014-05-15 05:46:49
阅读次数:
251
1 sourceinsight screen font 的默认字体是Verdana的,它是一直变宽字体。在Document style中可以将字体改为定宽的Courier
2 document
options->auto indent 去掉indent Open Brace和Indent Close Brace的效果: 继上一段,在相对缩进行里, 如果输入"{"或"}", 则自动和上一行...
分类:
其他好文 时间:
2014-05-15 04:33:36
阅读次数:
330
PHP 验证码(补充)1、改变验证码背景颜色:imagefill(图片,填充的宽,填充的高,颜色)
$back = imagecolorallocate($img,194,219,255);
imagefill($img,0,0,$back);2、字体颜色随机改变:rand(0,255) $col....
分类:
其他好文 时间:
2014-05-15 01:45:03
阅读次数:
322
//创建按钮初始化UIButton*leftButton=[[UIButtonalloc]initWithFrame:CGRectMake(0,0,60,24)];//添加返回方法[leftButtonaddTarget:selfaction:@selector(backMainViewController)forControlEvents:UIControlEventTouchUpInside];//设置字体颜色,状态[leftButtonsetTitleColor..
分类:
其他好文 时间:
2014-05-15 00:36:08
阅读次数:
320
第二十七章程序的许可证27.1查看许可证状态
DrillNET包括了运行各种工程模型的选项。根据您的选择来购买程序,您的DrillNET软件的副本对于每一个模型没有激活的许可证。在工程模型面板列表中,被激活的模型是用黑色的文本显示。而没有有效许可证密匙的模型将会用灰色字体来表示。
要查看您的许可证状...
分类:
Web程序 时间:
2014-05-14 13:31:25
阅读次数:
582