Mercurial > projects > dwt-mac
diff dwt/graphics/Drawable.d @ 32:b9226997409c
Ported dwt.graphics.Image*
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Fri, 12 Sep 2008 13:44:30 +0200 |
parents | e831403a80a9 |
children | db5a898b2119 |
line wrap: on
line diff
--- a/dwt/graphics/Drawable.d Fri Sep 12 12:36:09 2008 +0200 +++ b/dwt/graphics/Drawable.d Fri Sep 12 13:44:30 2008 +0200 @@ -7,11 +7,14 @@ * * Contributors: * IBM Corporation - initial API and implementation + * + * Port to the D programming language: + * Jacob Carlborg <jacob.carlborg@gmail.com> *******************************************************************************/ module dwt.graphics.Drawable; import dwt.dwthelper.utils; - +import dwt.graphics.GCData; /** * Implementers of <code>Drawable</code> can have a graphics context cast(GC) @@ -45,7 +48,7 @@ * @return the platform specific GC handle */ -public int /*long*/ internal_new_GC (GCData data); +public size_t /*long*/ internal_new_GC (GCData data); /** * Invokes platform specific functionality to dispose a GC handle. @@ -60,6 +63,6 @@ * @param handle the platform specific GC handle * @param data the platform specific GC data */ -public void internal_dispose_GC (int /*long*/ handle, GCData data); +public void internal_dispose_GC (size_t /*long*/ handle, GCData data); }