mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-29 03:29:58 +02:00
[Graph] clean the function cell
Change-Id: I91b5c3754367aef9b58d108bf90f96e3f036f595
This commit is contained in:
committed by
Romain Goyet
parent
4b88baebec
commit
091fbd8d72
@@ -14,12 +14,7 @@ void FunctionCell::drawRect(KDContext * ctx, KDRect rect) const {
|
||||
KDColor background = m_even ? KDColor(0xEEEEEE) : KDColor(0x777777);
|
||||
ctx->fillRect(rect, background);
|
||||
ctx->drawString(m_function->text(), KDPointZero, m_focused);
|
||||
m_function->layout()->draw(ctx, KDPointZero);
|
||||
//Expression * foo = Expression::parse("1+2/3");
|
||||
//ExpressionLayout * fooLayout = foo->createLayout();
|
||||
//fooLayout->draw(ctx, KDPointZero);
|
||||
//delete fooLayout;
|
||||
//delete foo;
|
||||
// m_function->layout()->draw(ctx, KDPointZero);
|
||||
}
|
||||
|
||||
void FunctionCell::setFunction(Graph::Function * f) {
|
||||
|
||||
Reference in New Issue
Block a user