0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with...
[occt.git] / src / InterfaceGraphic / InterfaceGraphic.hxx
CommitLineData
b311480e 1// Copyright (c) 1991-1999 Matra Datavision
973c2be1 2// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 3//
973c2be1 4// This file is part of Open CASCADE Technology software library.
b311480e 5//
d5f74e42 6// This library is free software; you can redistribute it and/or modify it under
7// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 8// by the Free Software Foundation, with special exception defined in the file
9// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10// distribution for complete text of the license and disclaimer of any warranty.
b311480e 11//
973c2be1 12// Alternatively, this file may be used under the terms of Open CASCADE
13// commercial license or contractual agreement.
b311480e 14
7fd59977 15#ifndef __INTERFACE_GRAPHIC_HXX
4fe56619 16#define __INTERFACE_GRAPHIC_HXX
7fd59977 17
eaf5c5e0 18#if defined(_WIN32)
19
20#include <windows.h>
21
22#ifdef DrawText
23 #undef DrawText
24#endif
25
565baee6 26#elif !defined(__ANDROID__) && !defined(__QNX__) && !defined(__EMSCRIPTEN__) && (!defined(__APPLE__) || defined(MACOSX_USE_GLX))
eaf5c5e0 27
28#include <stdio.h>
29
dc5bfeae 30// exclude modern definitions and system-provided glext.h, should be defined before gl.h inclusion
9fd2d2c3 31#ifndef GL_GLEXT_LEGACY
32 #define GL_GLEXT_LEGACY
33#endif
34#ifndef GLX_GLXEXT_LEGACY
35 #define GLX_GLXEXT_LEGACY
36#endif
dc5bfeae 37
eaf5c5e0 38#include <X11/Xlib.h>
39#include <X11/Xutil.h>
40#include <X11/Xatom.h>
41#include <GL/glx.h>
42
4fe56619 43#endif
7fd59977 44
4fe56619 45#endif // __INTERFACE_GRAPHIC_HXX