Number5
Visualisierung 2 Project - Florian Schober (0828151, f.schober@live.com), Andreas Walch (0926780, walch.andreas89@gmail.com)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
Window.cpp File Reference
#include "Application.hpp"

Go to the source code of this file.

Functions

void glfwOnWindowSizeChanged (GLFWwindow *window, int width, int height)
 
void glfwOnCursorMove (GLFWwindow *window, double x, double y)
 
void glfwOnKeyStateChanged (GLFWwindow *window, int key, int scancode, int action, int mods)
 
void glfwOnError (int errorCode, const char *desc)
 
void reportOpenGlCaps ()
 
void APIENTRY debugCallback (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *message, GLvoid *userParam)
 

Function Documentation

void APIENTRY debugCallback ( GLenum  source,
GLenum  type,
GLuint  id,
GLenum  severity,
GLsizei  length,
const GLchar *  message,
GLvoid *  userParam 
)

Definition at line 35 of file Window.cpp.

void glfwOnCursorMove ( GLFWwindow *  window,
double  x,
double  y 
)

GLFW-callback for cursor-moves

Parameters
windowthe window
xthe new cursor x-coordinate
ythe new cursor y-coordinate

Definition at line 202 of file Window.cpp.

void glfwOnError ( int  errorCode,
const char *  desc 
)

Definition at line 6 of file Window.cpp.

void glfwOnKeyStateChanged ( GLFWwindow *  window,
int  key,
int  scancode,
int  action,
int  mods 
)

GLFW-callback for key-state-changes

Parameters
windowthe window
keythe key
scancodescancodes
actionGLFW_PRESS if it was pressed, GLFW_RELEASE if it was released
modsmodifiers

Definition at line 192 of file Window.cpp.

void glfwOnWindowSizeChanged ( GLFWwindow *  window,
int  width,
int  height 
)

GLFW-callback for window-size-changes

Parameters
windowthe window
widththe new window-widht
heightthe new window-height

Definition at line 169 of file Window.cpp.

void reportOpenGlCaps ( )

Definition at line 13 of file Window.cpp.