Mercurial > projects > mde
diff mde/gui/widget/createWidget.d @ 108:c9fc2d303178
Added capability for border-less pop-up widgets. Simple pop-up menu.
Removed grid-layout spacing (may allow any widget to provide spacing later).
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Wed, 03 Dec 2008 19:37:32 +0000 |
parents | 08651e8a8c51 |
children | fe061009029d |
line wrap: on
line diff
--- a/mde/gui/widget/createWidget.d Sun Nov 30 17:17:56 2008 +0000 +++ b/mde/gui/widget/createWidget.d Wed Dec 03 19:37:32 2008 +0000 @@ -30,6 +30,7 @@ import mde.gui.widget.miscContent; import mde.gui.widget.textContent; import mde.gui.widget.Floating; +import mde.gui.widget.Popup; import tango.util.log.Log : Log, Logger; private Logger logger; @@ -97,6 +98,7 @@ // buttons: 0x10 Button = 0x10, + PopupButton = TAKES_CONTENT | PARENT | 0x11, // labels: 0x20 ContentLabel = TAKES_CONTENT | 0x20, @@ -135,6 +137,7 @@ "ButtonContent", "editContent", "FloatingArea", + "PopupButton", "GridLayout", "ContentList"];