Add default hotkey to swap primary screens.

Also minor style changes
This commit is contained in:
James Rowe 2016-11-05 02:58:11 -06:00
parent 5f72aade77
commit d9305b0a07
10 changed files with 27 additions and 13 deletions

View file

@ -33,7 +33,8 @@ FramebufferLayout DefaultFrameLayout(unsigned width, unsigned height, bool is_sw
FramebufferLayout SingleFrameLayout(unsigned width, unsigned height, bool is_swapped);
/**
* Factory method for constructing a Frame with the a 4x size Top screen with a 1x size bottom screen on the right
* Factory method for constructing a Frame with the a 4x size Top screen with a 1x size bottom
* screen on the right
* This is useful in particular because it matches well with a 1920x1080 resolution monitor
* @param width Window framebuffer width in pixels
* @param height Window framebuffer height in pixels