Mercurial > projects > dwt-win
comparison dwt/widgets/ScrollBar.d @ 331:27479f54069d
Removed trace outputs.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 27 Jan 2009 10:40:55 +0100 |
parents | fd9c62a2998e |
children |
comparison
equal
deleted
inserted
replaced
330:f980ea238e72 | 331:27479f54069d |
---|---|
24 import dwt.widgets.TypedListener; | 24 import dwt.widgets.TypedListener; |
25 import dwt.widgets.Event; | 25 import dwt.widgets.Event; |
26 import dwt.widgets.Scrollable; | 26 import dwt.widgets.Scrollable; |
27 | 27 |
28 import dwt.dwthelper.utils; | 28 import dwt.dwthelper.utils; |
29 import tango.util.log.Trace; | |
30 void trc( long line ){ | |
31 //Trace.formatln( "ScrollBar {}", line ); | |
32 } | |
33 | 29 |
34 /** | 30 /** |
35 * Instances of this class are selectable user interface | 31 * Instances of this class are selectable user interface |
36 * objects that represent a range of positive, numeric values. | 32 * objects that represent a range of positive, numeric values. |
37 * <p> | 33 * <p> |
935 // widget could be disposed at this point | 931 // widget could be disposed at this point |
936 } | 932 } |
937 } | 933 } |
938 | 934 |
939 LRESULT wmScrollChild (int /*long*/ wParam, int /*long*/ lParam) { | 935 LRESULT wmScrollChild (int /*long*/ wParam, int /*long*/ lParam) { |
940 trc(__LINE__); | |
941 | 936 |
942 /* Do nothing when scrolling is ending */ | 937 /* Do nothing when scrolling is ending */ |
943 int code = OS.LOWORD (wParam); | 938 int code = OS.LOWORD (wParam); |
944 if (code is OS.SB_ENDSCROLL) return null; | 939 if (code is OS.SB_ENDSCROLL) return null; |
945 | 940 |