Mercurial > hg > orthanc-stone
changeset 1341:d80a3e3cc800 broker
dummy fixes
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Fri, 03 Apr 2020 18:18:37 +0200 |
parents | c7dbe89c82d7 |
children | 13573ff63eb6 |
files | Applications/Generic/GuiAdapter.cpp Applications/Generic/GuiAdapter.h |
diffstat | 2 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/Applications/Generic/GuiAdapter.cpp Fri Apr 03 16:55:11 2020 +0200 +++ b/Applications/Generic/GuiAdapter.cpp Fri Apr 03 18:18:37 2020 +0200 @@ -839,7 +839,7 @@ #if 0 // TODO: remove this when generic sdl event handlers are implemented in - // the VolumeSlicerWidget + // the DoseView // SDL ONLY bool GuiAdapter::IsSdlViewPortRefreshEvent(const SDL_Event& event) const { @@ -849,7 +849,7 @@ const char* windowTitleSz = SDL_GetWindowTitle(sdlWindow); - // now we need to find the VolumeSlicerWidget from from the canvas name! + // now we need to find the DoseView from from the canvas name! // (and retrieve the SdlViewport) boost::shared_ptr<IGuiAdapterWidget> foundWidget; VisitWidgets([&foundWidget, windowTitleSz](auto widget)
--- a/Applications/Generic/GuiAdapter.h Fri Apr 03 16:55:11 2020 +0200 +++ b/Applications/Generic/GuiAdapter.h Fri Apr 03 18:18:37 2020 +0200 @@ -59,9 +59,6 @@ #if 0 - // events are now handled directly by the VolumeSlicerWidget... The - // GuiAdapter doesn't know about widgets anymore - /** This interface is used to store the widgets that are controlled by the GuiAdapter and receive event callbacks.