Fix some more Quarter High DPI Display issues. Partially fixes #3130 (the offset issue).
Related to issue #2968. Ported from code by Randall O'Reilly. https://grey.colorado.edu/svn/coin3d/quarter/trunk/
This commit is contained in:
committed by
wmayer
parent
33baa4a9f2
commit
2e32324007
@@ -53,11 +53,17 @@ InputDevice::InputDevice(void)
|
||||
this->mousepos = SbVec2s(0, 0);
|
||||
}
|
||||
|
||||
InputDevice::InputDevice(QuarterWidget *quarter) : quarter(quarter)
|
||||
{
|
||||
this->mousepos = SbVec2s(0, 0);
|
||||
}
|
||||
|
||||
/*!
|
||||
Sets the mouseposition
|
||||
|
||||
\param[in] pos position of mouse in pixelcoordinates
|
||||
*/
|
||||
|
||||
void
|
||||
InputDevice::setMousePosition(const SbVec2s & pos)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user