1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-21 17:28:00 +02:00

wasm improvements

This commit is contained in:
Brian Fiete 2022-03-24 11:59:00 -07:00
parent 17b29c7227
commit 474454382f
6 changed files with 257 additions and 22 deletions

View file

@ -0,0 +1,32 @@
using System.Collections;
namespace SDL2
{
class BitmapFont
{
public class Page
{
public Image mImage ~ delete _;
}
public struct CharData
{
public int32 mX;
public int32 mY;
public int32 mWidth;
public int32 mHeight;
public int32 mXOfs;
public int32 mYOfs;
public int32 mXAdvance;
public int32 mPage;
}
public List<Page> mPages = new .() ~ DeleteContainerAndItems!(_);
public List<CharData> mCharData = new .() ~ delete _;
public this()
{
}
}
}