2021-05-13 12:17:44 +00:00
|
|
|
#pragma once
|
|
|
|
#include "system.h"
|
2021-08-30 15:50:05 +00:00
|
|
|
#include "raylib.h"
|
2021-05-13 12:17:44 +00:00
|
|
|
|
2021-08-29 10:48:29 +00:00
|
|
|
void debug_draw(void);
|
2021-08-30 15:50:05 +00:00
|
|
|
|
|
|
|
typedef enum {
|
|
|
|
DAREA_OUTSIDE,
|
|
|
|
DAREA_HOVER,
|
|
|
|
DAREA_HELD,
|
|
|
|
DAREA_PRESS,
|
|
|
|
|
|
|
|
DAREA_FORCE_UINT8 = UINT8_MAX
|
|
|
|
} debug_area_status;
|
|
|
|
|
|
|
|
debug_area_status check_mouse_area(float xpos, float ypos, float w, float h);
|
|
|
|
bool is_btn_pressed(float xpos, float ypos, float w, float h, Color *color);
|