Merge pull request #7 from yazd/patch-1

Implicit fallthrough fix
This commit is contained in:
Vadim Lopatin 2014-04-26 20:01:21 +04:00
commit 6526083bf9
1 changed files with 6 additions and 5 deletions

View File

@ -27,7 +27,7 @@ public import dlangui.graphics.drawbuf;
//public import dlangui.graphics.images;
public import dlangui.graphics.resources;
public import dlangui.graphics.fonts;
public import dlangui.core.i18n;
public import dlangui.core.i18n;
//public import std.signals;
public import dlangui.core.signals;
@ -47,10 +47,10 @@ enum Visibility : ubyte {
Gone
}
enum Orientation : ubyte {
Vertical,
Horizontal
}
enum Orientation : ubyte {
Vertical,
Horizontal
}
/// interface - slot for onClick
interface OnClickHandler {
@ -660,6 +660,7 @@ class Widget {
case KeyCode.DOWN:
if (flags == 0)
direction = FocusMovement.Down;
break;
case KeyCode.TAB:
if (flags == 0)
direction = FocusMovement.Next;