akmenu-next/arm9/source/calendarwnd.h
2024-10-13 02:11:14 -07:00

37 lines
640 B
C++

/*
calendarwnd.h
Copyright (C) 2007 Acekard, www.acekard.com
Copyright (C) 2007-2009 somebody
Copyright (C) 2009 yellow wood goblin
SPDX-License-Identifier: GPL-3.0-or-later
*/
#pragma once
#include <nds.h>
#include "form.h"
#include "singleton.h"
class cCalendarWnd : public akui::cForm {
public:
cCalendarWnd();
~cCalendarWnd();
public:
cWindow& loadAppearance(const std::string& aFileName);
void init();
void draw();
protected:
cBMP15 _background;
};
typedef t_singleton<cCalendarWnd> calendarWnd_s;
inline cCalendarWnd& calendarWnd() {
return calendarWnd_s::instance();
}