fixing compatibility, workign on renderer

This commit is contained in:
Kbz-8
2022-12-18 04:04:10 +01:00
parent f52c4e51c9
commit 4a67aab716
48 changed files with 6535 additions and 75 deletions

View File

@@ -6,7 +6,7 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/04 21:53:12 by maldavid #+# #+# */
/* Updated: 2022/10/05 19:10:35 by maldavid ### ########.fr */
/* Updated: 2022/12/18 03:41:53 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
@@ -18,14 +18,17 @@
namespace mlx
{
class Window
class MLX_Window
{
public:
Window(std::size_t w, std::size_t h, std::string title, int id);
MLX_Window(std::size_t w, std::size_t h, std::string title, int id);
inline int& get_id() noexcept { return _id; }
inline SDL_Window* getNativeWindow() const noexcept { return _win; }
void pixel_put(int x, int y, int color) {}
~Window();
~MLX_Window();
private:
SDL_Window* _win = nullptr;