mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 11:52:08 +01:00
Cosmetics
This commit is contained in:
parent
68f1f1fc3f
commit
7f20e2e307
@ -60,17 +60,14 @@ private:
|
|||||||
struct Context
|
struct Context
|
||||||
{
|
{
|
||||||
Context(quint16 width, quint16 range)
|
Context(quint16 width, quint16 range)
|
||||||
: data(QVector<quint16>((width + 3) * 2)), w(width)
|
: data(QVector<quint16>((width + 3) * 2)), w(width), rg(1),
|
||||||
|
runIndex(0), rk(0), lrk(0)
|
||||||
{
|
{
|
||||||
|
quint16 A = qMax(2, (range + 32) / 64);
|
||||||
|
|
||||||
last = data.data();
|
last = data.data();
|
||||||
current = data.data() + (w + 3);
|
current = data.data() + (w + 3);
|
||||||
|
|
||||||
runIndex = 0;
|
|
||||||
rk = 0;
|
|
||||||
rg = 1;
|
|
||||||
lrk = 0;
|
|
||||||
|
|
||||||
quint16 A = qMax(2, (range + 32) / 64);
|
|
||||||
for (int i = 0; i < 4; i++) {
|
for (int i = 0; i < 4; i++) {
|
||||||
a[i] = A;
|
a[i] = A;
|
||||||
b[i] = 0;
|
b[i] = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user