You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
419 B
24 lines
419 B
10 months ago
|
#pragma once
|
||
|
|
||
|
namespace ls {
|
||
|
class Window;
|
||
|
}
|
||
|
|
||
|
#include "glfw.hpp"
|
||
|
#include "vulkan.hpp"
|
||
|
|
||
|
namespace ls {
|
||
|
class Window {
|
||
|
public:
|
||
|
Window(GlfwState* glfw_state);
|
||
|
~Window();
|
||
|
void show();
|
||
|
void set_title(const std::string title);
|
||
|
void init_surface(VulkanState* vulkan_state);
|
||
|
GlfwWindow* __get_native();
|
||
|
private:
|
||
|
GlfwWindow* __window;
|
||
|
VkSurfaceKHR __surface;
|
||
|
};
|
||
|
}
|