mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-21 22:04:56 -06:00
.examples
git-svn-id: svn://ultimatepp.org/upp/trunk@9238 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
b70c2fd5db
commit
34952201f4
1 changed files with 2 additions and 2 deletions
|
|
@ -47,7 +47,7 @@ void Scribble::Paint(Draw& w)
|
|||
Point p1 = stroke[0] - pos;
|
||||
for(int j = 1; j < stroke.GetCount(); j++) {
|
||||
Point p2 = stroke[j] - pos;
|
||||
w.DrawLine(p1, p2, 0);
|
||||
w.DrawLine(p1, p2);
|
||||
p1 = p2;
|
||||
}
|
||||
w.DrawRect(p1.x, p1.y, 1, 1, Black);
|
||||
|
|
@ -136,7 +136,7 @@ void Scribble::MainBar(Bar& bar)
|
|||
|
||||
Scribble::Scribble()
|
||||
{
|
||||
imagesize = Size(200, 200);
|
||||
imagesize = Size(600, 400);
|
||||
Title("Scribble").Zoomable().Sizeable();
|
||||
AddFrame(menu);
|
||||
AddFrame(InsetFrame());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue