1 生成图片 创建一个有真彩色的图片$im 
=imagecreatetruecolor(100,30); 注 :100 30是 参数2 生成颜色 (图片的颜色 和字体的颜色)当第一次调用的时候 是背景颜色 
第二次调用的时候 是字体颜色$bg = imagecolorallocate($im,25.....
                            
                            
                                分类:
其他好文   时间:
2014-05-16 18:04:36   
                                阅读次数:
265
                             
                         
                    
                        
                            
                            
                                //设置导航栏的文字self.navigationItem.title=@"功效";//设置导航栏的颜色self.navigationController.navigationBar.barTintColor= 
[UIColororangeColor];//设置导航栏上字体颜色 [self.na.....
                            
                            
                                分类:
其他好文   时间:
2014-05-16 08:11:48   
                                阅读次数:
247
                             
                         
                    
                        
                            
                            
                                1 生成图片 创建一个有真彩色的图片$im 
=imagecreatetruecolor(100,30); 注 :100 30是 参数2 生成颜色 (图片的颜色 和字体的颜色)当第一次调用的时候 是背景颜色 
第二次调用的时候 是字体颜色$bg = imagecolorallocate($im,25.....
                            
                            
                                分类:
其他好文   时间:
2014-05-16 07:44:55   
                                阅读次数:
229
                             
                         
                    
                        
                            
                            
                                为了给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
                             
                         
                    
                        
                            
                            
                                windows下将IPython Qt Console的快捷方式修改为: 
"C:\Python\IPython Qt Console.exe" --ConsoleWidget.font_family="Courier New" 
--ConsoleWidget.font_size=9 --Conso....
                            
                            
                                分类:
编程语言   时间:
2014-05-04 19:24:27   
                                阅读次数:
1195
                             
                         
                    
                        
                            
                            
                                移动端设计原则----大、高、宽---------------->本质上都是以用户体验为判断依据1、手指触摸方便、精准------------>高度 
50px、色块2、字体大小---------------------->16px3、背景色、前景色、字体颜色组件1、导航条2、页脚3、按钮4、分割线5...
                            
                            
                                分类:
其他好文   时间:
2014-05-02 06:06:37   
                                阅读次数:
282
                             
                         
                    
                        
                            
                            
                                在C++控制台应用程序中可以控制控制台输出的字体颜色和 接受任意按键退出#ifndef 
CONSOLE_UTILS_H#define CONSOLE_UTILS_H#include #include #include //default text 
colors can be found in win...
                            
                            
                                分类:
编程语言   时间:
2014-05-02 00:23:19   
                                阅读次数:
450
                             
                         
                    
                        
                            
                            
                                如上图,是对datagrid的样式修改。包含:头部背景色及字体居中,单元格背景色设置,行字体颜色设置,复选框。基本都是基于渲染器的定义。1)头部背景色及字体居中:头部渲染器并没有直接的属性可用,需要自定义datagrid的皮肤。在自动生成的皮肤中,可以找到 <!--- Defines the value of the headerRenderer property for the columnHe...
                            
                            
                                分类:
其他好文   时间:
2014-04-29 13:14:19   
                                阅读次数:
405
                             
                         
                    
                        
                            
                            
                                文字格式设置:
字体颜色设置:
Program.cs:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace ColorDialog
{
    static class Program
    {...
                            
                            
                                分类:
其他好文   时间:
2014-04-27 20:38:47   
                                阅读次数:
576