Files
fastfetch/src/detection/font/font.h
T
2022-11-23 20:01:41 +08:00

26 lines
579 B
C

#pragma once
#ifndef FF_INCLUDED_detection_font_font
#define FF_INCLUDED_detection_font_font
#include "fastfetch.h"
#define FF_DETECT_FONT_NUM_FONTS 4
typedef struct FFFontResult
{
FFstrbuf error;
/**
* Linux / BSD: QT, GTK2, GTK3, GTK4
* MacOS: System, User, System Mono, User Mono
* Windows: Caption, Menu, Message, Status
* Other: Unset, Unset, Unset, Unset
*/
FFstrbuf fonts[FF_DETECT_FONT_NUM_FONTS];
} FFFontResult;
const FFFontResult* ffDetectFont(const FFinstance* instance);
#endif