@@ -94,44 +94,44 @@ void UIGraph::drawSelf(const DrawPoolType drawPane)
9494 Point maxPoint (dest.left () - 10 , dest.top () + 0 );
9595 g_drawPool.rotate (maxPoint, rotationAngle);
9696 Rect maxRect (maxPoint.x - 50 , maxPoint.y - 8 , 100 , 16 );
97- m_font->drawText (m_maxValue, Rect (maxRect.x ()- 1 , maxRect.y ()- 1 , maxRect.width (), maxRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
98- m_font->drawText (m_maxValue, Rect (maxRect.x ()+ 1 , maxRect.y ()- 1 , maxRect.width (), maxRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
99- m_font->drawText (m_maxValue, Rect (maxRect.x ()- 1 , maxRect.y ()+ 1 , maxRect.width (), maxRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
100- m_font->drawText (m_maxValue, Rect (maxRect.x ()+ 1 , maxRect.y ()+ 1 , maxRect.width (), maxRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
101- m_font->drawText (m_maxValue, Rect (maxRect.x (), maxRect.y ()- 1 , maxRect.width (), maxRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
102- m_font->drawText (m_maxValue, Rect (maxRect.x (), maxRect.y ()+ 1 , maxRect.width (), maxRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
103- m_font->drawText (m_maxValue, Rect (maxRect.x ()- 1 , maxRect.y (), maxRect.width (), maxRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
104- m_font->drawText (m_maxValue, Rect (maxRect.x ()+ 1 , maxRect.y (), maxRect.width (), maxRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
97+ m_font->drawText (m_maxValue, Rect (maxRect.x () - 1 , maxRect.y () - 1 , maxRect.width (), maxRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
98+ m_font->drawText (m_maxValue, Rect (maxRect.x () + 1 , maxRect.y () - 1 , maxRect.width (), maxRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
99+ m_font->drawText (m_maxValue, Rect (maxRect.x () - 1 , maxRect.y () + 1 , maxRect.width (), maxRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
100+ m_font->drawText (m_maxValue, Rect (maxRect.x () + 1 , maxRect.y () + 1 , maxRect.width (), maxRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
101+ m_font->drawText (m_maxValue, Rect (maxRect.x (), maxRect.y () - 1 , maxRect.width (), maxRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
102+ m_font->drawText (m_maxValue, Rect (maxRect.x (), maxRect.y () + 1 , maxRect.width (), maxRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
103+ m_font->drawText (m_maxValue, Rect (maxRect.x () - 1 , maxRect.y (), maxRect.width (), maxRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
104+ m_font->drawText (m_maxValue, Rect (maxRect.x () + 1 , maxRect.y (), maxRect.width (), maxRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
105105 m_font->drawText (m_maxValue, maxRect, Color::lightGray, Fw::AlignCenter);
106106 g_drawPool.popTransformMatrix ();
107107
108108 g_drawPool.pushTransformMatrix ();
109109 Point minPoint (dest.left () - 10 , dest.bottom () - 0 );
110110 g_drawPool.rotate (minPoint, rotationAngle);
111111 Rect minRect (minPoint.x - 50 , minPoint.y - 8 , 100 , 16 );
112- m_font->drawText (m_minValue, Rect (minRect.x ()- 1 , minRect.y ()- 1 , minRect.width (), minRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
113- m_font->drawText (m_minValue, Rect (minRect.x ()+ 1 , minRect.y ()- 1 , minRect.width (), minRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
114- m_font->drawText (m_minValue, Rect (minRect.x ()- 1 , minRect.y ()+ 1 , minRect.width (), minRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
115- m_font->drawText (m_minValue, Rect (minRect.x ()+ 1 , minRect.y ()+ 1 , minRect.width (), minRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
116- m_font->drawText (m_minValue, Rect (minRect.x (), minRect.y ()- 1 , minRect.width (), minRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
117- m_font->drawText (m_minValue, Rect (minRect.x (), minRect.y ()+ 1 , minRect.width (), minRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
118- m_font->drawText (m_minValue, Rect (minRect.x ()- 1 , minRect.y (), minRect.width (), minRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
119- m_font->drawText (m_minValue, Rect (minRect.x ()+ 1 , minRect.y (), minRect.width (), minRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
112+ m_font->drawText (m_minValue, Rect (minRect.x () - 1 , minRect.y () - 1 , minRect.width (), minRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
113+ m_font->drawText (m_minValue, Rect (minRect.x () + 1 , minRect.y () - 1 , minRect.width (), minRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
114+ m_font->drawText (m_minValue, Rect (minRect.x () - 1 , minRect.y () + 1 , minRect.width (), minRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
115+ m_font->drawText (m_minValue, Rect (minRect.x () + 1 , minRect.y () + 1 , minRect.width (), minRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
116+ m_font->drawText (m_minValue, Rect (minRect.x (), minRect.y () - 1 , minRect.width (), minRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
117+ m_font->drawText (m_minValue, Rect (minRect.x (), minRect.y () + 1 , minRect.width (), minRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
118+ m_font->drawText (m_minValue, Rect (minRect.x () - 1 , minRect.y (), minRect.width (), minRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
119+ m_font->drawText (m_minValue, Rect (minRect.x () + 1 , minRect.y (), minRect.width (), minRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
120120 m_font->drawText (m_minValue, minRect, Color::lightGray, Fw::AlignCenter);
121121 g_drawPool.popTransformMatrix ();
122122
123123 g_drawPool.pushTransformMatrix ();
124124 Point avgPoint (dest.left () - 10 , dest.verticalCenter ());
125125 g_drawPool.rotate (avgPoint, rotationAngle);
126126 Rect avgRect (avgPoint.x - 50 , avgPoint.y - 8 , 100 , 16 );
127- m_font->drawText (m_avgValue, Rect (avgRect.x ()- 1 , avgRect.y ()- 1 , avgRect.width (), avgRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
128- m_font->drawText (m_avgValue, Rect (avgRect.x ()+ 1 , avgRect.y ()- 1 , avgRect.width (), avgRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
129- m_font->drawText (m_avgValue, Rect (avgRect.x ()- 1 , avgRect.y ()+ 1 , avgRect.width (), avgRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
130- m_font->drawText (m_avgValue, Rect (avgRect.x ()+ 1 , avgRect.y ()+ 1 , avgRect.width (), avgRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
131- m_font->drawText (m_avgValue, Rect (avgRect.x (), avgRect.y ()- 1 , avgRect.width (), avgRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
132- m_font->drawText (m_avgValue, Rect (avgRect.x (), avgRect.y ()+ 1 , avgRect.width (), avgRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
133- m_font->drawText (m_avgValue, Rect (avgRect.x ()- 1 , avgRect.y (), avgRect.width (), avgRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
134- m_font->drawText (m_avgValue, Rect (avgRect.x ()+ 1 , avgRect.y (), avgRect.width (), avgRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
127+ m_font->drawText (m_avgValue, Rect (avgRect.x () - 1 , avgRect.y () - 1 , avgRect.width (), avgRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
128+ m_font->drawText (m_avgValue, Rect (avgRect.x () + 1 , avgRect.y () - 1 , avgRect.width (), avgRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
129+ m_font->drawText (m_avgValue, Rect (avgRect.x () - 1 , avgRect.y () + 1 , avgRect.width (), avgRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
130+ m_font->drawText (m_avgValue, Rect (avgRect.x () + 1 , avgRect.y () + 1 , avgRect.width (), avgRect.height ()), Color (0 , 0 , 0 , 200 ), Fw::AlignCenter);
131+ m_font->drawText (m_avgValue, Rect (avgRect.x (), avgRect.y () - 1 , avgRect.width (), avgRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
132+ m_font->drawText (m_avgValue, Rect (avgRect.x (), avgRect.y () + 1 , avgRect.width (), avgRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
133+ m_font->drawText (m_avgValue, Rect (avgRect.x () - 1 , avgRect.y (), avgRect.width (), avgRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
134+ m_font->drawText (m_avgValue, Rect (avgRect.x () + 1 , avgRect.y (), avgRect.width (), avgRect.height ()), Color (0 , 0 , 0 , 150 ), Fw::AlignCenter);
135135 m_font->drawText (m_avgValue, avgRect, Color::lightGray, Fw::AlignCenter);
136136 g_drawPool.popTransformMatrix ();
137137 }
0 commit comments