Mercurial > projects > dynamin
diff dynamin/gui/scrollable.d @ 5:4029d5af7542
Add blank lines and rewrap some comments.
author | Jordan Miner <jminer7@gmail.com> |
---|---|
date | Sat, 20 Jun 2009 12:26:40 -0500 |
parents | aa4efef0f0b1 |
children | e6e201c3a439 |
line wrap: on
line diff
--- a/dynamin/gui/scrollable.d Sat Jun 20 10:23:31 2009 -0500 +++ b/dynamin/gui/scrollable.d Sat Jun 20 12:26:40 2009 -0500 @@ -231,6 +231,7 @@ whenValueChanged(null); } + /** * Gets or sets which scroll bars are shown. The default is Each. */ @@ -239,6 +240,7 @@ void visibleScrollBars(VisibleScrollBars bars) { // TODO: rename? SBPolicy? _scrollBars = bars; } + /** * Gets whether the horizontal scroll bar is currently shown. */ @@ -281,6 +283,7 @@ _content.bestSize.width > _availableRect.width; } } + /** * Gets the combined width of all the controls docked on the left side of * this scrollable. @@ -300,7 +303,9 @@ Rect contentVisibleRect() { return _visibleRect; } + Panel content() { return _content; } + BorderSize borderSize() { return Theme.current.Scrollable_borderSize(this); }