Mercurial > projects > dwt-linux
diff dwt/widgets/Composite.d @ 152:17f8449522fd
overloads second walkthrough
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 31 Jan 2008 23:19:20 +0100 |
parents | f2e04420fd6c |
children | 08789b28bdf3 |
line wrap: on
line diff
--- a/dwt/widgets/Composite.d Thu Jan 31 20:26:30 2008 +0100 +++ b/dwt/widgets/Composite.d Thu Jan 31 23:19:20 2008 +0100 @@ -441,7 +441,6 @@ } } -alias Scrollable.fixStyle fixStyle; override void fixStyle () { super.fixStyle (); if (scrolledHandle is null) fixStyle (handle); @@ -500,7 +499,6 @@ return super.focusHandle (); } -alias Scrollable.forceFocus forceFocus; override bool forceFocus (GtkWidget* focusHandle) { if (socketHandle !is null) OS.GTK_WIDGET_SET_FLAGS (focusHandle, OS.GTK_CAN_FOCUS); bool result = super.forceFocus (focusHandle); @@ -1004,7 +1002,6 @@ } } -alias Scrollable.moveAbove moveAbove; void moveAbove (GtkWidget* child, GtkWidget* sibling) { if (child is sibling) return; auto parentHandle = parentingHandle (); @@ -1180,7 +1177,6 @@ } } -alias Scrollable.setBounds setBounds; override int setBounds (int x, int y, int width, int height, bool move, bool resize) { int result = super.setBounds (x, y, width, height, move, resize); if ((result & RESIZED) !is 0 && layout_ !is null) { @@ -1349,7 +1345,7 @@ return super.translateTraversal (keyEvent); } -void updateBackgroundMode () { +override void updateBackgroundMode () { super.updateBackgroundMode (); Control [] children = _getChildren (); for (int i = 0; i < children.length; i++) { @@ -1357,7 +1353,7 @@ } } -void updateLayout (bool all) { +override void updateLayout (bool all) { Composite parent = findDeferredControl (); if (parent !is null) { parent.state |= LAYOUT_CHILD;