Commit bda84c4b authored by Jonathan Wilkes's avatar Jonathan Wilkes

hack to change default patch fontsize to 12, css fixes, dialog focus fixes

parent ac536d2f
Pipeline #1462 passed with stage
in 323 minutes and 28 seconds
......@@ -5,7 +5,7 @@
<key>defeatrt</key>
<string>0</string>
<key>flags</key>
<string>-helppath ~/Library/Pd-l2ork -helppath /Library/Pd-l2ork</string>
<string>-font-size 12 -helppath ~/Library/Pd-l2ork -helppath /Library/Pd-l2ork</string>
<key>loadlib1</key>
<string>libdir</string>
<key>loadlib2</key>
......
......@@ -5,7 +5,7 @@
<key>defeatrt</key>
<string>0</string>
<key>flags</key>
<string>-helppath ~/Library/Pd-l2ork -helppath /Library/Pd-l2ork</string>
<string>-font-size 12 -helppath ~/Library/Pd-l2ork -helppath /Library/Pd-l2ork</string>
<key>loadlib1</key>
<string>libdir</string>
<key>loadlib2</key>
......
standardpath: 1
verbose: 0
defeatrt: 0
flags: -font-size 12
loadlib1: libdir
loadlib2: Gem
loadlib3: cyclone
......
......@@ -7,3 +7,4 @@ nloadlib: 2
path1: ~/pd-l2ork-externals
path2: /usr/lib/pd-l2ork/extra/pddp
npath: 2
flags: -font-size 12
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Pd-extended]
"flags"=""
"flags"="-font-size 12"
"loadlib1"="libdir"
"loadlib2"="pddp"
"nloadlib"=2
......
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Pd-extended]
"flags"=""
"flags"="-font-size 12"
"loadlib1"="libdir"
"loadlib2"="Gem"
"loadlib3"="cyclone"
......
......@@ -619,6 +619,11 @@ div.y2 {
color: #a49aea;
}
/* Sample rate input */
input[name="rate"] {
width: 4em;
}
#prefs_buttons {
display: table;
height: 10vh;
......
......@@ -193,7 +193,7 @@ mark.console_find_highlighted {
width: 100%;
height: 1em;
padding: 0.2em;
padding-left:8px;
padding-left: 8px;
background: silver;
position: fixed;
bottom: 0;
......@@ -556,11 +556,11 @@ legend {
/* Iemgui dialog */
input[type="text"]{
width:3em;
width: 3em;
}
input[type="number"]{
width:3em;
width: 3em;
}
label {
......@@ -744,6 +744,11 @@ div.y2 {
padding-top: 8px;
}
/* Sample rate input */
input[name="rate"] {
width: 4em;
}
#prefs_buttons {
display: table;
height: 10vh;
......
......@@ -593,6 +593,11 @@ div.y2 {
padding-top: 8px;
}
/* Sample rate input */
input[name="rate"] {
width: 4em;
}
#prefs_buttons {
display: table;
height: 10vh;
......
......@@ -750,6 +750,11 @@ div.y2 {
padding-top: 8px;
}
/* Sample rate input */
input[name="rate"] {
width: 4em;
}
#prefs_buttons {
display: table;
height: 10vh;
......
......@@ -632,6 +632,11 @@ div.y2 {
padding-top: 8px;
}
/* Sample rate input */
input[name="rate"] {
width: 4em;
}
#prefs_buttons {
display: table;
height: 10vh;
......
......@@ -623,6 +623,11 @@ div.y2 {
padding-top: 8px;
}
/* Sample rate input */
input[name="rate"] {
width: 4em;
}
#prefs_buttons {
display: table;
height: 10vh;
......
......@@ -624,6 +624,11 @@ div.y2 {
padding-top: 8px;
}
/* Sample rate input */
input[name="rate"] {
width: 4em;
}
#prefs_buttons {
display: table;
height: 10vh;
......
......@@ -605,6 +605,11 @@ div.y2 {
padding-top: 8px;
}
/* Sample rate input */
input[name="rate"] {
width: 4em;
}
#prefs_buttons {
display: table;
height: 10vh;
......
......@@ -608,6 +608,11 @@ div.y2 {
padding-top: 8px;
}
/* Sample rate input */
input[name="rate"] {
width: 4em;
}
#prefs_buttons {
display: table;
height: 10vh;
......
......@@ -593,6 +593,11 @@ div.y2 {
padding-top: 8px;
}
/* Sample rate input */
input[name="rate"] {
width: 4em;
}
#prefs_buttons {
display: table;
height: 10vh;
......
......@@ -611,6 +611,11 @@ div.y2 {
padding-top: 8px;
}
/* Sample rate input */
input[name="rate"] {
width: 4em;
}
#prefs_buttons {
display: table;
height: 10vh;
......
......@@ -40,57 +40,72 @@
</label>
<div class="tab1">
<div class="tab_settings">
<label data-i18n="[title]prefs.audio.api_tt">
<span data-i18n="prefs.audio.api"></span>
<select id="audio_api" onchange="change_api(this);">
</select>
</label>
</div>
<div class="tab_settings">
<label data-i18n="[title]prefs.audio.sr_tt">
<span data-i18n="prefs.audio.sr"></span>
<input type="text"
id="rate"
name="rate"
onchange="attr_change(this);">
</label>
</div>
<div class="tab_settings">
<label data-i18n="[title]prefs.audio.blocksize_tt">
<span data-i18n="prefs.audio.blocksize"></span>
<select id="blocksize"
onchange="attr_change(this);">
<option value="64">64</option>
<option value="128">128</option>
<option value="256">256</option>
<option value="512">512</option>
<option value="1024">1024</option>
<option value="2048">2048</option>
</select>
</label>
<label data-i18n="[title]prefs.audio.advance_tt">
<span data-i18n="prefs.audio.advance"></span>
<input type="text"
id="advance"
name="advance"
onchange="attr_change(this);">
</label>
</div>
<div class="tab_settings">
<span id="callback_container" class="hidden">
<label data-i18n="[title]prefs.audio.callback_tt">
<table class="tab_settings">
<tr data-i18n="[title]prefs.audio.api_tt">
<td>
<span data-i18n="prefs.audio.api"></span>
</td>
<td>
<select id="audio_api" onchange="change_api(this);">
</select>
</td>
</tr>
<tr data-i18n="[title]prefs.audio.sr_tt">
<td>
<span data-i18n="prefs.audio.sr"></span>
</td>
<td>
<input type="text"
id="rate"
name="rate"
onchange="attr_change(this);">
</td>
</tr>
<tr data-i18n="[title]prefs.audio.blocksize_tt">
<td>
<span data-i18n="prefs.audio.blocksize"></span>
</td>
<td>
<select id="blocksize"
onchange="attr_change(this);">
<option value="64">64</option>
<option value="128">128</option>
<option value="256">256</option>
<option value="512">512</option>
<option value="1024">1024</option>
<option value="2048">2048</option>
</select>
</td>
<tr data-i18n="[title]prefs.audio.advance_tt">
<td>
<span data-i18n="prefs.audio.advance"></span>
</td>
<td>
<input type="text"
id="advance"
name="advance"
onchange="attr_change(this);">
</td>
</tr>
<tr id="callback_container" class="hidden"
data-i18n="[title]prefs.audio.callback_tt">
<td>
<span data-i18n="prefs.audio.callback"></span>
</td>
<td>
<input type="checkbox" id="callback" name="callback">
</label>
</span>
<span id="multi_dev_container" class="hidden">
<label data-i18n="[title]prefs.audio.callback_tt">
</td>
</tr>
<tr id="multi_dev_container" class="hidden"
data-i18n="[title]prefs.audio.callback_tt">
<td>
<span data-i18n="prefs.audio.callback"></span>
</td>
<td>
<input type="checkbox" id="multi-dev" name="multi-dev">
</label>
</span>
</div>
</td>
</tr>
</table>
<table class="tab_settings">
<tr>
<td data-i18n="[title]prefs.audio.input_title_tt">
......
......@@ -5240,9 +5240,13 @@ function gui_text_dialog(did, width, height, font_size) {
font_size);
}
function dialog_raise(did) {
dialogwin[did].focus();
}
function gui_text_dialog_raise(did) {
if (dialogwin[did]) {
dialogwin[did].focus();
dialog_raise(did);
}
}
......@@ -5285,6 +5289,8 @@ function gui_pd_dsp(state) {
function open_prefs() {
if (!dialogwin["prefs"]) {
create_window("prefs", "prefs", 370, 470, 0, 0, null);
} else {
dialog_raise("prefs");
}
}
......@@ -5293,6 +5299,8 @@ exports.open_prefs = open_prefs;
function open_search() {
if (!dialogwin["search"]) {
create_window("search", "search", 300, 400, 20, 20, null);
} else {
dialog_raise("search");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment