package lablgl
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type glut_get_t =
| WINDOW_X
| WINDOW_Y
| WINDOW_WIDTH
| WINDOW_HEIGHT
| WINDOW_BUFFER_SIZE
| WINDOW_STENCIL_SIZE
| WINDOW_DEPTH_SIZE
| WINDOW_RED_SIZE
| WINDOW_GREEN_SIZE
| WINDOW_BLUE_SIZE
| WINDOW_ALPHA_SIZE
| WINDOW_ACCUM_RED_SIZE
| WINDOW_ACCUM_GREEN_SIZE
| WINDOW_ACCUM_BLUE_SIZE
| WINDOW_ACCUM_ALPHA_SIZE
| WINDOW_DOUBLEBUFFER
| WINDOW_RGBA
| WINDOW_PARENT
| WINDOW_NUM_CHILDREN
| WINDOW_COLORMAP_SIZE
| WINDOW_NUM_SAMPLES
| WINDOW_STEREO
| WINDOW_CURSOR
| SCREEN_WIDTH
| SCREEN_HEIGHT
| SCREEN_WIDTH_MM
| SCREEN_HEIGHT_MM
| MENU_NUM_ITEMS
| INIT_WINDOW_X
| INIT_WINDOW_Y
| INIT_WINDOW_WIDTH
| INIT_WINDOW_HEIGHT
| INIT_DISPLAY_MODE
| ELAPSED_TIME
| WINDOW_FORMAT_ID
type device_get_t =
| HAS_KEYBOARD
| HAS_MOUSE
| HAS_SPACEBALL
| HAS_DIAL_AND_BUTTON_BOX
| HAS_TABLET
| NUM_MOUSE_BUTTONS
| NUM_SPACEBALL_BUTTONS
| NUM_BUTTON_BOX_BUTTONS
| NUM_DIALS
| NUM_TABLET_BUTTONS
| DEVICE_IGNORE_KEY_REPEAT
| DEVICE_KEY_REPEAT
| HAS_JOYSTICK
| OWNS_JOYSTICK
| JOYSTICK_BUTTONS
| JOYSTICK_AXES
| JOYSTICK_POLL_RATE
type cursor_t =
| CURSOR_RIGHT_ARROW
| CURSOR_LEFT_ARROW
| CURSOR_INFO
| CURSOR_DESTROY
| CURSOR_HELP
| CURSOR_CYCLE
| CURSOR_SPRAY
| CURSOR_WAIT
| CURSOR_TEXT
| CURSOR_CROSSHAIR
| CURSOR_UP_DOWN
| CURSOR_LEFT_RIGHT
| CURSOR_TOP_SIDE
| CURSOR_BOTTOM_SIDE
| CURSOR_LEFT_SIDE
| CURSOR_RIGHT_SIDE
| CURSOR_TOP_LEFT_CORNER
| CURSOR_TOP_RIGHT_CORNER
| CURSOR_BOTTOM_RIGHT_CORNER
| CURSOR_BOTTOM_LEFT_CORNER
| CURSOR_INHERIT
| CURSOR_NONE
| CURSOR_FULL_CROSSHAIR
val setCursor : cursor_t -> unit
val useLayer : layer_t -> unit
val attachMenu : button:button_t -> unit
val detachMenu : button:button_t -> unit
val mouseFunc :
cb:(button:button_t -> state:mouse_button_state_t -> x:int -> y:int -> unit) ->
unit
val entryFunc : cb:(state:entry_exit_state_t -> unit) -> unit
val visibilityFunc : cb:(state:visibility_state_t -> unit) -> unit
val specialFunc : cb:(key:special_key_t -> x:int -> y:int -> unit) -> unit
val get : gtype:glut_get_t -> int
val getBool : gtype:glut_get_bool_t -> bool
val deviceGet : dgtype:device_get_t -> int
val layerGetInUse : unit -> layer_t
val layerGet : lgtype:layerget_t -> bool
val bitmapCharacter : font:font_t -> c:int -> unit
val bitmapWidth : font:font_t -> c:int -> int
val strokeCharacter : font:font_t -> c:int -> unit
val strokeWidth : font:font_t -> c:int -> int
val gameModeGet : mode:game_mode_t -> int
val bitmapLength : font:font_t -> str:string -> int
val strokeLength : font:font_t -> str:string -> int
val windowStatusFunc : cb:(state:window_status_t -> unit) -> unit
val specialUpFunc : cb:(key:special_key_t -> x:int -> y:int -> unit) -> unit
val setKeyRepeat : mode:key_repeat_t -> unit
val videoResizeGet : video_resize_t -> int
val string_of_button : button_t -> string
val string_of_button_state : mouse_button_state_t -> string
val string_of_special : special_key_t -> string
val string_of_window_status : window_status_t -> string
val string_of_vis_state : visibility_state_t -> string
val string_of_cursor : cursor_t -> string
val int_of_cursor : cursor_t -> int
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>