comparison dwt/widgets/Scrollable.d @ 46:cfa563df4fdd

Updated Widget and Display to 3.514
author Jacob Carlborg <doob@me.com>
date Fri, 05 Dec 2008 16:00:41 +0100
parents d8635bb48c7c
children 8615c76f10e4
comparison
equal deleted inserted replaced
45:d8635bb48c7c 46:cfa563df4fdd
145 bar.parent = this; 145 bar.parent = this;
146 bar.style = style; 146 bar.style = style;
147 bar.display = display; 147 bar.display = display;
148 NSScroller scroller; 148 NSScroller scroller;
149 String actionSelector; 149 String actionSelector;
150 NSRect rect = new NSRect(); 150 NSRect rect = NSRect();
151 if ((style & DWT.H_SCROLL) !is 0) { 151 if ((style & DWT.H_SCROLL) !is 0) {
152 rect.width = 1; 152 rect.width = 1;
153 } else { 153 } else {
154 rect.height = 1; 154 rect.height = 1;
155 } 155 }