Cub3D
 
Loading...
Searching...
No Matches
ft_settings_hooks.c File Reference
#include "data_structure.h"
#include "ft_keys.h"
#include "ft_print.h"
#include "mlx.h"
#include <X11/X.h>
Include dependency graph for ft_settings_hooks.c:

Functions

int hook_settings_close_window (void *param)
 Hook used to close window or set the window size if MACRO Enabled.
 
int hook_settings_handle_keypress (int keycode, void *param)
 Handle mouse click in the settings window.
 
int hook_settings_handle_mouse_click (int button, int x, int y, void *param)
 Hook when the mouse is moved while clicking for the settings.
 
int hook_settings_handle_mouse_motion (int x, int y, void *param)
 Hook when the mouse is moved for the settings.