Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
purr-data
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Pranay Gupta
purr-data
Commits
bda84c4b
Commit
bda84c4b
authored
Feb 01, 2019
by
Jonathan Wilkes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hack to change default patch fontsize to 12, css fixes, dialog focus fixes
parent
ac536d2f
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
135 additions
and
55 deletions
+135
-55
packages/darwin_app/org.puredata.pd-l2ork.default.plist
packages/darwin_app/org.puredata.pd-l2ork.default.plist
+1
-1
packages/darwin_app/org.puredata.pd-l2ork.light.plist
packages/darwin_app/org.puredata.pd-l2ork.light.plist
+1
-1
packages/linux_make/default.settings
packages/linux_make/default.settings
+1
-0
packages/linux_make/light.settings
packages/linux_make/light.settings
+1
-0
packages/win32_inno/pd-settings-light.reg
packages/win32_inno/pd-settings-light.reg
+1
-1
packages/win32_inno/pd-settings.reg
packages/win32_inno/pd-settings.reg
+1
-1
pd/nw/css/c64.css
pd/nw/css/c64.css
+5
-0
pd/nw/css/default.css
pd/nw/css/default.css
+8
-3
pd/nw/css/extended.css
pd/nw/css/extended.css
+5
-0
pd/nw/css/footgun.css
pd/nw/css/footgun.css
+5
-0
pd/nw/css/inverted.css
pd/nw/css/inverted.css
+5
-0
pd/nw/css/solarized.css
pd/nw/css/solarized.css
+5
-0
pd/nw/css/solarized_inverted.css
pd/nw/css/solarized_inverted.css
+5
-0
pd/nw/css/strongbad.css
pd/nw/css/strongbad.css
+5
-0
pd/nw/css/subdued.css
pd/nw/css/subdued.css
+5
-0
pd/nw/css/vanilla.css
pd/nw/css/vanilla.css
+5
-0
pd/nw/css/vanilla_inverted.css
pd/nw/css/vanilla_inverted.css
+5
-0
pd/nw/dialog_prefs.html
pd/nw/dialog_prefs.html
+62
-47
pd/nw/pdgui.js
pd/nw/pdgui.js
+9
-1
No files found.
packages/darwin_app/org.puredata.pd-l2ork.default.plist
View file @
bda84c4b
...
...
@@ -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>
...
...
packages/darwin_app/org.puredata.pd-l2ork.light.plist
View file @
bda84c4b
...
...
@@ -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>
...
...
packages/linux_make/default.settings
View file @
bda84c4b
standardpath: 1
verbose: 0
defeatrt: 0
flags: -font-size 12
loadlib1: libdir
loadlib2: Gem
loadlib3: cyclone
...
...
packages/linux_make/light.settings
View file @
bda84c4b
...
...
@@ -7,3 +7,4 @@ nloadlib: 2
path1: ~/pd-l2ork-externals
path2: /usr/lib/pd-l2ork/extra/pddp
npath: 2
flags: -font-size 12
packages/win32_inno/pd-settings-light.reg
View file @
bda84c4b
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Pd-extended]
"flags"=""
"flags"="
-font-size 12
"
"loadlib1"="libdir"
"loadlib2"="pddp"
"nloadlib"=2
...
...
packages/win32_inno/pd-settings.reg
View file @
bda84c4b
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Pd-extended]
"flags"=""
"flags"="
-font-size 12
"
"loadlib1"="libdir"
"loadlib2"="Gem"
"loadlib3"="cyclone"
...
...
pd/nw/css/c64.css
View file @
bda84c4b
...
...
@@ -619,6 +619,11 @@ div.y2 {
color
:
#a49aea
;
}
/* Sample rate input */
input
[
name
=
"rate"
]
{
width
:
4em
;
}
#prefs_buttons
{
display
:
table
;
height
:
10vh
;
...
...
pd/nw/css/default.css
View file @
bda84c4b
...
...
@@ -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
;
...
...
pd/nw/css/extended.css
View file @
bda84c4b
...
...
@@ -593,6 +593,11 @@ div.y2 {
padding-top
:
8px
;
}
/* Sample rate input */
input
[
name
=
"rate"
]
{
width
:
4em
;
}
#prefs_buttons
{
display
:
table
;
height
:
10vh
;
...
...
pd/nw/css/footgun.css
View file @
bda84c4b
...
...
@@ -750,6 +750,11 @@ div.y2 {
padding-top
:
8px
;
}
/* Sample rate input */
input
[
name
=
"rate"
]
{
width
:
4em
;
}
#prefs_buttons
{
display
:
table
;
height
:
10vh
;
...
...
pd/nw/css/inverted.css
View file @
bda84c4b
...
...
@@ -632,6 +632,11 @@ div.y2 {
padding-top
:
8px
;
}
/* Sample rate input */
input
[
name
=
"rate"
]
{
width
:
4em
;
}
#prefs_buttons
{
display
:
table
;
height
:
10vh
;
...
...
pd/nw/css/solarized.css
View file @
bda84c4b
...
...
@@ -623,6 +623,11 @@ div.y2 {
padding-top
:
8px
;
}
/* Sample rate input */
input
[
name
=
"rate"
]
{
width
:
4em
;
}
#prefs_buttons
{
display
:
table
;
height
:
10vh
;
...
...
pd/nw/css/solarized_inverted.css
View file @
bda84c4b
...
...
@@ -624,6 +624,11 @@ div.y2 {
padding-top
:
8px
;
}
/* Sample rate input */
input
[
name
=
"rate"
]
{
width
:
4em
;
}
#prefs_buttons
{
display
:
table
;
height
:
10vh
;
...
...
pd/nw/css/strongbad.css
View file @
bda84c4b
...
...
@@ -605,6 +605,11 @@ div.y2 {
padding-top
:
8px
;
}
/* Sample rate input */
input
[
name
=
"rate"
]
{
width
:
4em
;
}
#prefs_buttons
{
display
:
table
;
height
:
10vh
;
...
...
pd/nw/css/subdued.css
View file @
bda84c4b
...
...
@@ -608,6 +608,11 @@ div.y2 {
padding-top
:
8px
;
}
/* Sample rate input */
input
[
name
=
"rate"
]
{
width
:
4em
;
}
#prefs_buttons
{
display
:
table
;
height
:
10vh
;
...
...
pd/nw/css/vanilla.css
View file @
bda84c4b
...
...
@@ -593,6 +593,11 @@ div.y2 {
padding-top
:
8px
;
}
/* Sample rate input */
input
[
name
=
"rate"
]
{
width
:
4em
;
}
#prefs_buttons
{
display
:
table
;
height
:
10vh
;
...
...
pd/nw/css/vanilla_inverted.css
View file @
bda84c4b
...
...
@@ -611,6 +611,11 @@ div.y2 {
padding-top
:
8px
;
}
/* Sample rate input */
input
[
name
=
"rate"
]
{
width
:
4em
;
}
#prefs_buttons
{
display
:
table
;
height
:
10vh
;
...
...
pd/nw/dialog_prefs.html
View file @
bda84c4b
...
...
@@ -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"
>
...
...
pd/nw/pdgui.js
View file @
bda84c4b
...
...
@@ -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
])
{
dialog
win
[
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
"
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment