f***ed up and needed to rework packages

This commit is contained in:
herbglitch 2024-05-20 03:46:04 -06:00
parent f4592ae8d0
commit b43ab1702f
73 changed files with 194 additions and 2045 deletions

View file

@ -8,9 +8,12 @@ extern "C" {
#include "arc/math/point.h"
#include <stdint.h>
typedef struct ARC_Mouse ARC_Mouse;
/**
* @brief predefien ARC_Input so as not to get circular reference
*/
typedef struct ARC_Input ARC_Input;
typedef struct ARC_MouseInfo ARC_MouseInfo;
typedef struct ARC_Mouse ARC_Mouse;
typedef enum ARC_MouseState {
ARC_MOUSE_NONE,
@ -28,7 +31,8 @@ typedef enum ARC_MouseButton {
#define ARC_MOUSE_BUTTON_NUM 5
void ARC_Mouse_Create(ARC_Mouse **mouse, ARC_MouseInfo *info);
void ARC_Mouse_CreateWithInput(ARC_Mouse **mouse, ARC_Input *input);
void ARC_Mouse_Destroy(ARC_Mouse *mouse);
void ARC_Mouse_Update(ARC_Mouse *mouse);
ARC_Point *ARC_Mouse_GetCoords(ARC_Mouse *mouse);
@ -39,4 +43,4 @@ int32_t *ARC_Mouse_GetScrollY(ARC_Mouse *mouse);
}
#endif
#endif // !ARC_GRAPHICS_MOUSE_H_
#endif // !ARC_GRAPHICS_MOUSE_H_