bool editingWindow = false; typedef struct{ unsigned int r, g, b, a; } Color; Color Black; bool createQuad(double top_l, double top_r, double bot_r, double bot_l, Color color = Black) { if (editingWindow != true){ return false; } return true; }