#pragma once #include "uilayer.h" #include "bitmap_font.h" int textlayer_init(TextLayer* t, ID3D11Device* dev, BitmapFont* font, UILayer* ui); void textlayer_destroy(TextLayer* t); void textlayer_draw(TextLayer* t, ID3D11DeviceContext* ctx, const char* text, int x, int y, float r, float g, float b, float a, float screen_w, float screen_h);