mirror of
https://github.com/coderkei/akmenu-next.git
synced 2025-06-19 01:15:32 -04:00
37 lines
1.0 KiB
C++
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
|