remove cursor functions in Renderer class #13

Closed
rwst opened this Issue May 27, 2012 · 0 comments

Comments

Projects
None yet
1 participant
Contributor

rwst commented May 27, 2012

The ControllerHub member function mouseClickedDown() and ...Up() need access to the mouse cursor state (get/set). This is realized by accessing the renderPanel through Renderer member functions (declared in IRenderer). BUT ControllerHub gets the renderPanel also when it's constructed, with an IViewEventRelay handle. It is therefore not necessary to abuse the Renderer class for accessing the RenderPane

@rwst rwst added a commit to rwst/jchempaint that referenced this issue May 28, 2012

@rwst rwst move get/setCursor from Renderer/IRenderer/AtomContainerRenderer to C…
…ontrollerHub/IChemModelRelay; fixes issue #13
c58ca2f

rwst closed this Jun 29, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment