annotate GammaControl.h @ 1136:3dc32954f1c7

Слияние
author Ritor1
date Sat, 25 May 2013 02:23:47 +0600
parents c45d51b3f4f4
children db395ce89ede
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
1016
c45d51b3f4f4 Included header files cleanup
Grumpy7
parents: 0
diff changeset
2 #include "lib\legacy_dx\d3d.h"
0
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
5 struct GammaController
Ritor1
parents:
diff changeset
6 {
Ritor1
parents:
diff changeset
7 GammaController();
Ritor1
parents:
diff changeset
8 inline ~GammaController() {} //----- (0044F22E)
Ritor1
parents:
diff changeset
9
Ritor1
parents:
diff changeset
10 void Initialize/*_44F4D9*/(float gamma);
Ritor1
parents:
diff changeset
11
Ritor1
parents:
diff changeset
12 void GetRamp();
Ritor1
parents:
diff changeset
13 double _44F377(DDGAMMARAMP *a1);
Ritor1
parents:
diff changeset
14 void SetGammaRamp(DDGAMMARAMP *pRamp);
Ritor1
parents:
diff changeset
15 int InitGammaRamp(DDGAMMARAMP *pRamp);
Ritor1
parents:
diff changeset
16
Ritor1
parents:
diff changeset
17 /*protected*/void InitializeFromSurface(struct IDirectDrawSurface4 *a2);
Ritor1
parents:
diff changeset
18
Ritor1
parents:
diff changeset
19 static bool IsGammaSupported();
Ritor1
parents:
diff changeset
20
Ritor1
parents:
diff changeset
21
Ritor1
parents:
diff changeset
22
Ritor1
parents:
diff changeset
23
Ritor1
parents:
diff changeset
24 void (__thiscall ***vdestructor_ptr)(GammaController *, bool);
Ritor1
parents:
diff changeset
25 IDirectDrawSurface4 *pSurface;
Ritor1
parents:
diff changeset
26 IDirectDrawGammaControl *pGammaControl;
Ritor1
parents:
diff changeset
27 DDGAMMARAMP pDefaultRamp;
Ritor1
parents:
diff changeset
28 DDGAMMARAMP field_60C;
Ritor1
parents:
diff changeset
29 float fGamma;//field_C0C;
Ritor1
parents:
diff changeset
30 };
Ritor1
parents:
diff changeset
31 #pragma pack(pop)