|
Tissue Forge C++ 0.2.1
Interactive, particle-based physics, chemistry and biology modeling and simulation environment
|
#include <tfGlfwWindow.h>


Public Member Functions | |
| GlfwWindow (GLFWwindow *win) | |
| iVector2 | windowSize () const override |
| void | redraw () override |
| void | setTitle (const char *title) |
| Magnum::GL::AbstractFramebuffer & | framebuffer () override |
| const float & | getFloatField () |
| void | setFloatField (const float &value) |
Public Attributes | |
| GLFWwindow * | _window |
| float | f |
Additional Inherited Members | |
Public Types inherited from TissueForge::rendering::Window | |
| enum | MouseButton { MouseButton1 = GLFW_MOUSE_BUTTON_1 , MouseButton2 = GLFW_MOUSE_BUTTON_2 , MouseButton3 = GLFW_MOUSE_BUTTON_3 , MouseButton4 = GLFW_MOUSE_BUTTON_4 , MouseButton5 = GLFW_MOUSE_BUTTON_5 , MouseButton6 = GLFW_MOUSE_BUTTON_6 , MouseButton7 = GLFW_MOUSE_BUTTON_7 , MouseButton8 = GLFW_MOUSE_BUTTON_8 , MouseButtonLast = GLFW_MOUSE_BUTTON_LAST , MouseButtonLeft = GLFW_MOUSE_BUTTON_LEFT , MouseButtonRight = GLFW_MOUSE_BUTTON_RIGHT , MouseButtonMiddle = GLFW_MOUSE_BUTTON_MIDDLE } |
| enum | State { Release = GLFW_RELEASE , Press = GLFW_PRESS , Repeat = GLFW_REPEAT } |
The GLFWWindow provides a glue to connect generate Tissue Forge events from glfw events.
| TissueForge::rendering::GlfwWindow::GlfwWindow | ( | GLFWwindow * | win | ) |
attach to an existing GLFW Window
|
overridevirtual |
Implements TissueForge::rendering::Window.
|
overridevirtual |
Implements TissueForge::rendering::Window.
|
overridevirtual |
Implements TissueForge::rendering::Window.