|
|
@ -347,7 +347,7 @@ KLed::paintRound() // paint a ROUND RAISED led lamp
|
|
|
|
paint.drawEllipse( 1, 1, width, width );
|
|
|
|
paint.drawEllipse( 1, 1, width, width );
|
|
|
|
|
|
|
|
|
|
|
|
// Draw the bright light spot of the LED now, using modified "old"
|
|
|
|
// Draw the bright light spot of the LED now, using modified "old"
|
|
|
|
// painter routine taken from KDEUI<EFBFBD>s KLed widget:
|
|
|
|
// painter routine taken from TDEUI<EFBFBD>s KLed widget:
|
|
|
|
|
|
|
|
|
|
|
|
// Setting the new width of the pen is essential to avoid "pixelized"
|
|
|
|
// Setting the new width of the pen is essential to avoid "pixelized"
|
|
|
|
// shadow like it can be observed with the old LED code
|
|
|
|
// shadow like it can be observed with the old LED code
|
|
|
@ -467,7 +467,7 @@ KLed::paintSunken() // paint a ROUND SUNKEN led lamp
|
|
|
|
paint.drawEllipse( scale, scale, width - scale*2, width - scale*2 );
|
|
|
|
paint.drawEllipse( scale, scale, width - scale*2, width - scale*2 );
|
|
|
|
|
|
|
|
|
|
|
|
// Draw the bright light spot of the LED now, using modified "old"
|
|
|
|
// Draw the bright light spot of the LED now, using modified "old"
|
|
|
|
// painter routine taken from KDEUI<EFBFBD>s KLed widget:
|
|
|
|
// painter routine taken from TDEUI<EFBFBD>s KLed widget:
|
|
|
|
|
|
|
|
|
|
|
|
// Setting the new width of the pen is essential to avoid "pixelized"
|
|
|
|
// Setting the new width of the pen is essential to avoid "pixelized"
|
|
|
|
// shadow like it can be observed with the old LED code
|
|
|
|
// shadow like it can be observed with the old LED code
|
|
|
|