mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
partial revert: "CTextBox: expand parameters of member setTextBorderWidth()"
related commit: 153d2f3c78
Since this commit, TextBox received a lot of optimizations, so it is possible
we have no described side effects.
This commit is contained in:
@@ -92,10 +92,7 @@ void CComponentsText::initVarText( const int x_pos, const int y_pos, const int w
|
|||||||
width = width_old = w;
|
width = width_old = w;
|
||||||
height = height_old = h;
|
height = height_old = h;
|
||||||
|
|
||||||
/* we need a minimal borderwith of 1px because the edge-smoothing
|
ct_text_Hborder = 0;
|
||||||
(or fontrenderer?) otherwise will paint single pixels outside the
|
|
||||||
defined area. e.g. 'j' is leaving such residues */
|
|
||||||
ct_text_Hborder = 1;
|
|
||||||
ct_text_Vborder = 0;
|
ct_text_Vborder = 0;
|
||||||
|
|
||||||
shadow = shadow_mode;
|
shadow = shadow_mode;
|
||||||
|
Reference in New Issue
Block a user