implementing mouse move and get screen size, removing warnings

This commit is contained in:
Kbz-8
2024-09-15 08:56:22 +02:00
parent 7243c67c3e
commit 7079e1e42d
14 changed files with 85 additions and 41 deletions

View File

@@ -6,8 +6,6 @@ namespace mlx
GraphicsSupport::GraphicsSupport(std::size_t w, std::size_t h, NonOwningPtr<Texture> render_target, int id) :
m_put_pixel_manager(&m_renderer),
p_window(nullptr),
m_width(w),
m_height(h),
m_id(id),
m_has_window(false)
{
@@ -24,8 +22,6 @@ namespace mlx
GraphicsSupport::GraphicsSupport(std::size_t w, std::size_t h, std::string title, int id) :
m_put_pixel_manager(&m_renderer),
p_window(std::make_shared<Window>(w, h, title)),
m_width(w),
m_height(h),
m_id(id),
m_has_window(true)
{