mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-26 00:10:38 +01:00
Remove styles and add option to specify custom color output in RGB format
This commit is contained in:
@@ -1,17 +1,9 @@
|
||||
#ifndef __PRINTER__
|
||||
#define __PRINTER__
|
||||
|
||||
#include "args.h"
|
||||
#include "cpuid.h"
|
||||
|
||||
typedef int STYLE;
|
||||
#define STYLES_COUNT 3
|
||||
|
||||
#define STYLE_EMPTY -2
|
||||
#define STYLE_INVALID -1
|
||||
#define STYLE_DEFAULT 0
|
||||
#define STYLE_DARK 1
|
||||
#define STYLE_NONE 2
|
||||
|
||||
bool print_cpufetch(struct cpuInfo* cpu, struct cache* cach, struct frequency* freq, struct topology* topo, STYLE s);
|
||||
bool print_cpufetch(struct cpuInfo* cpu, struct cache* cach, struct frequency* freq, struct topology* topo, struct color* c1, struct color* c2);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user