diff dwt/graphics/Color.d @ 48:9a64a7781bab

Added override and alias, first chunk. Thanks torhu for doing this patch.
author Frank Benoit <benoit@tionex.de>
date Sun, 03 Feb 2008 01:14:54 +0100
parents f5482da87ed8
children 184ab53b7785
line wrap: on
line diff
--- a/dwt/graphics/Color.d	Sun Feb 03 00:59:28 2008 +0100
+++ b/dwt/graphics/Color.d	Sun Feb 03 01:14:54 2008 +0100
@@ -124,7 +124,7 @@
  * the color. Applications must dispose of all colors which
  * they allocate.
  */
-public void dispose() {
+override public void dispose() {
     if (handle is -1) return;
     if (device.isDisposed()) return;
 
@@ -308,7 +308,7 @@
  *
  * @return <code>true</code> when the color is disposed and <code>false</code> otherwise
  */
-public bool isDisposed() {
+override public bool isDisposed() {
     return handle is -1;
 }
 
@@ -318,7 +318,7 @@
  *
  * @return a string representation of the receiver
  */
-public char[] toString () {
+override public char[] toString () {
     if (isDisposed()) return "Color {*DISPOSED*}"; //$NON-NLS-1$
     return Format( "Color {{{}, {}, {}}", getRed(), getGreen(), getBlue()); //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
 }