This commit is contained in:
Kbz-8
2024-11-03 01:23:52 +01:00
parent 77f1a2d8f8
commit af70e2e354
36 changed files with 21446 additions and 13231 deletions

View File

@@ -5,9 +5,9 @@
namespace mlx
{
Window::Window(std::size_t w, std::size_t h, const std::string& title, bool hidden) : m_name(title), m_width(w), m_height(h)
Window::Window(std::size_t w, std::size_t h, const std::string& title, bool is_resizable, bool hidden) : m_name(title), m_width(w), m_height(h)
{
p_window = SDLManager::Get().CreateWindow(title, w, h, hidden, m_id);
p_window = SDLManager::Get().CreateWindow(title, w, h, hidden, m_id, is_resizable);
}
void Window::Destroy() noexcept