Mercurial > hg > orthanc-stone
comparison Applications/Sdl/SdlStoneApplicationRunner.cpp @ 726:4f2416d519b4
moving layers, widgets and loaders to Deprecated namespace
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 21 May 2019 11:43:25 +0200 |
parents | b70e9be013e4 |
children | 4fe4b221a31f |
comparison
equal
deleted
inserted
replaced
714:d2c0e347ddc2 | 726:4f2416d519b4 |
---|---|
108 | 108 |
109 { | 109 { |
110 NativeStoneApplicationContext::GlobalMutexLocker locker(context); | 110 NativeStoneApplicationContext::GlobalMutexLocker locker(context); |
111 | 111 |
112 locker.GetCentralViewport().RegisterObserverCallback( | 112 locker.GetCentralViewport().RegisterObserverCallback( |
113 new Callable<SdlEngine, IViewport::ViewportChangedMessage> | 113 new Callable<SdlEngine, Deprecated::IViewport::ViewportChangedMessage> |
114 (sdl, &SdlEngine::OnViewportChanged)); | 114 (sdl, &SdlEngine::OnViewportChanged)); |
115 | 115 |
116 //context.GetCentralViewport().Register(sdl); // (*) | 116 //context.GetCentralViewport().Register(sdl); // (*) |
117 } | 117 } |
118 | 118 |