initial draw
This commit is contained in:
+11
@@ -158,3 +158,14 @@ void Person::print()const
|
||||
|
||||
/* cout << '\n'; */
|
||||
}
|
||||
|
||||
WINDOW* Person::createPad()const
|
||||
{
|
||||
U16 width = name_.size() + 4;
|
||||
WINDOW* pad = newpad(5, width);
|
||||
|
||||
box(pad, 5, width);
|
||||
mvwaddstr(pad, 2, 2, name_.data());
|
||||
|
||||
return pad;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user