mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Tutorial: Draw tutorial code modernization.
git-svn-id: svn://ultimatepp.org/upp/trunk@15464 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
530fd101b8
commit
233b0fd047
5 changed files with 16 additions and 16 deletions
|
|
@ -3,7 +3,7 @@
|
|||
using namespace Upp;
|
||||
|
||||
struct MyApp : TopWindow {
|
||||
virtual void Paint(Draw& w) {
|
||||
virtual void Paint(Draw& w) override {
|
||||
w.DrawRect(GetSize(), White());
|
||||
|
||||
w.DrawRect(10, 10, 60, 80, Green());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue