代码搜索结果
找到约 8,819 项符合
RGB 的代码
dibconv.c
/*-------------------------------------------------------
DIBCONV.C -- Converts DIBs from one format to another
(c) Charles Petzold, 1998
--------------------------------------
scomm.cpp
// SCOMM.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "SCOMM.h"
#include "SCOMMDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static
init.c
/*--------------------------------*-C-*---------------------------------*
* File: init.c
*----------------------------------------------------------------------*
*
* All portions of code are copyr
dibconv.c
/*-------------------------------------------------------
DIBCONV.C -- Converts DIBs from one format to another
(c) Charles Petzold, 1998
--------------------------------------
coolmenu.cpp
/*########################################################################
Filename: coolmenu.cpp
----------------------------------------------------
Remarks: ...
---------------------------
ldrawpal.cpp
#include
#include
static void waitVR() { while (!inp(0x3da)&0x80); }
extern "C" void cdecl LLoadPalX(void *);
extern "C" void cdecl LSetPalX(void *);
void lloadPal(RGB *pal)
noise.c
//noise.c
#include "sys.h"
void flash_lcd(void)
{
int size = 320*240*2;
WORD *lcd = (WORD*)(LCD_BUF+32);
memset(lcd, 0xE0, size);
Delay(2000000);
memset(lcd, 0x1F, size);
Delay(20
basedraw.cpp
// BaseDraw.cpp: implementation of the CBaseDraw class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "BaseDraw.h"
#include "mmsystem.h"
init.c
/*--------------------------------*-C-*---------------------------------*
* File: init.c
*----------------------------------------------------------------------*
* $Id: init.c,v 1.103 2002/12/04 05
vc颜色值、vb颜色值怎样转换.txt
Windows采 用 的 颜 色 方 案 为 <mark>RGB</mark>( 红 绿 蓝 ) , 使 用 一 个 长 整 数 表 示 颜 色 ( 通 常 称 为 COLORREF类 型 ) 。 在 VC++中 使 用 <mark>RGB</mark>宏 , 在 VB中 使 用 <mark>RGB</mark>函 数 可 以 将 一 个 颜 色 的 3个 分 量 转 换 为 一 个 长 整 型 的 数 。 之 所 以 使 用 <mark>RGB</mark>宏 或 <mark>RGB</mark>函 数 , 只 是 为 了 ...