#ifndef COMMON_H_ #define COMMON_H_ #include #include #include #include #ifdef USE_HID # include "DMM_HID.h" #endif #define FONT_SIZE 100 #define UI_FPS 30 bool init_sdl(SDL_Window **window); void quit_sdl(SDL_Window *window); bool check_quit(); void calc_text(std::string& text, std::vector& readings); void draw_text(const std::string& text, SDL_Surface *surface, TTF_Font *font); #endif // COMMON_H_