mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-26 00:10:38 +01:00
Add two different styles. The old one is now called retro, and the new one, which is the default, is called fancy
This commit is contained in:
@@ -1,9 +1,18 @@
|
||||
#ifndef __PRINTER__
|
||||
#define __PRINTER__
|
||||
|
||||
typedef int STYLE;
|
||||
|
||||
#include "args.h"
|
||||
#include "cpuid.h"
|
||||
|
||||
bool print_cpufetch(struct cpuInfo* cpu, struct cache* cach, struct frequency* freq, struct topology* topo, struct color* c1, struct color* c2);
|
||||
#define STYLES_COUNT 2
|
||||
|
||||
#define STYLE_INVALID -2
|
||||
#define STYLE_EMPTY -1
|
||||
#define STYLE_FANCY 0
|
||||
#define STYLE_RETRO 1
|
||||
|
||||
bool print_cpufetch(struct cpuInfo* cpu, struct cache* cach, struct frequency* freq, struct topology* topo, STYLE s, struct color* c1, struct color* c2);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user