Mercurial > projects > dwt-addons
comparison dwtx/draw2d/ToolbarLayout.d @ 192:c3583c6ec027
Added missing default cases for switch statements
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 03 Nov 2008 22:52:26 +0100 |
parents | 95307ad235d9 |
children |
comparison
equal
deleted
inserted
replaced
191:1ef729510ed6 | 192:c3583c6ec027 |
---|---|
356 case ALIGN_CENTER: | 356 case ALIGN_CENTER: |
357 adjust /= 2; | 357 adjust /= 2; |
358 break; | 358 break; |
359 case ALIGN_BOTTOMRIGHT: | 359 case ALIGN_BOTTOMRIGHT: |
360 break; | 360 break; |
361 default: | |
361 } | 362 } |
362 newBounds.x += adjust; | 363 newBounds.x += adjust; |
363 newBounds.height -= amntShrinkCurrentHeight; | 364 newBounds.height -= amntShrinkCurrentHeight; |
364 child.setBounds(transposer.t(newBounds)); | 365 child.setBounds(transposer.t(newBounds)); |
365 | 366 |