[client] ds: refactor app and cursor state into app.c and core.c

This commit is contained in:
Geoffrey McRae committed 2021-02-21 10:31:48 +11:00
1 parent 33fed48277
commit 4e1c0cc0d0
7 files changed
+210 -219

No files matched your search

+4
View File
@@ -22,6 +22,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
#include <stdbool.h>
bool core_inputEnabled(void);
void core_setCursorInView(bool enable);
void core_setGrab(bool enable);
void core_setGrabQuiet(bool enable);
@@ -31,5 +32,8 @@ void core_alignToGuest(void);
bool core_isValidPointerPos(int x, int y);
bool core_startFrameThread(void);
void core_stopFrameThread(void);
void core_handleMouseGrabbed(double ex, double ey);
void core_handleMouseNormal(double ex, double ey);
#endif