代码搜索结果
找到约 8,819 项符合
RGB 的代码
gen-color-table.pl
#!/usr/bin/perl -w
if (@ARGV != 1) {
die "Usage: gen-colors.pl rgb.txt > pango-color-table.h\n";
}
open IN, $ARGV[0] || die "Cannot open $ARGV[0]: $!\n";
@colors = ();
while (defined($_ = )
ttt.ini
[TMC]
bound=1
crcbyte=1
databyte=1
stopbyte=1
inputtype=0
writetype=3
[CODE]
on=PWR ON
off=PWR OFF
rgb=SOURCE 21
video=SOURCE 41
[FILENAME]
filepath=E:\FMMC\ttt.ini
comm=1
vtl_combox.cpp
#include "stdafx.h"
#include "VTL_ComBox.h"
CLWnd::CLWnd(HWND parentWnd)
:ml_parentWnd(parentWnd),ml_msgID(0)
{
m_crTransparent = RGB(255,0,255);
}
CLComboBox::CLComboBox(HWND pa
cpixelrgb32.h
//
// CPixelRGB32.h
//
#ifndef __CPixelRGB32_h__
#define __CPixelRGB32_h__
/*
RGB32 format: BGR-BGR-
*/
class CBasePixel;
class CPixelRGB32 : public CBasePixel
{
public:
CPixelRGB32
memdc.h
#ifndef _MEMDC_H
#define _MEMDC_H
class CMemDC : public CDC
{
public:
CMemDC(CDC* pDC,int width,int height,BOOL bInitBack=FALSE,COLORREF rgbBack=RGB(255,255,255));
virtual ~CMemDC();
protec
menu.cpp
//文字处理模块
//*********************************
//文字显示
void PrintText(LPDIRECTDRAWSURFACE Surf,int x,int y,char *Text,DWORD color=RGB(0,0,0))
{
HDC hdc;
Surf->GetDC(&hdc);
SetBkMode(hdc, TRAN
mysocket.cpp
// MySocket.cpp : implementation file
//
#include "stdafx.h"
#include "JingZiQi.h"
#include "MySocket.h"
#include "MainFrm.h"
#include "JingZiQiView.h"
//#define TCOLOR RGB(100,255,0)
//#d
resource.h
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by USBCam.rc
//
#define IDD_ABOUTBOX 100
#define IDR_MAINFRAME 128
#defin
subject_33962.htm
序号:33962 发表者:君 发表日期:2003-03-25 16:28:12
主题:关于对话框控件背景颜色的设置问题
内容:我首先用SetDialogBkColor(RGB(000,255,255), RGB(255, 0,0))改变了对话框背景及文本的颜色;为了改变Button的颜色,我又添加了OnCtlColor函数。但运行结果Button的颜色并没有改变。我附
subject_28827.htm
序号:28827 发表者:aquaqius 发表日期:2003-01-24 12:40:25
主题:怎样用DirectDraw显示16位的灰度图像
内容:小弟想用DirectDraw显示灰度级65535(16比特)的灰度图像,但是如果用<mark>RGB</mark>设置的话,只有0-255,能不能直接设置灰度图像,而不用将<mark>RGB</mark>设成一样来显示灰度图像。那位大虾知道啊,救命啊!
...