108 const double y = (i / g_dNumColumns) * g_dSquareSize; |
108 const double y = (i / g_dNumColumns) * g_dSquareSize; |
109 const double w = (g_dSquareSize) - (fPenWidth / 2); |
109 const double w = (g_dSquareSize) - (fPenWidth / 2); |
110 |
110 |
111 QColor qColor = meta->qColor; |
111 QColor qColor = meta->qColor; |
112 |
112 |
113 if (i == dMainColor) { |
113 if (i == maincolor) { |
114 // Use the user preferences for main color here |
114 // Use the user preferences for main color here |
115 qColor = gl_maincolor.value.chars (); |
115 qColor = gl_maincolor.value.chars (); |
116 qColor.setAlpha (gl_maincolor_alpha * 255.0f); |
116 qColor.setAlpha (gl_maincolor_alpha * 255.0f); |
117 } |
117 } |
118 |
118 |