diff Framework/StoneEnumerations.h @ 1199:922d2e61aa5d

RadiograpyScene: can now remove any layer + new key wrappers for Delete/Backspace
author Alain Mazy <alain@mazy.be>
date Thu, 28 Nov 2019 18:28:15 +0100
parents be9c1530d40a
children 54cbffabdc45 771913258728
line wrap: on
line diff
--- a/Framework/StoneEnumerations.h	Wed Nov 27 17:56:48 2019 +0100
+++ b/Framework/StoneEnumerations.h	Thu Nov 28 18:28:15 2019 +0100
@@ -95,10 +95,12 @@
     KeyboardKeys_Generic = 0,
 
     // let's use the same ids as in javascript to avoid some conversion in WASM: https://css-tricks.com/snippets/javascript/javascript-keycodes/
+    KeyboardKeys_Backspace = 8,
     KeyboardKeys_Left = 37,
     KeyboardKeys_Up = 38,
     KeyboardKeys_Right = 39,
-    KeyboardKeys_Down = 40
+    KeyboardKeys_Down = 40,
+    KeyboardKeys_Delete = 46
   };
 
   enum SopClassUid