src/GLRenderer.h

changeset 644
93dcd1a0e4bd
parent 642
751a8df42842
child 690
9e9c52ca955e
equal deleted inserted replaced
643:a79277000830 644:93dcd1a0e4bd
17 */ 17 */
18 18
19 #pragma once 19 #pragma once
20 #include <QGLWidget> 20 #include <QGLWidget>
21 #include "Main.h" 21 #include "Main.h"
22 #include "Macros.h"
22 #include "LDObject.h" 23 #include "LDObject.h"
23 #include "Document.h" 24 #include "Document.h"
24 25
25 class MessageManager; 26 class MessageManager;
26 class QDialogButtonBox; 27 class QDialogButtonBox;
283 inline double& zoom() 284 inline double& zoom()
284 { 285 {
285 return currentDocumentData().zoom[camera()]; 286 return currentDocumentData().zoom[camera()];
286 } 287 }
287 288
289 template<typename... Args>
290 inline QString format (QString fmtstr, Args... args)
291 {
292 return ::format (fmtstr, args...);
293 }
294
288 private slots: 295 private slots:
289 void slot_toolTipTimer(); 296 void slot_toolTipTimer();
290 }; 297 };
291 298
292 // Alias for short namespaces 299 // Alias for short namespaces

mercurial