X-Git-Url: http://git.mutantstargoat.com?p=faros-demo;a=blobdiff_plain;f=src%2Fmain.cc;h=b889a0f082de5d719b9783deb93366a3a586ab5a;hp=cc6024fea321e0aa469707929cca2ad87311244b;hb=HEAD;hpb=720ca6dce562a07c1ad612be98377bc7426a5ed0 diff --git a/src/main.cc b/src/main.cc index cc6024f..b889a0f 100644 --- a/src/main.cc +++ b/src/main.cc @@ -69,8 +69,8 @@ static bool show_help, show_ui = true; int main(int argc, char **argv) { - glutInit(&argc, argv); glutInitWindowSize(800, 600); + glutInit(&argc, argv); glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH | GLUT_MULTISAMPLE); glutCreateWindow("Faros (press F1 for controls help)"); @@ -321,7 +321,6 @@ static void help() " RMB drag/wheel . zoom", " c .............. toggle free/animated camera", " v .............. print current view parameters", - "", "Animation control", " ........ pause time", " .... restart time", @@ -337,6 +336,8 @@ static void help() " P .............. toggle paper", " -P ...... clear paper keyframes", " ~ .............. dump all animation keyframes to seq_dump", + "Other", + " F5 ............. toggle UI", 0 }; @@ -378,7 +379,7 @@ static void help() glutBitmapCharacter(GLUT_BITMAP_9_BY_15, *s++); } - ypos += 25; + ypos += 22; } glPopMatrix();