Page MenuHomePhabricator

Modified mitk::ApplicationCursor to work with wxWidgets using vtkRenderWindow to map all the implementations
Closed, WontfixPublic

Event Timeline

wxWidgets has two versions of SetCursor( ):

  • wxWindow::SetCursor( )
  • And the global one wxSetCursor( ).

The global one only has an effect on Windows, Mac and GTK+. So we decided to use the wxWindow::SetCursor( ).

To be able to use the wxWindow::SetCursor( ) function, the parameter vtkRenderWindow has been added to mitk::ApplicationCursor class. For each instance of vtkRenderWindow, there's one instance of mitk::ApplicationCursorImplementation.

The code is compatible with Qt version that uses a single instance of mitk::ApplicationCursorImplementation for all windows.

When the user creates only one instance of mitk::ApplicationCursorImplementation, like in Qt, it will be registered using the vtkRenderWindow == NULL and any call to mitk::ApplicationCursor will use this global instance.

Resetting all bugs without active assignee flag to "CONFIRMED". Change status to IN_PROGRESS if you are working on it.

kislinsk claimed this task.
kislinsk added a subscriber: kislinsk.
This task was automatically closed because it wasn't updated at least since July 2016 (over 2 years). Please re-open this task if you think that it is still relevant. This most probably means that you will resolve it.