annotate GammaControl.h @ 1277:1803172dffd9

header stuff
author Grumpy7
date Sat, 15 Jun 2013 07:50:08 +0200
parents db395ce89ede
children cc9a3a24d61d
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)
1103
db395ce89ede struct/class incostintency
Grumpy7
parents: 1016
diff changeset
5 class GammaController
0
Ritor1
parents:
diff changeset
6 {
1103
db395ce89ede struct/class incostintency
Grumpy7
parents: 1016
diff changeset
7 public:
0
Ritor1
parents:
diff changeset
8 GammaController();
Ritor1
parents:
diff changeset
9 inline ~GammaController() {} //----- (0044F22E)
Ritor1
parents:
diff changeset
10
Ritor1
parents:
diff changeset
11 void Initialize/*_44F4D9*/(float gamma);
Ritor1
parents:
diff changeset
12
Ritor1
parents:
diff changeset
13 void GetRamp();
Ritor1
parents:
diff changeset
14 double _44F377(DDGAMMARAMP *a1);
Ritor1
parents:
diff changeset
15 void SetGammaRamp(DDGAMMARAMP *pRamp);
Ritor1
parents:
diff changeset
16 int InitGammaRamp(DDGAMMARAMP *pRamp);
Ritor1
parents:
diff changeset
17
Ritor1
parents:
diff changeset
18 /*protected*/void InitializeFromSurface(struct IDirectDrawSurface4 *a2);
Ritor1
parents:
diff changeset
19
Ritor1
parents:
diff changeset
20 static bool IsGammaSupported();
Ritor1
parents:
diff changeset
21
Ritor1
parents:
diff changeset
22
Ritor1
parents:
diff changeset
23
Ritor1
parents:
diff changeset
24
Ritor1
parents:
diff changeset
25 void (__thiscall ***vdestructor_ptr)(GammaController *, bool);
Ritor1
parents:
diff changeset
26 IDirectDrawSurface4 *pSurface;
Ritor1
parents:
diff changeset
27 IDirectDrawGammaControl *pGammaControl;
Ritor1
parents:
diff changeset
28 DDGAMMARAMP pDefaultRamp;
Ritor1
parents:
diff changeset
29 DDGAMMARAMP field_60C;
Ritor1
parents:
diff changeset
30 float fGamma;//field_C0C;
Ritor1
parents:
diff changeset
31 };
Ritor1
parents:
diff changeset
32 #pragma pack(pop)