feature/imgui-sdl
|
Last change
on this file since db1b548 was d8cf709, checked in by Dmitry Portnoy <dportnoy@…>, 5 years ago |
|
Change UIEvent to also include the original event from the UI library the game gui is currently using, such as SDL or GLFW.
|
-
Property mode
set to
100644
|
|
File size:
452 bytes
|
| Line | |
|---|
| 1 | #ifndef _GAME_SCREEN_H
|
|---|
| 2 | #define _GAME_SCREEN_H
|
|---|
| 3 |
|
|---|
| 4 | #include <map>
|
|---|
| 5 |
|
|---|
| 6 | #include "screen.hpp"
|
|---|
| 7 |
|
|---|
| 8 | class GameScreen : public Screen {
|
|---|
| 9 | public:
|
|---|
| 10 | GameScreen(SDL_Renderer& renderer, VulkanGame& gameInfo);
|
|---|
| 11 | ~GameScreen() override;
|
|---|
| 12 |
|
|---|
| 13 | void createRenderCommands(VkCommandBuffer& commandBuffer, uint32_t currentImage) override;
|
|---|
| 14 |
|
|---|
| 15 | void handleEvent(GameEvent& e) override;
|
|---|
| 16 | };
|
|---|
| 17 |
|
|---|
| 18 | void mainMenu_onMouseClick(VulkanGame& gameInfo);
|
|---|
| 19 |
|
|---|
| 20 | #endif // _GAME_SCREEN_H
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.