remove deprecated components

This commit is contained in:
Jinhao
2016-01-03 17:50:10 +08:00
parent 0bb7c788d5
commit a2a7d1fc37
21 changed files with 127 additions and 209 deletions

View File

@@ -39,7 +39,7 @@ namespace nana
auto right = r.right() - 1;
auto bottom = r.bottom() - 1;
graph.set_color(colors::white);
graph.palette(false, colors::white);
graph.set_pixel(r.x, r.y);
graph.set_pixel(right, r.y);
graph.set_pixel(r.x, bottom);
@@ -47,7 +47,7 @@ namespace nana
--right;
--bottom;
graph.set_color(clr);
graph.palette(false, clr);
graph.set_pixel(r.x + 1, r.y + 1);
graph.set_pixel(right, r.y + 1);
graph.set_pixel(r.x + 1, bottom);
@@ -103,8 +103,8 @@ namespace nana
}
x += (image_pixels_ + 2);
}
graph.set_text_color(colors::black);
graph.string({ x, r.y + 2 }, item->text());
graph.string({ x, r.y + 2 }, item->text(), colors::black);
}
unsigned item_pixels(graph_reference graph) const