Reconcile style accross all source files.

- All glabels code is in "glabels" top-level namespace.
- Other assorted cleanup.
This commit is contained in:
Jim Evins
2017-01-15 22:58:53 -05:00
parent 44aa31d074
commit b797d13e40
153 changed files with 17673 additions and 16841 deletions
+15 -12
View File
@@ -24,21 +24,24 @@
#include <QtMath>
namespace
{
const double FRAC_EPSILON = 0.00005;
const double denom[] = { 1.0, 2.0, 3.0, 4.0, 8.0, 16.0, 32.0, 0.0 };
const char* denom_string[] = { "1", "", "", "", "", "₁₆", "₃₂", NULL };
const char* num_string[] = { "", "¹", "²", "³", "", "", "", "", "", "",
"¹⁰", "¹¹", "¹²", "¹³", "¹⁴", "¹⁵", "¹⁶", "¹⁷", "¹⁸", "¹⁹",
"²⁰", "²¹", "²²", "²³", "²⁴", "²⁵", "²⁶", "²⁷", "²⁸", "²⁹",
"³⁰", "³¹" };
}
namespace glabels
{
//
// Private
//
namespace
{
const double FRAC_EPSILON = 0.00005;
const double denom[] = { 1.0, 2.0, 3.0, 4.0, 8.0, 16.0, 32.0, 0.0 };
const char* denom_string[] = { "1", "", "", "", "", "₁₆", "₃₂", NULL };
const char* num_string[] = { "", "¹", "²", "³", "", "", "", "", "", "",
"¹⁰", "¹¹", "¹²", "¹³", "¹⁴", "¹⁵", "¹⁶", "¹⁷", "¹⁸", "¹⁹",
"²⁰", "²¹", "²²", "²³", "²⁴", "²⁵", "²⁶", "²⁷", "²⁸", "²⁹",
"³⁰", "³¹" };
}
namespace StrUtil
{