working on text put pipeline

This commit is contained in:
Kbz-8
2023-04-06 17:26:19 +02:00
parent 66022c08fb
commit 8ae152e67a
12 changed files with 125 additions and 108 deletions

View File

@@ -6,7 +6,7 @@
/* By: maldavid <kbz_8.dev@akel-engine.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/04 17:35:20 by maldavid #+# #+# */
/* Updated: 2023/04/06 15:27:54 by maldavid ### ########.fr */
/* Updated: 2023/04/06 16:09:47 by maldavid ### ########.fr */
/* */
/* ************************************************************************** */
@@ -142,6 +142,12 @@ extern "C"
return 0;
}
int mlx_string_put(void* mlx, void* win, int x, int y, int color, char* str)
{
static_cast<mlx::core::Application*>(mlx)->stringPut(win, x, y, color, str);
return 0;
}
int mlx_clear_window(void* mlx, void* win)
{
static_cast<mlx::core::Application*>(mlx)->clearGraphicsSupport(win);