gldraw.cpp

changeset 153
03a7bdcce50d
parent 152
552e46650a95
child 154
cc53e5cbad54
equal deleted inserted replaced
152:552e46650a95 153:03a7bdcce50d
54 cfg (int, gl_linethickness, 2); 54 cfg (int, gl_linethickness, 2);
55 cfg (bool, gl_colorbfc, true); 55 cfg (bool, gl_colorbfc, true);
56 cfg (bool, gl_selflash, false); 56 cfg (bool, gl_selflash, false);
57 cfg (int, gl_camera, GLRenderer::Free); 57 cfg (int, gl_camera, GLRenderer::Free);
58 58
59 // CameraIcon::img is a heap-allocated QPixmap because otherwise it gets
60 // initialized before program gets to main() and constructs a QApplication
61 // and Qt doesn't like that.
59 struct CameraIcon { 62 struct CameraIcon {
60 QPixmap* img; 63 QPixmap* img;
61 QRect srcRect, destRect, selRect; 64 QRect srcRect, destRect, selRect;
62 GLRenderer::Camera cam; 65 GLRenderer::Camera cam;
63 } g_CameraIcons[7]; 66 } g_CameraIcons[7];

mercurial