int main(int argc, char *argv[]) { #define WINDOW_BG FL_BLACK #define WINDOW_WIDTH 640 #define WINDOW_HEIGHT 480 #define BOX_WIDTH 100 #define BOX_HEIGHT 40 #define TEXT_COLOR FL_GREEN #define TEXT_FONT FL_BOLD #define TEXT_SIZE 40 // replace by xml…