progress towards toggling graph
This commit is contained in:
@@ -4,8 +4,10 @@
|
||||
int PRESS = GLFW_PRESS;
|
||||
int RELEASE = GLFW_RELEASE;
|
||||
int LEFT_MOUSE_BUTTON = GLFW_MOUSE_BUTTON_1;
|
||||
int KEY_Z = GLFW_KEY_Z;
|
||||
|
||||
int KEY_G = GLFW_KEY_G;
|
||||
int KEY_Y = GLFW_KEY_Y;
|
||||
int KEY_Z = GLFW_KEY_Z;
|
||||
|
||||
// Calls function exported from SML
|
||||
void mouseMoveCallback(GLFWwindow *window, double xpos, double ypos) {
|
||||
|
||||
@@ -31,8 +31,10 @@ struct
|
||||
_export "mltonKeyCallback" public : (int * int * int * int -> unit) -> unit;
|
||||
val setKeyCallback = _import "setKeyCallback" public reentrant : window -> unit;
|
||||
|
||||
val (KEY_Z, _) =
|
||||
_symbol "KEY_Z" public : ( unit -> int ) * ( int -> unit );
|
||||
val (KEY_G, _) =
|
||||
_symbol "KEY_G" public : ( unit -> int ) * ( int -> unit );
|
||||
val (KEY_Y, _) =
|
||||
_symbol "KEY_Y" public : ( unit -> int ) * ( int -> unit );
|
||||
val (KEY_Z, _) =
|
||||
_symbol "KEY_Z" public : ( unit -> int ) * ( int -> unit );
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user