diff dynamin/gui/control.d @ 67:419e38206522

Move visible from Control to Window
author Jordan Miner <jminer7@gmail.com>
date Mon, 10 Aug 2009 02:46:42 -0500
parents aa7eafe2865d
children 6580fabb7dce
line wrap: on
line diff
--- a/dynamin/gui/control.d	Mon Aug 10 01:44:29 2009 -0500
+++ b/dynamin/gui/control.d	Mon Aug 10 02:46:42 2009 -0500
@@ -80,7 +80,6 @@
  */
 class Control {
 protected:
-	bool _visible;
 	bool _focusable;
 	bool _focused;
 	int _tabIndex;
@@ -272,7 +271,6 @@
 		_focusable = false;
 		_focused = false;
 		_tabIndex = 0;
-		_visible = true;
 		_cursor = Cursor.Arrow;
 		_elasticX = false;
 		_elasticY = false;
@@ -482,13 +480,6 @@
 	}
 
 	/**
-	 * Gets or sets whether is control is visible. The default is true, except
-	 * on top-level windows.
-	 */
-	//void visible(bool b) { visible = b; }
-	bool visible() { return _visible; }
-
-	/**
 	 * Gets or sets the location of this control in its parent's content
 	 * coordinates.
 	 * Examples: