-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathWindows4Root.h
More file actions
125 lines (110 loc) · 3.31 KB
/
Windows4Root.h
File metadata and controls
125 lines (110 loc) · 3.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/* @(#)root/base:$Id: Windows4Root.h 20877 2007-11-19 11:17:07Z rdm $ */
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_Windows4Root
#define ROOT_Windows4Root
//////////////////////////////////////////////////////////////////////////
// //
// This include file is necessary to solve a problem with the original //
// windows.h file from Microsoft. //
// The native windows.h redefines a.o. the following names: //
// RemoveDirectory //
// GetClassName //
// GetTextAlign //
// GetTextColor //
// //
// This include file references the original windows.h file //
// and undefines these symbols. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef __CINT__
#include <windows.h>
#undef OpenSemaphore
#undef RemoveDirectory
#undef GetClassName
#undef GetTextAlign
#undef GetTextColor
#undef SetTextAlign
#undef SetTextColor
#undef UpdateWindow
#undef SetClipRegion
#undef ClearWindow
#undef ClosePixmap
#undef CloseWindow
#undef CopyPixmap
#undef CopyFile
#undef DrawBox
#undef DrawCellArray
#undef DrawFillArea
#undef DrawLine
#undef DrawPolyLine
#undef DrawPolyMarker
#undef DrawText
#undef GetCharacterUp
#undef GetDoubleBuffer
#undef GetPixel
#undef GetPlanes
#undef GetRGB
#undef GetTextExtent
#undef InitWindow
#undef AddWindow
#undef RemoveWindow
#undef MoveWindow
#undef OpenPixmap
#undef PutByte
#undef QueryPointer
#undef RescaleWindow
#undef ResizePixmap
#undef ResizeWindow
#undef SelectWindow
#undef SetCharacterUp
#undef SetClipOFF
#undef SetClipRegion
#undef SetCursor
#undef SetDrawMode
#undef SetFillColor
#undef SetFillStyle
#undef SetLineColor
#undef SetLineType
#undef SetLineStyle
#undef SetLineWidth
#undef SetMarkerColor
#undef SetMarkerSize
#undef SetMarkerStyle
#undef SetRGB
#undef SetTextAlign
#undef SetTextColor
#undef SetTextFont
#undef SetTextFont
#undef SetTextSize
#undef UpdateWindow
#undef Warp
#undef WritePixmap
#undef CreateWindow
#undef CreateRegion
#undef DestroyRegion
#undef UnionRectWithRegion
#undef PolygonRegion
#undef UnionRegion
#undef IntersectRegion
#undef SubtractRegion
#undef XorRegion
#undef EmptyRegion
#undef PointInRegion
#undef EqualRegion
#undef GetRegionBox
#undef GetCurrentTime
#undef GetTimeFormat
#if !defined(ROOT_TGWin32Object) && !defined(ROOT_TGWin32)
# undef GetObject
# undef GetClassInfo
#endif
#else
typedef void * HANDLE;
#endif
#endif