Magic_Game/core/Common/Font.cpp

17 lines
273 B
C++
Raw Normal View History

2018-05-22 22:00:47 +08:00
#include "..\e2dcommon.h"
e2d::Font::Font()
: family("")
, size(22)
2018-05-24 20:37:34 +08:00
, weight(Font::Weight::Normal)
2018-05-22 22:00:47 +08:00
, italic(false)
{
}
2018-07-28 20:06:27 +08:00
e2d::Font::Font(const String & family, float size, UINT weight, bool italic)
2018-05-22 22:00:47 +08:00
: family(family)
, size(size)
, weight(weight)
, italic(italic)
{
}