mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 22:53:34 +00:00
fixing compatibility, workign on renderer
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user