diff dynamin/gui/silver_theme.d @ 104:5c8c1c2e12c0

Change from real to double. double is not dependant on the platform, and it uses less space.
author Jordan Miner <jminer7@gmail.com>
date Fri, 06 Jul 2012 18:39:45 -0500
parents 73060bc3f004
children acdbb30fee7e
line wrap: on
line diff
--- a/dynamin/gui/silver_theme.d	Tue May 15 22:06:02 2012 -0500
+++ b/dynamin/gui/silver_theme.d	Fri Jul 06 18:39:45 2012 -0500
@@ -47,7 +47,7 @@
 	private Color _black = Color(0, 0, 0);
 	private Color _white = Color(255, 255, 255);
 	//{{{ common
-	void drawButtonBack(Graphics g, real x, real y, real width, real height, ButtonState state) {
+	void drawButtonBack(Graphics g, double x, double y, double width, double height, ButtonState state) {
 		with(g) {
 			if(state == ButtonState.Normal)
 				source = _silver;
@@ -157,7 +157,7 @@
 		}
 	}
 
-	real ScrollBar_size() {
+	double ScrollBar_size() {
 		// TODO: all themes should get this from SystemGui.ScrollBarSize
 		return 18;
 	}