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]; |