some cleanup
This commit is contained in:
parent
f7e00e930f
commit
f1d9548972
2 changed files with 0 additions and 3 deletions
|
@ -13,11 +13,9 @@
|
||||||
#include "mlx.h"
|
#include "mlx.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
# define HEIGHT 800
|
# define HEIGHT 800
|
||||||
# define WIDTH 700
|
# define WIDTH 700
|
||||||
# define ENDIAN 0
|
|
||||||
# define COLOR1 0
|
# define COLOR1 0
|
||||||
# define COLOR2 16777215
|
# define COLOR2 16777215
|
||||||
# define INIT_X 30
|
# define INIT_X 30
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
int key_hook(int keycode, void *FDF)
|
int key_hook(int keycode, void *FDF)
|
||||||
{
|
{
|
||||||
printf("%d\n", keycode);
|
|
||||||
if (keycode == 65307)
|
if (keycode == 65307)
|
||||||
quit(FDF);
|
quit(FDF);
|
||||||
if (keycode == 113)
|
if (keycode == 113)
|
||||||
|
|
Loading…
Add table
Reference in a new issue