alex47 / KDE-Rounded-Corners

Rounds the corners of your windows
GNU General Public License v3.0
167 stars 15 forks source link

Ability to specify the border radius #16

Open lqmanh opened 5 years ago

lqmanh commented 5 years ago

Hi,

Could you add this feature: let users be able to manually specify the border radius? It would be great.

Thank you!

ludanin commented 5 years ago

You can manually edit shapecorners.cpp. Look for when the function setRoundness is called, it shall be inside this block:

    ShapeCornersEffect::reconfigure(ReconfigureFlags flags)
    {
        ...
        setRoundness(5);
    }

Mine is located on line 166, you can change it to any value you like, e.g.

    setRoundness(8);

Don't edit the function definition of setRoundness, only change its parameters when calling the function. After that, just rebuild everything as instructed in the readme.

Petross404 commented 5 years ago

What if it's a binary distro and/or the user doesn't want to manually install stuff?

ghost commented 5 years ago

Unfortunately it seems that OP @alex47 is not commenting back on any of the issues that have been raised. As such I assume that this project is dead. The last update by OP was Mar 18, and the last time this was updated was 5 months ago.

It would be best for someone to fork this if they still want this to be worked on.

alex47 commented 5 years ago

@RavenTheDev I sometimes look at this project, but I mostly abandoned it because what we do here is a dirty hack and I'm working on a better implementation. this project is also a fork, the original can be found here: https://sourceforge.net/projects/shapecorners/

Davide-sd commented 5 years ago

Hello @alex47 , any news on the new implementation?

Paralusion commented 4 years ago

Any updates, @alex47 ? Just commenting so you know that there are still people interested.