Mercurial > projects > dwt-linux
diff dwt/graphics/GCData.d @ 240:ce446666f5a2
Update to SWT 3.4M7
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 12 May 2008 19:13:01 +0200 |
parents | 380bad9f6852 |
children | c0d810de7093 |
line wrap: on
line diff
--- a/dwt/graphics/GCData.d Mon May 12 15:36:37 2008 +0200 +++ b/dwt/graphics/GCData.d Mon May 12 19:13:01 2008 +0200 @@ -19,6 +19,7 @@ import dwt.graphics.Device; import dwt.graphics.Pattern; import dwt.graphics.Image; +import dwt.graphics.Font; /** * Instances of this class are descriptions of GCs in terms @@ -35,7 +36,7 @@ public int style, state = -1; public GdkColor* foreground; public GdkColor* background; - public PangoFontDescription* font; + public Font font; public Pattern foregroundPattern; public Pattern backgroundPattern; public GdkRegion* clipRgn; @@ -63,5 +64,7 @@ public int stringWidth = -1; public int stringHeight = -1; public int drawFlags; + public bool realDrawable; + public int width = -1, height = -1; }