Login  Register

Re: [@dxli and @sand1024] please a tip for the RS_Eventhandler

Posted by dxli on Apr 12, 2025; 12:36pm
URL: https://forum.librecad.org/fixed-thanks-please-a-tip-for-the-RS-Eventhandler-tp5726883p5726911.html

Then, use RS_Settings should be something like:


    LC_GROUP_GUARD("Colors");
    auto bgc = QColor(LC_GET_STR("background", RS_Settings::background));
    RS_Color fillBackground{bgc};

The RS_Settings::background is a static const, not actually set by the GUI user setting. Maybe, we should make it consistent with the user setting.

emanuel wrote
I need the current setting, set by: