Mercurial > projects > mde
diff mde/gui/widget/Floating.d @ 147:075705ad664a
Added a border widget.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Wed, 11 Feb 2009 13:02:30 +0000 |
parents | 66c58e5b0062 |
children | a86f8445ccc8 |
line wrap: on
line diff
--- a/mde/gui/widget/Floating.d Wed Feb 11 12:00:12 2009 +0000 +++ b/mde/gui/widget/Floating.d Wed Feb 11 13:02:30 2009 +0000 @@ -13,7 +13,7 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/** The Window class. Becoming a widget. */ +/** The "window" class − a widget. */ module mde.gui.widget.Floating; import mde.gui.widget.AParentWidget; @@ -159,7 +159,7 @@ mgr.renderer.restrict (x,y, w,h); foreach (i; sWOrder) with (sWData[i]) { - mgr.renderer.drawWindow (&border, this.x + x, this.y + y, w, h); + mgr.renderer.drawBorder (&border, this.x + x, this.y + y, w, h); subWidgets[i].draw; } mgr.renderer.relax;