annotate GammaControl.h @ 2391:5d866ee28376

delete stru176.h for MVS 2010 MMT project
author Ritor1
date Fri, 04 Jul 2014 09:26:25 +0600
parents d04017f3d2fa
children
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
Ritor1
parents:
diff changeset
21
1458
934074e7fcc1 ModalWindow
Nomad
parents: 1391
diff changeset
22 void ( ***vdestructor_ptr)(GammaController *, bool);
0
Ritor1
parents:
diff changeset
23 IDirectDrawSurface4 *pSurface;
Ritor1
parents:
diff changeset
24 IDirectDrawGammaControl *pGammaControl;
Ritor1
parents:
diff changeset
25 DDGAMMARAMP pDefaultRamp;
Ritor1
parents:
diff changeset
26 DDGAMMARAMP field_60C;
Ritor1
parents:
diff changeset
27 float fGamma;//field_C0C;
Ritor1
parents:
diff changeset
28 };
Ritor1
parents:
diff changeset
29 #pragma pack(pop)