rewrote logo code

This commit is contained in:
Linus Dierheimer
2021-06-13 14:23:35 +02:00
parent 32f520bf3b
commit 3ce12dfc47
9 changed files with 595 additions and 509 deletions
+2 -2
View File
@@ -10,8 +10,8 @@ int main(int argc, char** argv)
ffInitInstance(&instance); //This also applys default configuration to instance.config
//Configuration
ffLoadLogoSet(&instance.config, FASTFETCH_BUILD_DISTRIBUTION_ID);
ffStrbufSetS(&instance.config.color, instance.config.logo.color); //Use the primary color of the logo as key color
ffLoadLogoSet(&instance, FASTFETCH_BUILD_DISTRIBUTION_ID);
ffStrbufSetS(&instance.config.color, instance.config.logo.colors[0]); //Use the primary color of the logo as key color
//Multithreading --> better performance
ffStartCalculationThreads(&instance);