comparison src/help2.cc @ 107:20aa5a515896

Reformat one line /* */ comments to //
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 06 Oct 2014 12:42:55 +0300
parents 2f1ecc1c5f72
children
comparison
equal deleted inserted replaced
106:093497110727 107:20aa5a515896
76 " [Ctrl] is pressed).", 76 " [Ctrl] is pressed).",
77 "- Wheel or buttons 4 and 5: zoom in and out", 77 "- Wheel or buttons 4 and 5: zoom in and out",
78 NULL 78 NULL
79 }; 79 };
80 80
81 void DisplayHelp() /* SWAP! */ 81 void DisplayHelp() // SWAP!
82 { 82 {
83 int x0; 83 int x0;
84 int y0; 84 int y0;
85 int width; 85 int width;
86 int height; 86 int height;
95 } 95 }
96 width = (maxlen + 4) * FONTW + 2 * BOX_BORDER; 96 width = (maxlen + 4) * FONTW + 2 * BOX_BORDER;
97 height = lines * FONTH + 2 * BOX_BORDER; 97 height = lines * FONTH + 2 * BOX_BORDER;
98 x0 = (cfg.ScrMaxX + 1 - width) / 2; 98 x0 = (cfg.ScrMaxX + 1 - width) / 2;
99 y0 = (cfg.ScrMaxY + 1 - height) / 2; 99 y0 = (cfg.ScrMaxY + 1 - height) / 2;
100 /* put in the instructions */ 100 // put in the instructions
101 DrawScreenBox3D(x0, y0, x0 + width - 1, y0 + height - 1); 101 DrawScreenBox3D(x0, y0, x0 + width - 1, y0 + height - 1);
102 set_colour(LIGHTCYAN); 102 set_colour(LIGHTCYAN);
103 DrawScreenText(x0 + BOX_BORDER + (width - 5 * FONTW) / 2, 103 DrawScreenText(x0 + BOX_BORDER + (width - 5 * FONTW) / 2,
104 y0 + BOX_BORDER + FONTH / 2, "Yadex"); 104 y0 + BOX_BORDER + FONTH / 2, "Yadex");
105 set_colour(WINFG); 105 set_colour(WINFG);