mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-12 23:23:34 +00:00
reworking application and bridge
This commit is contained in:
25
runtime/Includes/Core/Handles.h
git.filemode.normal_file
25
runtime/Includes/Core/Handles.h
git.filemode.normal_file
@@ -0,0 +1,25 @@
|
||||
#ifndef __MLX_HANDLES__
|
||||
#define __MLX_HANDLES__
|
||||
|
||||
#include <Core/Application.h>
|
||||
#include <Renderer/Image.h>
|
||||
|
||||
extern "C"
|
||||
{
|
||||
struct mlx_context_handler
|
||||
{
|
||||
mlx::NonOwningPtr<mlx::Application> app;
|
||||
};
|
||||
|
||||
struct mlx_window_handler
|
||||
{
|
||||
int id;
|
||||
};
|
||||
|
||||
struct mlx_image_handler
|
||||
{
|
||||
mlx::NonOwningPtr<mlx::Texture> texture;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user