Changeset 7fc5e27 in opengl-game for game-gui.hpp


Ignore:
Timestamp:
Sep 3, 2019, 7:07:39 PM (5 years ago)
Author:
Dmitry Portnoy <dmitry.portnoy@…>
Branches:
feature/imgui-sdl, master, points-test
Children:
b6e60b4
Parents:
1ce9afe
Message:

Change all game-gui function names to lower camel case

File:
1 edited

Legend:

Unmodified
Added
Removed
  • game-gui.hpp

    r1ce9afe r7fc5e27  
    1818      virtual ~GameGui() {};
    1919
    20       virtual string& GetError() = 0;
     20      virtual string& getError() = 0;
    2121
    22       virtual bool Init() = 0;
    23       virtual void Shutdown() = 0;
     22      virtual bool init() = 0;
     23      virtual void shutdown() = 0;
    2424
    25       virtual void* CreateWindow(const string& title, unsigned int width, unsigned int height, bool fullscreen) = 0;
    26       virtual void DestroyWindow() = 0;
     25      virtual void* createWindow(const string& title, int width, int height, bool fullscreen) = 0;
     26      virtual void destroyWindow() = 0;
    2727
    2828#ifdef GAMEGUI_INCLUDE_VULKAN
    29       virtual bool CreateVulkanSurface(VkInstance instance, VkSurfaceKHR* surface) = 0;
     29      virtual bool createVulkanSurface(VkInstance instance, VkSurfaceKHR* surface) = 0;
    3030#endif
    3131
    32       virtual vector<const char*> GetRequiredExtensions() = 0;
    33       virtual void GetWindowSize(int* width, int* height) = 0;
     32      virtual vector<const char*> getRequiredExtensions() = 0;
     33      virtual void getWindowSize(int* width, int* height) = 0;
    3434};
    3535
Note: See TracChangeset for help on using the changeset viewer.