Added plugin support for drawing messages to screen.

- Either a single string will be drawn to screen, or nothing will be drawn.
 - Intelligently registers and unregisters drawing callback to minimize overhead when no message is being displayed.
 - Currently does not support newline characters (\r or \n). Newlines will cause text to be drawn overlapped.
This commit is contained in:
Jason Watkins
2015-04-07 14:47:57 -07:00
parent 38ae9e699d
commit 453ea65619
7 changed files with 124 additions and 2 deletions

8
xpcPlugin/xpcDrawing.h Normal file
View File

@@ -0,0 +1,8 @@
#ifndef xpcDrawing_h
#define xpcDrawing_h
void XPCClearMessage();
void XPCSetMessage(int x, int y, char* msg);
#endif