mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 06:09:17 +01:00
minor re-org
This commit is contained in:
@@ -91,10 +91,6 @@ public class Toolkit {
|
||||
/** Command on Mac OS X, Ctrl on Windows and Linux */
|
||||
static final int SHORTCUT_KEY_MASK =
|
||||
awtToolkit.getMenuShortcutKeyMask();
|
||||
|
||||
/** Command-W on Mac OS X, Ctrl-W on Windows and Linux */
|
||||
public static final KeyStroke WINDOW_CLOSE_KEYSTROKE =
|
||||
KeyStroke.getKeyStroke('W', SHORTCUT_KEY_MASK);
|
||||
/** Command-Option on Mac OS X, Ctrl-Alt on Windows and Linux */
|
||||
static final int SHORTCUT_ALT_KEY_MASK =
|
||||
ActionEvent.ALT_MASK | SHORTCUT_KEY_MASK;
|
||||
@@ -102,6 +98,10 @@ public class Toolkit {
|
||||
static final int SHORTCUT_SHIFT_KEY_MASK =
|
||||
ActionEvent.SHIFT_MASK | SHORTCUT_KEY_MASK;
|
||||
|
||||
/** Command-W on Mac OS X, Ctrl-W on Windows and Linux */
|
||||
static public final KeyStroke WINDOW_CLOSE_KEYSTROKE =
|
||||
KeyStroke.getKeyStroke('W', SHORTCUT_KEY_MASK);
|
||||
|
||||
|
||||
/**
|
||||
* Standardized width for buttons. Mac OS X 10.3 wants 70 as its default,
|
||||
|
||||
Reference in New Issue
Block a user