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

37 lines
1.0 KiB
C++

/*
renderdesc.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 "gdi.h"
#include "rectangle.h"
namespace akui {
class cRenderDesc {
// ----------------------------------------------------------------------------------------------
// Xstruction
// ----------------------------------------------------------------------------------------------
public:
//! Default Constructor
cRenderDesc() {}
//! Destructor
virtual ~cRenderDesc() {}
// ----------------------------------------------------------------------------------------------
// Public Interface
// ----------------------------------------------------------------------------------------------
public:
//! draws on the passed in area according to the descriptor
virtual void draw(const cRect& area, GRAPHICS_ENGINE engine) const = 0;
};
} // namespace akui