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