Add fast-back and fast-forward glyphs
This commit is contained in:
parent
af1c1ae248
commit
947516e905
Binary file not shown.
@ -36,9 +36,9 @@ public enum CppSpecialButton {
|
|||||||
history_undo("↶", '\ue007'),
|
history_undo("↶", '\ue007'),
|
||||||
history_redo("↷", '\ue008'),
|
history_redo("↷", '\ue008'),
|
||||||
cursor_right("▷", '\ue003'),
|
cursor_right("▷", '\ue003'),
|
||||||
cursor_to_end(">>"),
|
cursor_to_end(">>", '\ue00b'),
|
||||||
cursor_left("◁", '\ue002'),
|
cursor_left("◁", '\ue002'),
|
||||||
cursor_to_start("<<"),
|
cursor_to_start("<<", '\ue00a'),
|
||||||
settings("settings"),
|
settings("settings"),
|
||||||
settings_widget("settings_widget"),
|
settings_widget("settings_widget"),
|
||||||
like("like", '\ue006'),
|
like("like", '\ue006'),
|
||||||
@ -116,7 +116,7 @@ public enum CppSpecialButton {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
for (CppSpecialButton button : values()) {
|
for (CppSpecialButton button : values()) {
|
||||||
if(button.glyph == 0) {
|
if (button.glyph == 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
final int position = glyphToPosition(button.glyph);
|
final int position = glyphToPosition(button.glyph);
|
||||||
|
@ -28,6 +28,6 @@
|
|||||||
xmlns:c="http://schemas.android.com/apk/res-auto"
|
xmlns:c="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
a:text="@string/cpp_glyph_left"
|
a:text="@string/cpp_glyph_left"
|
||||||
c:directionTextUp="<<"
|
c:directionTextUp="@string/cpp_glyph_fast_back"
|
||||||
c:directionTextDown="@string/cpp_glyph_copy"
|
c:directionTextDown="@string/cpp_glyph_copy"
|
||||||
tools:ignore="HardcodedText" />
|
tools:ignore="HardcodedText" />
|
@ -28,6 +28,6 @@
|
|||||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:text="@string/cpp_glyph_right"
|
android:text="@string/cpp_glyph_right"
|
||||||
app:directionTextUp=">>"
|
app:directionTextUp="@string/cpp_glyph_fast_forward"
|
||||||
app:directionTextDown="@string/cpp_glyph_paste"
|
app:directionTextDown="@string/cpp_glyph_paste"
|
||||||
tools:ignore="HardcodedText" />
|
tools:ignore="HardcodedText" />
|
@ -10,4 +10,6 @@
|
|||||||
<string name="cpp_glyph_undo" translatable="false">"\ue007"</string>
|
<string name="cpp_glyph_undo" translatable="false">"\ue007"</string>
|
||||||
<string name="cpp_glyph_redo" translatable="false">"\ue008"</string>
|
<string name="cpp_glyph_redo" translatable="false">"\ue008"</string>
|
||||||
<string name="cpp_glyph_graph" translatable="false">"\ue009"</string>
|
<string name="cpp_glyph_graph" translatable="false">"\ue009"</string>
|
||||||
|
<string name="cpp_glyph_fast_back" translatable="false">"\ue00a"</string>
|
||||||
|
<string name="cpp_glyph_fast_forward" translatable="false">"\ue00b"</string>
|
||||||
</resources>
|
</resources>
|
Loading…
Reference in New Issue
Block a user