Project Alice
Loading...
Searching...
No Matches
window_nix.cpp File Reference
#include "window.hpp"
#include "map.hpp"
#include <GLFW/glfw3.h>
#include <unordered_map>
Include dependency graph for window_nix.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  window
 

Functions

bool window::is_key_depressed (sys::state const &game_state, sys::virtual_key key)
 
void window::get_window_size (sys::state const &game_state, int &width, int &height)
 
bool window::is_in_fullscreen (sys::state const &game_state)
 
void window::set_borderless_full_screen (sys::state &game_state, bool fullscreen)
 
void window::close_window (sys::state &game_state)
 
sys::key_modifiers window::get_current_modifiers (GLFWwindow *window)
 
sys::key_modifiers window::get_current_modifiers (int glfw_mods)
 
void window::mouse_button_callback (GLFWwindow *window, int button, int action, int mods)
 
void window::scroll_callback (GLFWwindow *window, double xoffset, double yoffset)
 
void window::character_callback (GLFWwindow *window, unsigned int codepoint)
 
void window::on_window_change (GLFWwindow *window)
 
void window::window_size_callback (GLFWwindow *window, int width, int height)
 
void window::framebuffer_size_callback (GLFWwindow *window, int width, int height)
 
void window::window_iconify_callback (GLFWwindow *window, int iconified)
 
void window::window_maximize_callback (GLFWwindow *window, int maximized)
 
void window::focus_callback (GLFWwindow *window, int focused)
 
void window::create_window (sys::state &game_state, creation_parameters const &params)
 
void window::change_cursor (sys::state &state, cursor_type type)
 
void window::emit_error_message (std::string const &content, bool fatal)