Project Alice
Loading...
Searching...
No Matches
window_win.cpp File Reference
#include "window.hpp"
#include "map.hpp"
#include "opengl_wrapper.hpp"
#include "resource.h"
#include "system_state.hpp"
#include "Windows.h"
#include "Windowsx.h"
#include "wglew.h"
#include "sound.hpp"
Include dependency graph for window_win.cpp:

Go to the source code of this file.

Namespaces

namespace  window
 

Macros

#define UNICODE
 
#define NOMINMAX
 
#define WIN32_LEAN_AND_MEAN
 
#define WM_GRAPHNOTIFY   (WM_APP + 1)
 

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 ()
 
LRESULT CALLBACK window::WndProc (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
 
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)
 

Macro Definition Documentation

◆ NOMINMAX

#define NOMINMAX

Definition at line 10 of file window_win.cpp.

◆ UNICODE

#define UNICODE

Definition at line 8 of file window_win.cpp.

◆ WIN32_LEAN_AND_MEAN

#define WIN32_LEAN_AND_MEAN

Definition at line 11 of file window_win.cpp.

◆ WM_GRAPHNOTIFY

#define WM_GRAPHNOTIFY   (WM_APP + 1)

Definition at line 18 of file window_win.cpp.