opuntiaOS - an operating system targeting x86 and ARMv7
at master 31 lines 697 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#pragma once 10#include <libg/PixelBitmap.h> 11#include <libg/Point.h> 12 13namespace WinServer { 14 15class ResourceManager { 16public: 17 inline static ResourceManager& the() 18 { 19 extern ResourceManager* s_WinServer_ResourceManager_the; 20 return *s_WinServer_ResourceManager_the; 21 } 22 23 ResourceManager(); 24 25 inline const LG::PixelBitmap& background() const { return m_background; } 26 27private: 28 LG::PixelBitmap m_background; 29}; 30 31} // namespace WinServer