Commit 4b3926cc6c5c788ddbd731b70598ef549019fb76
1 parent
709aea6d
Removed redundant code from winsys.cpp
Showing
1 changed file
with
0 additions
and
6 deletions
examples07/02-txtwin/winsys.cpp
@@ -137,12 +137,6 @@ public: | @@ -137,12 +137,6 @@ public: | ||
137 | }; | 137 | }; |
138 | void paint () | 138 | void paint () |
139 | { | 139 | { |
140 | - for (int i = geom.topleft.y; i < geom.topleft.y + geom.size.y; i++) | ||
141 | - { | ||
142 | - gotoyx (i, geom.topleft.x); | ||
143 | - for (int j = 0; j < geom.size.x; j++) | ||
144 | - printw ("."); | ||
145 | - }; | ||
146 | for (list < CView * >::iterator i = children.begin (); | 140 | for (list < CView * >::iterator i = children.begin (); |
147 | i != children.end (); i++) | 141 | i != children.end (); i++) |
148 | (*i)->paint (); | 142 | (*i)->paint (); |