changeset 63:84beb40c1665

Edit some comments.
author Jordan Miner <jminer7@gmail.com>
date Sat, 08 Aug 2009 20:35:48 -0500
parents 60832e1eef04
children aa7eafe2865d
files dynamin/gui/button.d dynamin/gui/window.d
diffstat 2 files changed, 9 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/dynamin/gui/button.d	Sat Aug 08 20:35:20 2009 -0500
+++ b/dynamin/gui/button.d	Sat Aug 08 20:35:48 2009 -0500
@@ -172,16 +172,20 @@
 	/// This event occurs after the button has been clicked.
 	Event!(whenClicked) clicked;
 
+	///
 	this() {
 		clicked.mainHandler = &whenClicked;
 		_focusable = true;
 	}
+	///
 	this(string text) {
 		this();
 		this.text = text;
 	}
 	override Size bestSize() { return Theme.current.Button_bestSize(this); }
+	///
 	ButtonState state() { return _state; }
+	///
 	void state(ButtonState s) { _state = s; repaint(); }
 	/**
 	  * Returns true if this button should be painted as being default.
--- a/dynamin/gui/window.d	Sat Aug 08 20:35:20 2009 -0500
+++ b/dynamin/gui/window.d	Sat Aug 08 20:35:48 2009 -0500
@@ -461,7 +461,7 @@
 	 */
 	Rect[] snapRects = null;
 	/**
-	 * Convenience method that sets SnapRects to an array
+	 * Convenience method that sets snapRects to an array
 	 * with just the specified Rect.
 	 */
 	void snapRect(Rect rect) {
@@ -469,7 +469,7 @@
 	}
 
 	/**
-	 * The SnapDistance specifies how close a window has to be to a
+	 * The snapDistance specifies how close a window has to be to a
 	 * snap rectangle for the window to snap to it. The default is 10 pixels.
 	 */
 	uint snapDistance = 10;
@@ -521,9 +521,9 @@
 	}
 
 	/**
-	 * Moves this window to the specified position relative to
-	 * the specified control. If no control is specified, the
-	 * window is positioned relative to the screen.
+	 * Moves this window to the specified position relative to the specified
+	 * control. If no control is specified, the window is positioned relative
+	 * to the screen.
 	 */
 	void position(Position pos, Control c = null) {
 		Rect rect;