mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 22:53:34 +00:00
adding documentation to mlx.h
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2022/10/04 17:35:20 by maldavid #+# #+# */
|
||||
/* Updated: 2023/04/19 11:49:40 by maldavid ### ########.fr */
|
||||
/* Updated: 2023/04/19 12:14:02 by maldavid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -75,18 +75,6 @@ extern "C"
|
||||
return 0;
|
||||
}
|
||||
|
||||
int mlx_do_key_autorepeaton(void* mlx)
|
||||
{
|
||||
static_cast<mlx::core::Application*>(mlx)->enableAutoRepeat();
|
||||
return 0;
|
||||
}
|
||||
|
||||
int mlx_do_key_autorepeatoff(void* mlx)
|
||||
{
|
||||
static_cast<mlx::core::Application*>(mlx)->disableAutoRepeat();
|
||||
return 0;
|
||||
}
|
||||
|
||||
void* mlx_new_image(void* mlx, int width, int height)
|
||||
{
|
||||
return static_cast<mlx::core::Application*>(mlx)->newTexture(width, height);
|
||||
|
||||
Reference in New Issue
Block a user