git-svn-id: svn://ultimatepp.org/upp/trunk@12631 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2018-12-20 16:29:11 +00:00
parent 0c1e961fd6
commit 33aeee9e23
5 changed files with 45 additions and 3 deletions

View file

@ -11,12 +11,10 @@ struct OpenGLExample : GLCtrl {
DLOG("GLPaint");
Size sz = GetSize();
GLDraw w;
DrawGL w(sz);
Rect r = Rect(GetSize()).Deflated(20, 20);
w.InitGL(GetSize());
w.DrawRect(sz, LtRed());
DrawFatFrame(w, r, LtBlue(), 2);