Lines Matching defs:win_width
32 static int win_width, win_height;
67 line(win_width / 2 - 20, win_height + 20,
68 win_width / 2 - 20, win_height - 20);
69 line(win_width / 2 + 20, win_height - 20,
70 win_width / 2 + 20, win_height + 20);
74 line(win_width - 20, win_height / 2 - 20,
75 win_width + 20, win_height / 2 - 20);
76 line(win_width + 20, win_height / 2 + 20,
77 win_width - 20, win_height / 2 + 20);
81 line(win_width / 2 - 20, 20,
82 win_width / 2 - 20, -20);
83 line(win_width / 2 + 20, -20,
84 win_width / 2 + 20, 20);
88 line3(win_width / 2 - 20 - 20, win_height / 2, 0.5,
89 win_width / 2 - 20 + 20, win_height / 2, -0.5);
90 line3(win_width / 2 - 20, win_height / 2 - 20, -0.5,
91 win_width / 2 - 20, win_height / 2 + 20, 0.5);
95 line3(win_width / 2 + 20 - 20, win_height / 2, 1.5,
96 win_width / 2 + 20 + 20, win_height / 2, 0.5);
97 line3(win_width / 2 + 20, win_height / 2 - 20, 0.5,
98 win_width / 2 + 20, win_height / 2 + 20, 1.5);
102 line3(win_width / 2, win_height / 2 - 20, -0.5,
103 win_width / 2, win_height / 2 + 20, -0.5);
105 line3(win_width / 2, win_height / 2 - 20, 1.5,
106 win_width / 2, win_height / 2 + 20, 1.5);
114 line(win_width - 20, -5,
115 win_width + 5, 20); /* xmax, ymin */
116 line(win_width - 20, win_height + 5,
117 win_width + 5, win_height - 20); /* xmax, ymax */
125 win_width = width;
131 glOrtho(0, win_width, 0, win_height, 0.0, -1.0);
160 win_width = 200;
165 glutInitWindowSize(win_width, win_height);