AyuGramDesktop/Telegram/SourceFiles/ayu/ui/ayu_assets.h

30 lines
639 B
C++

// This is the source code of AyuGram for Desktop.
//
// We do not and cannot prevent the use of our code,
// but be respectful and credit the original author.
//
// Copyright @Radolyn, 2023
#pragma once
#define ICON(name, value) const auto name##_ICON = QStringLiteral(value)
namespace AyuAssets {
ICON(DEFAULT, "default");
ICON(ALT, "alt");
ICON(DISCORD, "discord");
ICON(SPOTIFY, "spotify");
ICON(EXTERA, "extera");
ICON(NOTHING, "nothing");
ICON(BARD, "bard");
ICON(YAPLUS, "yaplus");
void loadAppIco();
QImage loadPreview(QString name);
QString currentAppLogoName();
QImage currentAppLogo();
QImage currentAppLogoNoMargin();
}