More mouse and PIC fixes and the mouse now takes of the ration between guest resolution and actual render area size, multiplied by the DPI, when returning coordinate deltas, also unified the delta return function across the various emulated mice.
This commit is contained in:
@@ -71,16 +71,8 @@ public:
|
||||
/* Returns options dialog for current renderer */
|
||||
QDialog *getOptions(QWidget *parent) { return rendererWindow ? rendererWindow->getOptions(parent) : nullptr; }
|
||||
|
||||
void setFocusRenderer()
|
||||
{
|
||||
if (current)
|
||||
current->setFocus();
|
||||
}
|
||||
void onResize(int width, int height)
|
||||
{
|
||||
if (rendererWindow)
|
||||
rendererWindow->onResize(width, height);
|
||||
}
|
||||
void setFocusRenderer();
|
||||
void onResize(int width, int height);
|
||||
|
||||
void (*mouse_capture_func)(QWindow *window) = nullptr;
|
||||
void (*mouse_uncapture_func)() = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user