Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Viewport/WebAssemblyCairoViewport.cpp @ 1558:314b6dc507d9
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 20 Aug 2020 11:38:56 +0200 |
parents | c54bc5bffd01 |
children | 92fca2b3ba3d |
comparison
equal
deleted
inserted
replaced
1557:a6f339d8e4c2 | 1558:314b6dc507d9 |
---|---|
20 | 20 |
21 | 21 |
22 #if defined(ORTHANC_BUILDING_STONE_LIBRARY) && ORTHANC_BUILDING_STONE_LIBRARY == 1 | 22 #if defined(ORTHANC_BUILDING_STONE_LIBRARY) && ORTHANC_BUILDING_STONE_LIBRARY == 1 |
23 # include "WebAssemblyCairoViewport.h" | 23 # include "WebAssemblyCairoViewport.h" |
24 # include "../Scene2D/CairoCompositor.h" | 24 # include "../Scene2D/CairoCompositor.h" |
25 # include "../Scene2DViewport/ViewportController.h" | |
25 #else | 26 #else |
26 // This is the case when using the WebAssembly side module, and this | 27 // This is the case when using the WebAssembly side module, and this |
27 // source file must be compiled within the WebAssembly main module | 28 // source file must be compiled within the WebAssembly main module |
28 # include <Viewport/WebAssemblyCairoViewport.h> | 29 # include <Viewport/WebAssemblyCairoViewport.h> |
29 # include <Scene2D/CairoCompositor.h> | 30 # include <Scene2D/CairoCompositor.h> |
31 # include <Scene2DViewport/ViewportController.h> | |
30 #endif | 32 #endif |
33 | |
31 | 34 |
32 #include <Images/Image.h> | 35 #include <Images/Image.h> |
33 | 36 |
34 #include <boost/math/special_functions/round.hpp> | 37 #include <boost/math/special_functions/round.hpp> |
35 | 38 |