Changeset 1ce9afe in opengl-game for game-gui.hpp


Ignore:
Timestamp:
Sep 2, 2019, 7:40:49 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
7fc5e27
Parents:
301d0d4
Message:

Add a fullscreen flag to GameGui::CreateWindow and implement fullscreen functionality and the ability to detect key presses in openglgame

File:
1 edited

Legend:

Unmodified
Added
Removed
  • game-gui.hpp

    r301d0d4 r1ce9afe  
    88   #include <vulkan/vulkan.h>
    99#endif
     10
     11// TODO: Remove the line below once the couts in the game-gui-* files are moved
     12#include <iostream>
    1013
    1114using namespace std;
     
    2023      virtual void Shutdown() = 0;
    2124
    22       virtual void* CreateWindow(const string& title, unsigned int width, unsigned int height) = 0;
     25      virtual void* CreateWindow(const string& title, unsigned int width, unsigned int height, bool fullscreen) = 0;
    2326      virtual void DestroyWindow() = 0;
    2427
Note: See TracChangeset for help on using the changeset viewer.