Breaking changes for expr_color

expr_color is a temporary class name for new color type experiment.
This commit is contained in:
cnjinhao
2014-12-17 11:20:47 +08:00
parent 74c09eb9b3
commit 42788db077
58 changed files with 1135 additions and 824 deletions

View File

@@ -123,7 +123,7 @@ namespace nana
for(int left = 0; left < 12; ++left)
{
if((*colormap)[top][left] != 0xFFFFFF)
graph.set_pixel(left + x, top + y, (*colormap)[top][left]);
graph.set_pixel(left + x, top + y, static_cast<colors>((*colormap)[top][left]));
}
}
}
@@ -228,7 +228,7 @@ namespace nana
{
if(colormap[u][v] & 0xFF000000)
continue;
graph.set_pixel(x + v, y, colormap[u][v]);
graph.set_pixel(x + v, y, static_cast<colors>(colormap[u][v]));
}
++y;
}