Exemplo n.º 1
0
Arquivo: group.cpp Projeto: dawikur/c8
void Group::draw(nana::paint::graphics &graphics) {
  graphics.rectangle(true, _owner.bgcolor());
  graphics.round_rectangle(
    nana::rectangle(20, 20, graphics.width() - 40, graphics.height() - 40),
    5,
    5,
    nana::colors::gray_border,
    true,
    _owner.bgcolor());
}
Exemplo n.º 2
0
		void draw(nana::paint::graphics& graph) const
		{
			graph.rectangle(x_, y_, width_, height_, color_, issolid_);
		}