Added crude input API between platform layer and plugin. Added manual refresh to prevent CPU from blowing up. Added last rendered value to window title.

This commit is contained in:
Michael Smith
2019-02-06 10:32:31 +01:00
parent 0e5ce7ec07
commit 2f6c88f435
6 changed files with 59 additions and 12 deletions

View File

@@ -19,4 +19,11 @@ struct plugin_offscreen_buffer
int Pitch;
};
struct plugin_input
{
uint32_t MouseX;
uint32_t MouseY;
bool MouseDown;
};
#endif