src/gldraw.cpp

changeset 461
fbcc91ae1dd2
parent 460
b230ae09c8e5
child 469
f2faed654633
equal deleted inserted replaced
460:b230ae09c8e5 461:fbcc91ae1dd2
49 {{ -1, 0, 0 }, X, Z, false, true }, 49 {{ -1, 0, 0 }, X, Z, false, true },
50 {{ 0, 0, 0 }, X, Y, true, true }, 50 {{ 0, 0, 0 }, X, Y, true, true },
51 {{ 0, -1, 0 }, Z, Y, false, true }, 51 {{ 0, -1, 0 }, Z, Y, false, true },
52 }; 52 };
53 53
54 cfg (str, gl_bgcolor, "#CCCCD9"); 54 cfg (String, gl_bgcolor, "#CCCCD9");
55 cfg (str, gl_maincolor, "#707078"); 55 cfg (String, gl_maincolor, "#707078");
56 cfg (float, gl_maincolor_alpha, 1.0); 56 cfg (Float, gl_maincolor_alpha, 1.0);
57 cfg (int, gl_linethickness, 2); 57 cfg (Int, gl_linethickness, 2);
58 cfg (bool, gl_colorbfc, true); 58 cfg (Bool, gl_colorbfc, true);
59 cfg (int, gl_camera, GLRenderer::Free); 59 cfg (Int, gl_camera, GLRenderer::Free);
60 cfg (bool, gl_blackedges, true); 60 cfg (Bool, gl_blackedges, true);
61 cfg (bool, gl_axes, false); 61 cfg (Bool, gl_axes, false);
62 cfg (bool, gl_wireframe, false); 62 cfg (Bool, gl_wireframe, false);
63 cfg (bool, gl_logostuds, false); 63 cfg (Bool, gl_logostuds, false);
64 64
65 // argh 65 // argh
66 const char* g_CameraNames[7] = { 66 const char* g_CameraNames[7] = {
67 QT_TRANSLATE_NOOP ("GLRenderer", "Top"), 67 QT_TRANSLATE_NOOP ("GLRenderer", "Top"),
68 QT_TRANSLATE_NOOP ("GLRenderer", "Front"), 68 QT_TRANSLATE_NOOP ("GLRenderer", "Front"),

mercurial