#ifndef BUTTON_H #define BUTTON_H #include #include typedef struct { char txt[32]; int pad; float pos[2]; } button; bool mouse_in_button (float pt[], txtd *t, button *b); void render_button (SDL_Renderer* rend, txtd *t, button *b); #endif