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:
2016-12-22 09:49:40 +01:00
parent f26103cd65
commit fad2adffa2

View File

@@ -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;