opuntiaOS - an operating system targeting x86 and ARMv7
at master 600 B view raw
1/* 2 * Copyright (C) 2020-2022 The opuntiaOS Project Authors. 3 * + Contributed by Nikita Melekhin <nimelehin@gmail.com> 4 * 5 * Use of this source code is governed by a BSD-style license that can be 6 * found in the LICENSE file. 7 */ 8 9#include "ResourceManager.h" 10#include <libg/ImageLoaders/PNGLoader.h> 11 12namespace WinServer { 13 14ResourceManager* s_WinServer_ResourceManager_the = nullptr; 15 16ResourceManager::ResourceManager() 17{ 18 s_WinServer_ResourceManager_the = this; 19 LG::PNG::PNGLoader loader; 20 m_background = loader.load_from_file("/res/wallpapers/new_year.png"); 21} 22 23} // namespace WinServer