mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-12 15:13: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/05 16:27:35 by maldavid #+# #+# */
|
||||
/* Updated: 2022/10/05 19:53:18 by maldavid ### ########.fr */
|
||||
/* Updated: 2022/12/18 01:13:19 by maldavid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace mlx
|
||||
class Input
|
||||
{
|
||||
public:
|
||||
Input(const std::vector<std::shared_ptr<Window>>& wins);
|
||||
Input(const std::vector<std::shared_ptr<MLX_Window>>& wins);
|
||||
|
||||
void update();
|
||||
|
||||
@@ -49,7 +49,7 @@ namespace mlx
|
||||
SDL_Event _event;
|
||||
std::array<uint8_t, SDL_NUM_SCANCODES> _keys;
|
||||
std::array<uint8_t, 8> _mouse;
|
||||
std::vector<std::shared_ptr<Window>> _wins;
|
||||
std::vector<std::shared_ptr<MLX_Window>> _wins;
|
||||
|
||||
int _x = 0;
|
||||
int _y = 0;
|
||||
|
||||
Reference in New Issue
Block a user