Mercurial > hg > orthanc-stone
comparison Framework/Viewport/WebAssemblyViewport.h @ 1489:6e43cac7833c
Added public method to update canvas pixel size from CSS size
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 23 Jun 2020 15:41:52 +0200 |
parents | 30deba7bc8e2 |
children |
comparison
equal
deleted
inserted
replaced
1488:7f16987131e1 | 1489:6e43cac7833c |
---|---|
97 public: | 97 public: |
98 virtual ILock* Lock() ORTHANC_OVERRIDE; | 98 virtual ILock* Lock() ORTHANC_OVERRIDE; |
99 | 99 |
100 ~WebAssemblyViewport(); | 100 ~WebAssemblyViewport(); |
101 | 101 |
102 virtual void UpdateCanvasSize(); | |
102 | 103 |
103 /** | 104 /** |
104 This method takes ownership | 105 This method takes ownership |
105 */ | 106 */ |
106 void AcquireInteractor(IViewportInteractor* interactor); | 107 void AcquireInteractor(IViewportInteractor* interactor); |