mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-21 06:45:39 -06:00
.upptst
git-svn-id: svn://ultimatepp.org/upp/trunk@12631 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
0c1e961fd6
commit
33aeee9e23
5 changed files with 45 additions and 3 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue