Mercurial > projects > dynamin
diff dynamin/gui/scrollable.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/scrollable.d Tue May 15 22:06:02 2012 -0500 +++ b/dynamin/gui/scrollable.d Fri Jul 06 18:39:45 2012 -0500 @@ -126,8 +126,8 @@ ScrollBar _hScrollBar, _vScrollBar; ScrollableClipper _clipper; - real _sbSize; - real _leftControlsWidth, _topControlsHeight; + double _sbSize; + double _leftControlsWidth, _topControlsHeight; // the area the content could be shown if no scroll bars Rect _availableRect; // the area the content is actually visible, after scroll bars are @@ -273,14 +273,14 @@ * Gets the combined width of all the controls docked on the left side of * this scrollable. */ - real leftControlsWidth() { + double leftControlsWidth() { return _leftControlsWidth; } /** * Gets the combined height of all the controls docked on the top side of * this scrollable. */ - real topControlsHeight() { + double topControlsHeight() { return _topControlsHeight; }