This commit is contained in:
Robert Osfield 2020-03-13 08:34:59 +00:00
commit 9ee206f1c5
6 changed files with 6 additions and 7 deletions

View File

@ -14,7 +14,7 @@
#ifndef OSGVIEWER_GRAPHICSHANDLEWIN32 #ifndef OSGVIEWER_GRAPHICSHANDLEWIN32
#define OSGVIEWER_GRAPHICSHANDLEWIN32 1 #define OSGVIEWER_GRAPHICSHANDLEWIN32 1
#include "Win32GWUtils" #include <osgViewer/api/Win32/Win32GWUtils>
#include <osgViewer/Export> #include <osgViewer/Export>
namespace osgViewer namespace osgViewer

View File

@ -79,20 +79,19 @@ IF(WIN32 AND NOT ANDROID)
${HEADER_PATH}/api/Win32/GraphicsHandleWin32 ${HEADER_PATH}/api/Win32/GraphicsHandleWin32
${HEADER_PATH}/api/Win32/GraphicsWindowWin32 ${HEADER_PATH}/api/Win32/GraphicsWindowWin32
${HEADER_PATH}/api/Win32/PixelBufferWin32 ${HEADER_PATH}/api/Win32/PixelBufferWin32
${HEADER_PATH}/api/Win32/Win32GWUtils
) )
IF(OSG_USE_EGL) IF(OSG_USE_EGL)
SET(LIB_COMMON_FILES ${LIB_COMMON_FILES} SET(LIB_COMMON_FILES ${LIB_COMMON_FILES}
GraphicsWindowWin32.cpp GraphicsWindowWin32.cpp
PixelBufferWin32EGL.cpp PixelBufferWin32EGL.cpp
Win32GWUtils.cpp Win32GWUtils.cpp
Win32GWUtils
) )
ELSE() ELSE()
SET(LIB_COMMON_FILES ${LIB_COMMON_FILES} SET(LIB_COMMON_FILES ${LIB_COMMON_FILES}
GraphicsWindowWin32.cpp GraphicsWindowWin32.cpp
PixelBufferWin32.cpp PixelBufferWin32.cpp
Win32GWUtils.cpp Win32GWUtils.cpp
Win32GWUtils
) )
ENDIF() ENDIF()
ELSE() ELSE()

View File

@ -28,8 +28,8 @@
#include <vector> #include <vector>
#include <map> #include <map>
#include "Win32GWUtils" #include <osgViewer/api/Win32/Win32GWUtils>
#include "windowsx.h" #include <windowsx.h>
#define MOUSEEVENTF_FROMTOUCH 0xFF515700 #define MOUSEEVENTF_FROMTOUCH 0xFF515700

View File

@ -15,7 +15,7 @@
*/ */
#if !defined(OSG_USE_EGL) #if !defined(OSG_USE_EGL)
#include "Win32GWUtils" #include <osgViewer/api/Win32/Win32GWUtils>
#include <osgViewer/api/Win32/PixelBufferWin32> #include <osgViewer/api/Win32/PixelBufferWin32>
#include <osgViewer/api/Win32/GraphicsWindowWin32> #include <osgViewer/api/Win32/GraphicsWindowWin32>
#include <osg/TextureRectangle> #include <osg/TextureRectangle>

View File

@ -1,6 +1,6 @@
#include <osg/GLExtensions> #include <osg/GLExtensions>
#include "Win32GWUtils" #include <osgViewer/api/Win32/Win32GWUtils>
#include <vector> #include <vector>
#include <sstream> #include <sstream>