X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=bigscreen%2Ffonts.h;h=eb7b6fa6cde447ad0ae87bfa3e24545aef696730;hp=b465aa1ff859d591c35f24783eaf9fa4df4b156b;hb=33798d738eb88b893f21818275c2f0f4b7f7562e;hpb=88b3ef1f363e8181e7eb04e24f1646fe9782bb44 diff --git a/bigscreen/fonts.h b/bigscreen/fonts.h index b465aa1..eb7b6fa 100644 --- a/bigscreen/fonts.h +++ b/bigscreen/fonts.h @@ -15,6 +15,7 @@ struct TextDefer { }; void init_freetype(); +void set_screen_size(unsigned width, unsigned height); unsigned my_draw_text(const widestring &str, unsigned char *buf, double size, int xpos = 0, int ypos = 0, int r = 255, int g = 255, int b = 255); // draw_all_deferred_text draws every string in current that is not the same in old, in red