mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-06-16 06:05:32 -06:00
.upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@12224 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
5113d420f3
commit
97a06d3be9
1 changed files with 4 additions and 0 deletions
|
|
@ -46,6 +46,10 @@ void MyApp::Paint(Draw& w)
|
|||
w.DrawPolyPolyline(lpoints[0], sizeof(lpoints) / sizeof(Point),
|
||||
lcounts[0], sizeof(lcounts) / sizeof(int),
|
||||
4, Color(0, 192, 0));
|
||||
|
||||
Point tr[] = { Point(50, 5), Point(80, 50), Point(0, 50) };
|
||||
w.DrawPolygon(tr, 3, Green());
|
||||
w.DrawPolyline(tr, 3, Magenta());
|
||||
}
|
||||
|
||||
GUI_APP_MAIN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue