⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 number_img.h

📁 SAMSUNG S3C6410 CPU BSP for winmobile6
💻 H
字号:
#ifndef __SAMSUNG_SYSLSI_APDEV_SAMPLE_NUMBER_IMG_H__
#define __SAMSUNG_SYSLSI_APDEV_SAMPLE_NUMBER_IMG_H__


#include <windows.h>	// Because of HWND


// character image
#define NUM_CHAR_IMG			12

#define CHAR_IMG_WIDTH			15
#define CHAR_IMG_HEIGHT			20

#define CHAR_IMG_WIDTH_HALF			7
#define CHAR_IMG_WIDTH_ONE_HALF		23



// size image
#define NUM_SIZE_IMG			3
#define SIZE_IMG_WIDTH			70
#define SIZE_IMG_HEIGHT			20


typedef enum
{
	SIZE_IMG_QVGA   = 0,
	SIZE_IMG_VGA    = 1,
	SIZE_IMG_SD     = 2,
	SIZE_IMG_UNDEF  = 9
} SIZE_IMG_IDX;



#ifdef __cplusplus
extern "C" {
#endif

BOOL NumImg_MemLoad(unsigned char *mem_ptr);
BOOL NumImg_Write(int number, unsigned char *pImg, int width, int height, int x_pos, int y_pos);
void NumImg_Write_FPS(float fps, unsigned char *pImg, int width, int height, int x_pos, int y_pos);


BOOL SizeImg_MemLoad(unsigned char *mem_ptr);
BOOL SizeImg_Write(SIZE_IMG_IDX size_idx, unsigned char *pImg, int width, int height, int x_pos, int y_pos);

#ifdef __cplusplus
}
#endif






#endif /* __SAMSUNG_SYSLSI_APDEV_SAMPLE_NUMBER_IMG_H__ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -