2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

New logo and option to change icon

This commit is contained in:
RadRussianRus
2020-03-18 03:37:33 +03:00
parent b119ce78fd
commit 13928807b5
93 changed files with 119 additions and 28 deletions

View File

@@ -98,9 +98,29 @@ Application::Application(not_null<Launcher*> launcher)
, _emojiKeywords(std::make_unique<ChatHelpers::EmojiKeywords>())
, _audio(std::make_unique<Media::Audio::Instance>())
, _logo(Window::LoadLogo())
, _logoNoMargin(Window::LoadLogoNoMargin()) {
, _logoBlue(Window::LoadLogo(1))
, _logoGreen(Window::LoadLogo(2))
, _logoOrange(Window::LoadLogo(3))
, _logoRed(Window::LoadLogo(4))
, _logoOld(Window::LoadLogo(5))
, _logoNoMargin(Window::LoadLogoNoMargin())
, _logoNoMarginBlue(Window::LoadLogoNoMargin(1))
, _logoNoMarginGreen(Window::LoadLogoNoMargin(2))
, _logoNoMarginOrange(Window::LoadLogoNoMargin(3))
, _logoNoMarginRed(Window::LoadLogoNoMargin(4))
, _logoNoMarginOld(Window::LoadLogoNoMargin(5)) {
Expects(!_logo.isNull());
Expects(!_logoBlue.isNull());
Expects(!_logoGreen.isNull());
Expects(!_logoOrange.isNull());
Expects(!_logoRed.isNull());
Expects(!_logoOld.isNull());
Expects(!_logoNoMargin.isNull());
Expects(!_logoNoMarginBlue.isNull());
Expects(!_logoNoMarginGreen.isNull());
Expects(!_logoNoMarginOrange.isNull());
Expects(!_logoNoMarginRed.isNull());
Expects(!_logoNoMarginOld.isNull());
Ui::Integration::Set(&_private->uiIntegration);