40 m_cache(tiles, widget),
41 m_currentLayer(tiles->LayerCount() - 1),
47 double top, left, bottom, right;
55 if (scale_y > scale_x)
66 while (
min_scale_ * std::pow(2.0, layer + 1) < scale) layer++;
109 glEnable(GL_TEXTURE_2D);
111 glColor4f(1.0
f, 1.0
f, 1.0
f, 1.0
f);
133 for (
int r = 0; r < baseLayer->
RowCount(); r++)
149 if (m_endColumn < layer->ColumnCount() && m_endRow < layer->RowCount())
168 glDisable(GL_TEXTURE_2D);