utils: Añadidas las funciones darkenColor y lightenColor
This commit is contained in:
@@ -201,4 +201,10 @@ bool colorAreEqual(color_t color1, color_t color2);
|
||||
// Inicializa la estructura de opciones
|
||||
void initOptions(options_t *options);
|
||||
|
||||
// Oscurece un color
|
||||
color_t darkenColor(color_t color, int amount);
|
||||
|
||||
// Aclara un color
|
||||
color_t lightenColor(color_t color, int amount);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user