class Prism::Adapter::GLFW::Window
- Prism::Adapter::GLFW::Window
- RenderLoop::Window(CrystGLFW::Key, CrystGLFW::MouseButton)
- Reference
- Object
Overview
A window adapter.
This binds events to the CrystGLFW
window.
Defined in:
prism/adapter/glfw/window.crConstructors
Instance Method Summary
-
#cursor_position : RenderLoop::Position
TODO This is implementation specific and shouldn't be part of this lib.
-
#cursor_position=(position : RenderLoop::Position)
TODO This is implementation specific and shouldn't be part of this lib.
-
#cursor_visible=(visible : Bool)
TODO This is implementation specific and shouldn't be part of this lib.
- #destroy
-
#key_pressed?(k : CrystGLFW::Key) : Bool
TODO This is implementation specific and shouldn't be part of this lib.
-
#mouse_button_pressed?(b : CrystGLFW::MouseButton) : Bool
TODO This is implementation specific and shouldn't be part of this lib.
- #render
- #should_close? : Bool
-
#size(s : RenderLoop::Size)
TODO This is implementation specific and shouldn't be part of this lib.
-
#size : RenderLoop::Size
TODO This is implementation specific and shouldn't be part of this lib.
- #startup
- #window : CrystGLFW::Window
Constructor Detail
Instance Method Detail
TODO This is implementation specific and shouldn't be part of this lib.
TODO This is implementation specific and shouldn't be part of this lib.
TODO This is implementation specific and shouldn't be part of this lib. abstract def cursor_visible? : Bool
TODO This is implementation specific and shouldn't be part of this lib.
TODO This is implementation specific and shouldn't be part of this lib.
TODO This is implementation specific and shouldn't be part of this lib.
TODO This is implementation specific and shouldn't be part of this lib.
TODO This is implementation specific and shouldn't be part of this lib.