#ifndef PROTO_RECT_H_ #define PROTO_RECT_H_ typedef struct { bool active; Sint32 x, y; Vec begin, end; // TODO(#779): ProtoRect's color is not customizable Color color; } ProtoRect; int proto_rect_render(const ProtoRect *proto_rect, Camera *camera); int proto_rect_update(ProtoRect *proto_rect, float delta_time); int proto_rect_event(ProtoRect *proto_rect, const SDL_Event *event, const Camera *camera, Boxes *boxes); int proto_rect_mouse_button(ProtoRect *proto_rect, const SDL_MouseButtonEvent *event, Boxes *boxes, const Camera *camera); int proto_rect_mouse_motion(ProtoRect *proto_rect, const SDL_MouseMotionEvent *event, const Camera *camera); #endif // PROTO_RECT_H_