mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-25 14:36:13 +01:00
37 lines
No EOL
800 B
Text
37 lines
No EOL
800 B
Text
/// @description
|
|
event_inherited();
|
|
|
|
#region keys
|
|
name = "Key display";
|
|
alpha = 0;
|
|
disp_text = "";
|
|
depth = -999;
|
|
last_key = "";
|
|
|
|
show_doubleclick = false;
|
|
show_graph = false;
|
|
|
|
menu = [
|
|
menuItem("Toggle double click bar", function() /*=>*/ { show_doubleclick = !show_doubleclick; }),
|
|
menuItem("Toggle graph", function() /*=>*/ { show_graph = !show_graph; }),
|
|
];
|
|
|
|
extra_keys = [
|
|
[vk_control, "Ctrl"],
|
|
[vk_shift, "Shift"],
|
|
[vk_alt, "Alt"],
|
|
[vk_tab, "Tab"],
|
|
[vk_backspace, "Backspace"],
|
|
[vk_delete, "Delete"],
|
|
[vk_escape, "Escape"],
|
|
[vk_up, "Up"],
|
|
[vk_down, "Down"],
|
|
[vk_left, "Left"],
|
|
[vk_right, "Right"],
|
|
];
|
|
|
|
mouse_left = [];
|
|
mouse_right = [];
|
|
|
|
mouse_pos = [];
|
|
#endregion |