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#ifdef __CLING__
31#define WIN32_LEAN_AND_MEAN
32#endif
33#include <windows.h>
34
35#undef OpenSemaphore
36
37#undef RemoveDirectory
38#undef GetClassName
39#undef GetTextAlign
40#undef GetTextColor
41
42#undef SetTextAlign
43#undef SetTextColor
44#undef UpdateWindow
45#undef SetClipRegion
46
47#undef ClearWindow
48#undef ClosePixmap
49#undef CloseWindow
50#undef CopyPixmap
51#undef CopyFile
52#undef DrawBox
53#undef DrawCellArray
54#undef DrawFillArea
55#undef DrawLine
56#undef DrawPolyLine
57#undef DrawPolyMarker
58#undef DrawText
59#undef GetCharacterUp
60
61#undef GetDoubleBuffer
62#undef GetPixel
63#undef GetPlanes
64#undef GetRGB
65#undef GetTextExtent
66#undef InitWindow
67#undef AddWindow
68#undef RemoveWindow
69#undef MoveWindow
70#undef OpenPixmap
71#undef PutByte
72#undef QueryPointer
73#undef RescaleWindow
74#undef ResizePixmap
75#undef ResizeWindow
76#undef SelectWindow
77#undef SetCharacterUp
78#undef SetClipOFF
79#undef SetClipRegion
80#undef SetCursor
81#undef SetDrawMode
82#undef SetFillColor
83#undef SetFillStyle
84#undef SetLineColor
85#undef SetLineType
86#undef SetLineStyle
87#undef SetLineWidth
88#undef SetMarkerColor
89#undef SetMarkerSize
90#undef SetMarkerStyle
91#undef SetRGB
92#undef SetTextAlign
93#undef SetTextColor
94#undef SetTextFont
95#undef SetTextFont
96#undef SetTextSize
97#undef UpdateWindow
98#undef Warp
99#undef WritePixmap
100#undef CreateWindow
101#undef CreateRegion
102#undef DestroyRegion
103#undef UnionRectWithRegion
104#undef PolygonRegion
105#undef UnionRegion
106#undef IntersectRegion
107#undef SubtractRegion
108#undef XorRegion
109#undef EmptyRegion
110#undef PointInRegion
111#undef EqualRegion
112#undef GetRegionBox
113#undef GetCurrentTime
114#undef GetTimeFormat
115
116#undef wtype
117#undef DeleteFont
118#undef StrDup
119
120#undef wtype
121#undef DeleteFont
122#undef StrDup
123#undef SendMessage
124
125// the following two are roofit specific
126#undef ERROR
127#undef GetYValue
128
129#if !defined(ROOT_TGWin32Object) && !defined(ROOT_TGWin32)
130# undef GetObject
131# undef GetClassInfo
132#endif
133
134#endif