mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/graph] Added a color menu in graph and list (#189)
* Revert "[github/workflows] Update Metrics to remove NumWorksBot" This reverts commit110f333122. * Added a color menu in graph and list * Fixed color select display issue and build issue * Changed color_cell to a circle * Revert "Changed color_cell to a circle" This reverts commit28dddb42af. * Color_cell with mask * Fixed build issue * Color selection : Added right handle and color name display in menu * Fixed constexpr static colorMask * Changed font in color_parameter_controller * Fix building without debug * Re-Fix building without debug * Update colors Co-authored-by: Hugo Saint-Vignes <hugo.saint-vignes@numworks.com> Co-authored-by: Joachim LF <joachimlf@pm.me>
This commit is contained in:
@@ -55,6 +55,10 @@ void Function::setActive(bool 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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user