comparison Framework/StoneEnumerations.h @ 327:8716176ff7f0 am-2

added support for arrow keys
author am@osimis.io
date Tue, 16 Oct 2018 15:25:21 +0200
parents 9afafb192180
children a7de01c8fd29
comparison
equal deleted inserted replaced
326:612238b3f3e8 327:8716176ff7f0
73 KeyboardModifiers_Shift = (1 << 0), 73 KeyboardModifiers_Shift = (1 << 0),
74 KeyboardModifiers_Control = (1 << 1), 74 KeyboardModifiers_Control = (1 << 1),
75 KeyboardModifiers_Alt = (1 << 2) 75 KeyboardModifiers_Alt = (1 << 2)
76 }; 76 };
77 77
78 enum KeyboardKeys
79 {
80 KeyboardKeys_Generic = 0,
81
82 // let's use the same ids as in javascript to avoid some conversion in WASM: https://css-tricks.com/snippets/javascript/javascript-keycodes/
83 KeyboardKeys_Left = 37,
84 KeyboardKeys_Up = 38,
85 KeyboardKeys_Right = 39,
86 KeyboardKeys_Down = 40
87 };
88
78 enum SliceImageQuality 89 enum SliceImageQuality
79 { 90 {
80 SliceImageQuality_FullPng, // smaller to transmit but longer to generate on Orthanc side (better choice when on low bandwidth) 91 SliceImageQuality_FullPng, // smaller to transmit but longer to generate on Orthanc side (better choice when on low bandwidth)
81 SliceImageQuality_FullPam, // bigger to transmit but faster to generate on Orthanc side (better choice when on localhost or LAN) 92 SliceImageQuality_FullPam, // bigger to transmit but faster to generate on Orthanc side (better choice when on localhost or LAN)
82 SliceImageQuality_Jpeg50, 93 SliceImageQuality_Jpeg50,