11 Commits

Author SHA1 Message Date
Uwe Rathmann
a676caf994 support lib reorganized 2022-04-01 13:56:16 +02:00
Peter Hartmann
ac8ef9cd5a
Box renderer: Support border gradients (#158)
* QskBoxBorderColors: Use gradients instead of colors

* QskBoxBorderColors: rename API

* render gradients on borders

* boxes example: Also draw gradient borders

* calculate proper numbers of needed border colors

* fixup with example

* support rounded corners

* support more colors in rounded color gradients

I THINK WE DON'T REALLY NEED THIS COMMIT

* We don't need this commit either

* Revert "We don't need this commit either"

This reverts commit 2dc38064f7fee1d0505262fe5cebcf9e1fb16cea.

* Revert "support more colors in rounded color gradients"

This reverts commit 5754d2d0773d8273d42ae1775b53d40f5e6af26a.

* fix borders for rect ellipses

* play around a bit

* small fixes

* some helper stuff and missing stuff

* user border colors

* close to something working somehow

* works a bit better

* put it into an own function

* rearrange a bit

* something's off

* still off, but seems like we need an additional line

* works but hackish

* now it works

* bring back samples

* correction

* pimp up example

* fix normal rendering

* some more debugging etc.

* turn around gradients

* turn around rectangular gradients as well

* turn around easier

* more test cases

* fix fill case

* more test cases

* clean up a bit

* clean up example

* clean up some more

* incorporate feedback from Uwe

* fix bug when using horizontal gradients
2022-02-04 16:11:11 +01:00
Uwe Rathmann
5bd66a27a8 QskRgbValue -> QskRgb 2020-08-15 13:29:17 +02:00
Uwe Rathmann
39f4d80153 QskRgbPalette added 2020-07-31 12:43:08 +02:00
Uwe Rathmann
416759f3c6 QskTabBar::autoFitTabs added 2020-03-13 14:50:09 +01:00
Uwe Rathmann
cbc5bb5b66 avoid name clashes with Windows includes 2019-09-27 06:43:13 +02:00
Uwe Rathmann
8add7e1b3a namespace added 2019-09-23 13:11:25 +02:00
Uwe Rathmann
9ba37738af tabbars for all edges ( left, right, top, bottom ) 2019-04-17 16:33:17 +02:00
Uwe Rathmann
0a92cb82db playing with clang-format 2018-08-03 08:15:28 +02:00
Uwe Rathmann
0b3315d231 compiler warnings fixed 2017-12-07 14:58:46 +01:00
Uwe Rathmann
f9565bdea1 rectangles renamed to boxes 2017-10-20 07:42:53 +02:00