Skip to content

Instantly share code, notes, and snippets.

View FriedelVerpoort's full-sized avatar

FriedelVerpoort

View GitHub Profile
@FriedelVerpoort
FriedelVerpoort / messageloop.cpp
Created October 4, 2018 13:11
Basic windows message-loop
#include <iostream>
#include <string>
LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
int windowWidth{300}, windowHeight{300};
int main()
{
const uint32_t titleSize{500};