@@ -1297,11 +1297,11 @@ var LibraryGLFW = {
1297
1297
glfwGetMonitorWorkarea : function ( monitor , x , y , w , h ) {
1298
1298
{ { { makeSetValue ( 'x' , '0' , '0' , 'i32' ) } } } ;
1299
1299
{ { { makeSetValue ( 'y' , '0' , '0' , 'i32' ) } } } ;
1300
-
1300
+
1301
1301
{ { { makeSetValue ( 'w' , '0' , 'screen.availWidth' , 'i32' ) } } } ;
1302
1302
{ { { makeSetValue ( 'h' , '0' , 'screen.availHeight' , 'i32' ) } } } ;
1303
1303
} ,
1304
-
1304
+
1305
1305
glfwGetMonitorPhysicalSize__sig : 'viii' ,
1306
1306
glfwGetMonitorPhysicalSize : function ( monitor , width , height ) {
1307
1307
// AFAIK there is no way to do this in javascript
@@ -1374,7 +1374,7 @@ var LibraryGLFW = {
1374
1374
// Some hints are platform specific. These may be set on any platform but they
1375
1375
// will only affect their specific platform. Other platforms will ignore them.
1376
1376
} ,
1377
-
1377
+
1378
1378
glfwCreateWindow__sig : 'iiiiii' ,
1379
1379
glfwCreateWindow : function ( width , height , title , monitor , share ) {
1380
1380
return GLFW . createWindow ( width , height , title , monitor , share ) ;
@@ -1447,7 +1447,7 @@ var LibraryGLFW = {
1447
1447
glfwGetWindowContentScale__sig : 'viii' ,
1448
1448
glfwGetWindowContentScale : function ( winid , x , y ) {
1449
1449
// winid doesn't matter. all windows will use same scale anyway.
1450
- // hope i used this makeSetValue correctly
1450
+ // hope i used this makeSetValue correctly
1451
1451
{ { { makeSetValue ( 'x' , '0' , 'GLFW.scale' , 'float' ) } } } ;
1452
1452
{ { { makeSetValue ( 'y' , '0' , 'GLFW.scale' , 'float' ) } } } ;
1453
1453
} ,
@@ -1502,7 +1502,7 @@ var LibraryGLFW = {
1502
1502
if ( ! win ) return ;
1503
1503
win . attributes [ attrib ] = value ;
1504
1504
} ,
1505
-
1505
+
1506
1506
glfwSetWindowUserPointer__sig : 'vii' ,
1507
1507
glfwSetWindowUserPointer : function ( winid , ptr ) {
1508
1508
var win = GLFW . WindowFromId ( winid ) ;
@@ -1660,7 +1660,7 @@ var LibraryGLFW = {
1660
1660
1661
1661
glfwGetKeyScancode__sig : 'ii' ,
1662
1662
glfwGetKeyScancode : function ( key ) { throw "glfwGetKeyScancode not implemented." ; } ,
1663
-
1663
+
1664
1664
glfwGetMouseButton__sig : 'iii' ,
1665
1665
glfwGetMouseButton : function ( winid , button ) {
1666
1666
return GLFW . getMouseButton ( winid , button ) ;
@@ -1799,12 +1799,12 @@ var LibraryGLFW = {
1799
1799
glfwSetJoystickUserPointer : function ( jid , ptr ) {
1800
1800
throw "glfwSetJoystickUserPointer not implemented" ;
1801
1801
} ,
1802
-
1802
+
1803
1803
glfwGetJoystickUserPointer__sig : 'ii' ,
1804
1804
glfwGetJoystickUserPointer : function ( jid ) {
1805
1805
throw "glfwSetJoystickUserPointer not implemented" ;
1806
1806
} ,
1807
-
1807
+
1808
1808
glfwJoystickIsGamepad__sig : 'ii' ,
1809
1809
glfwJoystickIsGamepad : function ( jid ) {
1810
1810
throw "glfwSetJoystickUserPointer not implemented" ;
0 commit comments