| 99 thinBorderPen = thickBorderPen; |
99 thinBorderPen = thickBorderPen; |
| 100 thinBorderPen.setWidth (1); |
100 thinBorderPen.setWidth (1); |
| 101 |
101 |
| 102 // Init camera icons |
102 // Init camera icons |
| 103 for (const GLRenderer::Camera cam : g_Cameras) { |
103 for (const GLRenderer::Camera cam : g_Cameras) { |
| 104 str path; |
104 str iconname; |
| 105 path.format ("./icons/camera-%s.png", str (g_CameraNames[cam]).tolower ().chars ()); |
105 iconname.format ("camera-%s", str (g_CameraNames[cam]).tolower ().chars ()); |
| 106 |
106 |
| 107 CameraIcon* info = &g_CameraIcons[cam]; |
107 CameraIcon* info = &g_CameraIcons[cam]; |
| 108 info->img = new QPixmap (path); |
108 info->img = new QPixmap (getIcon (iconname)); |
| 109 info->cam = cam; |
109 info->cam = cam; |
| 110 } |
110 } |
| 111 |
111 |
| 112 calcCameraIconRects (); |
112 calcCameraIconRects (); |
| 113 } |
113 } |