cinera.c: Add Ko-fi as a default support platform

This commit is contained in:
Matt Mascarenhas 2022-10-13 20:21:48 +01:00
parent f321a6b6bf
commit 68d1469212
3 changed files with 6 additions and 1 deletions

View File

@ -23,7 +23,7 @@ typedef struct
version CINERA_APP_VERSION = { version CINERA_APP_VERSION = {
.Major = 0, .Major = 0,
.Minor = 10, .Minor = 10,
.Patch = 14 .Patch = 15
}; };
#define __USE_XOPEN2K8 // NOTE(matt): O_NOFOLLOW #define __USE_XOPEN2K8 // NOTE(matt): O_NOFOLLOW

View File

@ -2069,6 +2069,11 @@ SetDefaults(scope_tree *Root, memory_book *TypeSpecs)
PushDefaultIntPair(SupportGitHub, IDENT_ICON_VARIANTS, GetArtVariantFromString(Wrap0("normal"))); PushDefaultIntPair(SupportGitHub, IDENT_ICON_VARIANTS, GetArtVariantFromString(Wrap0("normal")));
PushDefaultPair(SupportGitHub, IDENT_URL, Wrap0("https://github.com/sponsors/$person")); PushDefaultPair(SupportGitHub, IDENT_URL, Wrap0("https://github.com/sponsors/$person"));
scope_tree *SupportKofi = PushDefaultScope(TypeSpecs, Root, IDENT_SUPPORT, Wrap0("kofi"));
PushDefaultPair(SupportKofi, IDENT_ICON, Wrap0("cinera_sprite_kofi.png"));
PushDefaultIntPair(SupportKofi, IDENT_ICON_TYPE, IT_GRAPHICAL);
PushDefaultPair(SupportKofi, IDENT_URL, Wrap0("https://ko-fi.com/$person"));
scope_tree *SupportSendOwl = PushDefaultScope(TypeSpecs, Root, IDENT_SUPPORT, Wrap0("sendowl")); scope_tree *SupportSendOwl = PushDefaultScope(TypeSpecs, Root, IDENT_SUPPORT, Wrap0("sendowl"));
PushDefaultPair(SupportSendOwl, IDENT_ICON, Wrap0("cinera_sprite_sendowl.png")); PushDefaultPair(SupportSendOwl, IDENT_ICON, Wrap0("cinera_sprite_sendowl.png"));

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB