#include "CursorManager.h"
#include <libg/ImageLoaders/PNGLoader.h>

#ifdef TARGET_DESKTOP
#define CURSOR_PATH "/res/system/arrow.png"
#elif TARGET_MOBILE
#define CURSOR_PATH "/res/system/mobile/cursor.png"
#endif

namespace WinServer {

CursorManager* s_WinServer_CursorManager_the = nullptr;

CursorManager::CursorManager()
    : m_screen(Screen::the())
{
    s_WinServer_CursorManager_the = this;
    LG::PNG::PNGLoader loader;
    m_std_cursor = loader.load_from_file(CURSOR_PATH);
}

} // namespace WinServer