diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-13 22:27:20 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-18 19:34:21 +0100 |
commit | 45637b81cfac4a630ebc5814a8a1498ac1a28529 (patch) | |
tree | 2cedc1344560c4304e0b7b4e4602ef0fefcab94c /src/menu/software_mouse_pointer.cpp | |
parent | 91337be4652b0f8c822de58d3c646423b1967bf0 (diff) | |
download | usdx-45637b81cfac4a630ebc5814a8a1498ac1a28529.tar.gz usdx-45637b81cfac4a630ebc5814a8a1498ac1a28529.tar.xz usdx-45637b81cfac4a630ebc5814a8a1498ac1a28529.zip |
drawable_control: add focusable property
drawable controls could now disable the ability to receive focus
Diffstat (limited to '')
-rw-r--r-- | src/menu/software_mouse_pointer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/menu/software_mouse_pointer.cpp b/src/menu/software_mouse_pointer.cpp index c99f4315..9c9bfc38 100644 --- a/src/menu/software_mouse_pointer.cpp +++ b/src/menu/software_mouse_pointer.cpp @@ -45,6 +45,7 @@ namespace usdx set_position(0, 0); set_size(40, 40); + set_focusable(false); texture_normal = new Disposer<Texture>(new Texture("game/themes/Deluxe/interface/cursor.png")); texture_pressed = new Disposer<Texture>(new Texture("game/themes/Deluxe/interface/cursor_pressed.png")); |