Home My Page Projects Code Snippets Project Openings 3D graphics for Standard ML
Summary Activity SCM

SCM Repository

[sml3d] Diff of /trunk/sml3d/src/glfw/glfw-sig.sml
ViewVC logotype

Diff of /trunk/sml3d/src/glfw/glfw-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1479, Sun Feb 22 14:53:47 2015 UTC revision 1480, Mon Feb 23 19:50:24 2015 UTC
# Line 232  Line 232 
232         * window has one.         * window has one.
233         * [glfwGetWindowFrameSize]         * [glfwGetWindowFrameSize]
234         *)         *)
235          val frameSize : window -> {left, right, top, bottom}          val frameSize : window -> {left : int, right : int, top : int, bottom : int}
236    
237        (* window state callbacks *)        (* window state callbacks *)
238          val setPositionCallback : (window * (window * pos2i -> unit) option) -> unit          val setPositionCallback : (window * (window * pos2i -> unit) option) -> unit
# Line 488  Line 488 
488          val pos : window -> pos2d          val pos : window -> pos2d
489          val setPos : window * pos2d -> unit          val setPos : window * pos2d -> unit
490    
491          val create : ??        (* create a new custom cursor from a 2D RGBA image *)
492          val createStandard : ??          val create : (Word8.word * Word8.word * Word8.word * Word8.word) Image.image2D * pos2i -> t
493    
494            val createStandard : std_cursor -> t
495    
496          val destroy : t -> unit          val destroy : t -> unit
497    
498          val set : window * t -> unit          val set : window * t -> unit
499    
500        (* [glfwGetInputMode, glfwSetInputMode] *)        (* [glfwGetInputMode, glfwSetInputMode] *)

Legend:
Removed from v.1479  
changed lines
  Added in v.1480

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0