File: Tricks.cpp

package info (click to toggle)
hyprtoolkit 0.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,664 kB
  • sloc: cpp: 11,582; xml: 337; sh: 17; makefile: 4
file content (18 lines) | stat: -rw-r--r-- 604 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "Tricks.hpp"
#include "core/AnimationManager.hpp"
#include <core/InternalBackend.hpp>
#include <palette/ConfigManager.hpp>
#include <system/Icons.hpp>

using namespace Hyprtoolkit::Tests::Tricks;
using namespace Hyprtoolkit::Tests;
using namespace Hyprutils::Memory;

void Tricks::createBackendSupport() {
    g_logger = makeShared<CLogger>();
    g_config = makeShared<CConfigManager>();
    g_config->parse();
    g_palette          = CPalette::palette();
    g_iconFactory      = SP<CSystemIconFactory>(new CSystemIconFactory());
    g_animationManager = makeShared<CHTAnimationManager>();
}