mirror of
https://github.com/TrianguloY/LightningLauncher.git
synced 2024-12-26 09:58:20 +01:00
Replaced the ascii arrows with typeface arrow icons
This commit is contained in:
parent
283aca4426
commit
088329a9f3
1 changed files with 7 additions and 8 deletions
|
@ -1278,9 +1278,9 @@ public class ScriptEditor extends ResourceWrapperActivity implements View.OnClic
|
|||
private int key;
|
||||
private String label;
|
||||
|
||||
ShortcutKey(String label, int key) {
|
||||
ShortcutKey(int key, String iconLabel) {
|
||||
this.key = key;
|
||||
this.label = label;
|
||||
this.label = iconLabel;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -1290,7 +1290,7 @@ public class ScriptEditor extends ResourceWrapperActivity implements View.OnClic
|
|||
|
||||
@Override
|
||||
public boolean isLabelIcon() {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -1393,11 +1393,10 @@ public class ScriptEditor extends ResourceWrapperActivity implements View.OnClic
|
|||
|
||||
// list of shortcuts to display
|
||||
private Shortcut[] mShortcuts = new Shortcut[]{
|
||||
//TODO: replace the arrows with typeface icons
|
||||
new ShortcutKey("←",KeyEvent.KEYCODE_DPAD_LEFT),
|
||||
new ShortcutKey("↑",KeyEvent.KEYCODE_DPAD_UP),
|
||||
new ShortcutKey("↓",KeyEvent.KEYCODE_DPAD_DOWN),
|
||||
new ShortcutKey("→",KeyEvent.KEYCODE_DPAD_RIGHT),
|
||||
new ShortcutKey(KeyEvent.KEYCODE_DPAD_LEFT, "|"),
|
||||
new ShortcutKey(KeyEvent.KEYCODE_DPAD_UP, "~"),
|
||||
new ShortcutKey(KeyEvent.KEYCODE_DPAD_DOWN, "{"),
|
||||
new ShortcutKey(KeyEvent.KEYCODE_DPAD_RIGHT, "}"),
|
||||
new ShortcutAction(SA.DEC_TAB),
|
||||
new ShortcutAction(SA.INC_TAB),
|
||||
new ShortcutText("(", ")"),
|
||||
|
|
Loading…
Reference in a new issue