LibreCAD
›
LibreCAD-dev
Login
Register
Re: [@dxli and @sand1024] please a tip for the RS_Eventhandler
Posted by
emanuel
on
Apr 12, 2025; 11:31am
URL:
https://forum.librecad.org/fixed-thanks-please-a-tip-for-the-RS-Eventhandler-tp5726883p5726908.html
I don't know why either, but now suddenly everything works.
That was probably a stupid patch day yesterday...
Suddenly I can control all the events: I can now end the "vslide" command with the gestures "Pan", "Zoom", "ESC".
Unfortunately, it only works with the 2 switches here:
https://github.com/emanuel4you/LibreCAD/blob/developer/librecad/src/ui/view/qg_graphicview.h#L121
to get events like:
https://github.com/emanuel4you/LibreCAD/blob/developer/librecad/src/lib/actions/rs_actioninterface.h#L87
The result is very good, please take a look at the video:
simplescreenrecorder-2025-04-12_13.mp4
However, I have a shortcoming, I don't get to the background color, which is always "black".
https://github.com/emanuel4you/LibreCAD/blob/developer/librecad/src/lib/engine/overlays/overlay_slide/rs_overlayslide.cpp#L44
Do you have an idea why?
Free forum by Nabble
Edit this page