// form.makeFormVariable("Font Size", font_size, 1.0f, 100.0f, true, "pt", "Font size of the text crawl");
// form.makeFormVariable("Warp Ratio", warp_ratio, 0.1f, 1.0f, true, "", "The ratio of start width to end width of a crawling line")->set_callback([&](const float &w) {
// update_perspective = true;
// warp_ratio = w;
// });
//
// form.makeColorPicker("Text Color", text_color, "The text color", [&](const nanogui::Color &c) {
// text_color[0] = c[0];
// text_color[1] = c[1];
// text_color[2] = c[2];
// });
//
// form.makeFormVariable("Alpha", text_alpha, 0.0f, 1.0f, true, "", "The opacity of the text");
//
// form.makeGroup("Stars");
// form.makeFormVariable("Min Star Size", min_star_size, 0.5f, 1.0f, true, "px", "Generate stars with this minimum size")->set_callback([&](const float &s) {
// update_stars = true;
// min_star_size = s;
// });
// form.makeFormVariable("Max Star Size", max_star_size, 1.0f, 10.0f, true, "px", "Generate stars with this maximum size")->set_callback([&](const float &s) {
// update_stars = true;
// max_star_size = s;
// });
// form.makeFormVariable("Min Star Count", min_star_count, 1, 1000, true, "", "Generate this minimum of stars")->set_callback([&](const int &cnt) {
// update_stars = true;
// min_star_count = cnt;
// });
// form.makeFormVariable("Max Star Count", max_star_count, 1000, 5000, true, "", "Generate this maximum of stars")->set_callback([&](const int &cnt) {
// update_stars = true;
// max_star_count = cnt;
// });
// form.makeFormVariable("Min Star Alpha", star_alpha, 0.2f, 1.0f, true, "", "Minimum opacity of stars")->set_callback([&](const float &a) {
// update_stars = true;
// star_alpha = a;
// });
//
// form.makeDialog(8, 16, "Display");
//
// form.makeGroup("Display");
// form.makeFormVariable("Show FPS", show_fps, "Enable or disable the On-screen FPS display");