blob: ec23fb9a96c9d1f4428d0949ea184cc042662883 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include "common.h"
struct BkgndInfo {
int vRange;
int hRange;
int zRange;
unsigned int *arrays[1];
};
class AFX_CLASS_EXPORT UT2BkgndInfo {
public:
static BkgndInfo* SetupBkgndInfo(const RECT&, int);
static void DisposeBkgndInfo(BkgndInfo*&);
static unsigned int GetBkgndInfo(BkgndInfo* const, int, int);
static void UnitToBkgndRect(const RECT&, RECT&);
static void BkgndToUnitRect(const RECT&, RECT&);
static void GetOffBkgndRect(int, RECT&);
static void ReplaceID(const BkgndInfo*, unsigned int, int);
};
|