mirror of
https://github.com/glest/glest-source.git
synced 2025-09-28 08:29:00 +02:00
34 lines
747 B
C++
34 lines
747 B
C++
// ==============================================================
|
|
// This file is part of MegaGlest Shared Library (www.megaglest.org)
|
|
//
|
|
// Copyright (C) 2012 Mark Vejvoda, Titus Tscharntke
|
|
// The Megaglest Team, under GNU GPL v3.0
|
|
// ==============================================================
|
|
|
|
#ifndef _SHARED_D3D9_FONTD3D9_H_
|
|
#define _SHARED_D3D9_FONTD3D9_H_
|
|
|
|
#include "font.h"
|
|
|
|
#include <d3dx9.h>
|
|
|
|
namespace Shared{ namespace Graphics{ namespace D3d9{
|
|
|
|
// ===============================
|
|
// class FontD3d9
|
|
// ===============================
|
|
|
|
class Font2DD3d9: public Font2D{
|
|
private:
|
|
LPD3DXFONT d3dFont;
|
|
|
|
public:
|
|
LPD3DXFONT getD3dFont() const {return d3dFont;}
|
|
virtual void init();
|
|
virtual void end();
|
|
};
|
|
|
|
}}}//end namespace
|
|
|
|
#endif
|