-
-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
383d3c4
commit 0a34301
Showing
7 changed files
with
185 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule foliate-js
updated
5 files
+18 −0 | README.md | |
+129 −26 | epub.js | |
+43 −0 | text-walker.js | |
+5 −47 | tts.js | |
+28 −25 | view.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<interface> | ||
<template class="FoliateMediaOverlayBox" parent="GtkBox"> | ||
<property name="orientation">vertical</property> | ||
<property name="spacing">9</property> | ||
<child> | ||
<object class="GtkGrid"> | ||
<property name="column-spacing">6</property> | ||
<property name="row-spacing">9</property> | ||
<property name="margin-start">6</property> | ||
<child> | ||
<object class="GtkLabel"> | ||
<property name="label" translatable="yes">Speed</property> | ||
<property name="xalign">0</property> | ||
<layout> | ||
<property name="row">1</property> | ||
<property name="column">0</property> | ||
</layout> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkScale" id="tts-rate-scale"> | ||
<property name="draw-value">False</property> | ||
<property name="width-request">200</property> | ||
<property name="hexpand">True</property> | ||
<property name="adjustment"> | ||
<object class="GtkAdjustment"> | ||
<property name="lower">-100</property> | ||
<property name="upper">100</property> | ||
<property name="step-increment">5</property> | ||
<property name="page-increment">10</property> | ||
<property name="value">0</property> | ||
</object> | ||
</property> | ||
<marks> | ||
<mark value="0"/> | ||
</marks> | ||
<layout> | ||
<property name="row">1</property> | ||
<property name="column">1</property> | ||
</layout> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkSeparator"/> | ||
</child> | ||
<child> | ||
<object class="GtkBox" id="media-buttons"> | ||
<property name="halign">center</property> | ||
<property name="spacing">12</property> | ||
<property name="margin-top">6</property> | ||
<property name="margin-bottom">6</property> | ||
<property name="margin-start">6</property> | ||
<property name="margin-end">6</property> | ||
<child> | ||
<object class="GtkButton"> | ||
<property name="valign">center</property> | ||
<property name="action-name">media-overlay.backward</property> | ||
<property name="tooltip-text" translatable="yes">Previous</property> | ||
<property name="icon-name">media-seek-backward-symbolic</property> | ||
<style><class name="circular"/><class name="flat"/></style> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkToggleButton" id="play-button"> | ||
<property name="action-name">media-overlay.play</property> | ||
<property name="tooltip-text" translatable="yes">Play/Pause</property> | ||
<property name="icon-name">media-playback-start-symbolic</property> | ||
<style><class name="circular"/><class name="large-button"/><class name="suggested-action"/></style> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkButton"> | ||
<property name="valign">center</property> | ||
<property name="action-name">media-overlay.forward</property> | ||
<property name="tooltip-text" translatable="yes">Next</property> | ||
<property name="icon-name">media-seek-forward-symbolic</property> | ||
<style><class name="circular"/><class name="flat"/></style> | ||
</object> | ||
</child> | ||
<child> | ||
<object class="GtkButton"> | ||
<property name="valign">center</property> | ||
<property name="action-name">media-overlay.stop</property> | ||
<property name="tooltip-text" translatable="yes">Stop</property> | ||
<property name="icon-name">media-playback-stop-symbolic</property> | ||
<style><class name="circular"/><class name="flat"/></style> | ||
</object> | ||
</child> | ||
</object> | ||
</child> | ||
</template> | ||
</interface> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters