mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-21 14:50:44 +01:00
19 lines
330 B
C++
19 lines
330 B
C++
#include "function_cell.h"
|
|
|
|
constexpr KDColor FunctionCell::k_desactiveTextColor;
|
|
|
|
FunctionCell::FunctionCell() :
|
|
EvenOddCell(),
|
|
m_function(nullptr)
|
|
{
|
|
}
|
|
|
|
void FunctionCell::setFunction(Graph::Function * f) {
|
|
m_function = f;
|
|
markRectAsDirty(bounds());
|
|
}
|
|
|
|
Graph::Function * FunctionCell::function() {
|
|
return m_function;
|
|
}
|