add scaffolding in imperative shell to help update canvas width and height
This commit is contained in:
@@ -20,6 +20,7 @@ int KEY_I = GLFW_KEY_I;
|
||||
int KEY_L = GLFW_KEY_L;
|
||||
int KEY_O = GLFW_KEY_O;
|
||||
int KEY_A = GLFW_KEY_A;
|
||||
int KEY_W = GLFW_KEY_W;
|
||||
|
||||
int KEY_ENTER = GLFW_KEY_ENTER;
|
||||
int KEY_SPACE = GLFW_KEY_SPACE;
|
||||
|
||||
@@ -57,6 +57,8 @@ struct
|
||||
_symbol "KEY_O" public : ( unit -> int ) * ( int -> unit );
|
||||
val (KEY_A, _) =
|
||||
_symbol "KEY_A" public : ( unit -> int ) * ( int -> unit );
|
||||
val (KEY_W, _) =
|
||||
_symbol "KEY_W" public : ( unit -> int ) * ( int -> unit );
|
||||
|
||||
val (KEY_ENTER, _) =
|
||||
_symbol "KEY_ENTER" public : ( unit -> int ) * ( int -> unit );
|
||||
|
||||
Reference in New Issue
Block a user