Lines Matching refs:win_width
32 static int win_width, win_height;
97 glVertex3f(win_width / 2 - 20, win_height / 2 - 20, 0.5);
98 glVertex3f(win_width / 2 - 40, win_height / 2, -0.5);
99 glVertex3f(win_width / 2 - 20, win_height / 2 + 20, 0.5);
105 glVertex3f(win_width / 2 + 20, win_height / 2 - 20, 0.5);
106 glVertex3f(win_width / 2 + 40, win_height / 2, 1.5);
107 glVertex3f(win_width / 2 + 20, win_height / 2 + 20, 0.5);
113 glVertex3f(win_width / 2 - 20, win_height / 2 + 20, -0.5);
114 glVertex3f(win_width / 2, win_height / 2 + 40, -0.5);
115 glVertex3f(win_width / 2 + 20, win_height / 2 + 20, -0.5);
119 glVertex3f(win_width / 2 - 20, win_height / 2 - 20, 1.5);
120 glVertex3f(win_width / 2, win_height / 2 - 40, 1.5);
121 glVertex3f(win_width / 2 + 20, win_height / 2 - 20, 1.5);
125 line3(win_width / 2, win_height / 2 - 20, 1.5,
126 win_width / 2, win_height / 2 + 20, 1.5);
141 glVertex2f(win_width - 20, win_height + 5);
142 glVertex2f(win_width - 20, win_height - 20);
143 glVertex2f(win_width + 5, win_height - 20);
146 glVertex2f(win_width + 5, 20);
147 glVertex2f(win_width - 20, 20);
148 glVertex2f(win_width - 20, -5);
157 win_width = width;
163 glOrtho(0, win_width, 0, win_height, 0.0, -1.0);
192 win_width = 200;
197 glutInitWindowSize(win_width, win_height);