mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-28 18:29:49 +02:00
error_ui: wrap text and change message box height to fit
Stops banned user message overflowing out of message box
This commit is contained in:
@@ -99,6 +99,7 @@ void textnpos(char *s, int n, int w, int *cx, int *cy);
|
||||
int textwidthx(char *s, int w);
|
||||
|
||||
int textposxy(char *s, int width, int w, int h);
|
||||
int textwrapheight(char *s, int width);
|
||||
|
||||
#if defined(WIN32) && !defined(__GNUC__)
|
||||
_inline void blendpixel(pixel *vid, int x, int y, int r, int g, int b, int a);
|
||||
|
Reference in New Issue
Block a user