Commit 5f5cad00 authored by Fredrik Edemar's avatar Fredrik Edemar

Rename dicke0 in XParser to linewidth0.


CCMAIL:kdmoeller@foni.net
CCMAIL:bmlmessmer@web.de

svn path=/trunk/kdeedu/kmplot/; revision=321530
parent 6a160061
......@@ -1105,7 +1105,7 @@ void View::setScaling()
void View::getSettings()
{
m_parser->setAngleMode( Settings::anglemode() );
m_parser->dicke0 = Settings::gridLineWidth();
m_parser->linewidth0 = Settings::gridLineWidth();
m_parser->fktext[ 0 ].color0 = Settings::color0().rgb();
m_parser->fktext[ 1 ].color0 = Settings::color1().rgb();
m_parser->fktext[ 2 ].color0 = Settings::color2().rgb();
......
......@@ -89,7 +89,7 @@ void EditFunction::clearWidgets()
editfunctionpage->customRange->setChecked( false );
editfunctionpage->min->clear();
editfunctionpage->max->clear();
editfunctionpage->lineWidth->setValue( m_parser->dicke0 );
editfunctionpage->lineWidth->setValue( m_parser->linewidth0 );
editfunctionpage->color->setColor( m_parser->fktext[ m_parser->getNextIndex() ].color0 );
// Clear the Derivatives page
......
......@@ -63,7 +63,7 @@ void KEditParametric::clearWidgets()
checkBoxRange->setChecked( false );
min->clear();
max->clear();
kIntNumInputLineWidth->setValue( m_parser->dicke0 );
kIntNumInputLineWidth->setValue( m_parser->linewidth0 );
kColorButtonColor->setColor( m_parser->fktext[ m_parser->getNextIndex() ].color0 );
}
......
......@@ -61,7 +61,7 @@ void KEditPolar::clearWidgets()
checkBoxRange->setChecked( false );
min->clear();
max->clear();
kIntNumInputLineWidth->setValue( m_parser->dicke0 );
kIntNumInputLineWidth->setValue( m_parser->linewidth0 );
kColorButtonColor->setColor( m_parser->fktext[ m_parser->getNextIndex() ].color0 );
}
......
......@@ -162,7 +162,7 @@ int XParser::delfkt( int ix )
return -1;
fktext[ ix ].f_mode = fktext[ ix ].f1_mode = fktext[ ix ].f2_mode = fktext[ ix ].anti_mode = 0;
fktext[ ix ].linewidth = dicke0;
fktext[ ix ].linewidth = linewidth0;
fktext[ ix ].k_anz = 0;
fktext[ ix ].dmin = fktext[ ix ].dmax = 0.;
fktext[ ix ].extstr = ""; //.resize(1);
......
......@@ -61,7 +61,7 @@ public:
/// calculate euler's method when drawing a numeric prime-function
void euler_method(double &, double &, const int &);
/// Line width default
int dicke0;
int linewidth0;
///Return an unused functionname
char findFunctionName();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment