Added a color menu in graph and list

This commit is contained in:
Joachim LF
2020-12-29 19:56:21 +01:00
parent e9b35efe16
commit f7210e5a20
11 changed files with 227 additions and 49 deletions

View File

@@ -46,6 +46,10 @@ void Function::setActive(bool active) {
recordData()->setActive(active);
}
void Function::setColor(KDColor color) {
recordData()->setColor(color);
}
int Function::printValue(double cursorT, double cursorX, double cursorY, char * buffer, int bufferSize, int precision, Poincare::Context * context) {
return PoincareHelpers::ConvertFloatToText<double>(cursorY, buffer, bufferSize, precision);
}