From 34952201f4db4de63ace10122e147bf995edcbbd Mon Sep 17 00:00:00 2001 From: cxl Date: Thu, 26 Nov 2015 18:16:08 +0000 Subject: [PATCH] .examples git-svn-id: svn://ultimatepp.org/upp/trunk@9238 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- examples/Scribble/Scribble.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Scribble/Scribble.cpp b/examples/Scribble/Scribble.cpp index d324c97c1..6fcdef26e 100644 --- a/examples/Scribble/Scribble.cpp +++ b/examples/Scribble/Scribble.cpp @@ -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());