-
Notifications
You must be signed in to change notification settings - Fork 0
/
draw8.h
39 lines (31 loc) · 1006 Bytes
/
draw8.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// draw8.h: Draw8 クラスのインターフェイス
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_DRAW8_H__AC3BDD6E_0551_4FD8_8264_E739897A94B6__INCLUDED_)
#define AFX_DRAW8_H__AC3BDD6E_0551_4FD8_8264_E739897A94B6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "draw.h"
struct Draw8
: Draw
{
virtual PCWSTR init(const Config*, HWND);
virtual void draw(const WORD* vs, int vsn, int sx, int sy);
virtual void clear(int vsn, int sx, int sy);
void space(int vsn, char*);
void palset(int n, int col);
//確保したら破棄しない
static HPALETTE palette;
static LOGPALETTE *logpal;
static char* patmask;
#ifdef ANKS1
static char* hanfont;
#endif
static long colfore[]; //constは妙な最適化で遅くなる
static long colback;
static long coluline;
static BYTE bitmask[];
static BYTE revmask[];
};
#endif // !defined(AFX_DRAW8_H__AC3BDD6E_0551_4FD8_8264_E739897A94B6__INCLUDED_)