comparison GammaControl.h @ 0:8b8875f5b359

Initial commit
author Nomad
date Fri, 05 Oct 2012 16:07:14 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:8b8875f5b359
1 #pragma once
2 #include "Render.h"
3
4 #pragma pack(push, 1)
5 struct GammaController
6 {
7 GammaController();
8 inline ~GammaController() {} //----- (0044F22E)
9
10 void Initialize/*_44F4D9*/(float gamma);
11
12 void GetRamp();
13 double _44F377(DDGAMMARAMP *a1);
14 void SetGammaRamp(DDGAMMARAMP *pRamp);
15 int InitGammaRamp(DDGAMMARAMP *pRamp);
16
17 /*protected*/void InitializeFromSurface(struct IDirectDrawSurface4 *a2);
18
19 static bool IsGammaSupported();
20
21
22
23
24 void (__thiscall ***vdestructor_ptr)(GammaController *, bool);
25 IDirectDrawSurface4 *pSurface;
26 IDirectDrawGammaControl *pGammaControl;
27 DDGAMMARAMP pDefaultRamp;
28 DDGAMMARAMP field_60C;
29 float fGamma;//field_C0C;
30 };
31 #pragma pack(pop)