# HG changeset patch # User Benjamin Golinvaux # Date 1585930717 -7200 # Node ID d80a3e3cc800e4a009e540c4cb01e59d076269f4 # Parent c7dbe89c82d7a0e35a1f060e63a92afdadabb78c dummy fixes diff -r c7dbe89c82d7 -r d80a3e3cc800 Applications/Generic/GuiAdapter.cpp --- 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 foundWidget; VisitWidgets([&foundWidget, windowTitleSz](auto widget) diff -r c7dbe89c82d7 -r d80a3e3cc800 Applications/Generic/GuiAdapter.h --- 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.