Commit 34d72e43 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

hook pd->gui preset initialization into the "skin" object

parent dec3b6c0
...@@ -49,7 +49,7 @@ exports.get_pd_opendir = function() { ...@@ -49,7 +49,7 @@ exports.get_pd_opendir = function() {
} }
function gui_set_gui_preset(name) { function gui_set_gui_preset(name) {
post("the gui preset is " + name); skin.set(name);
} }
exports.set_last_clipboard_data = function(data) { exports.set_last_clipboard_data = function(data) {
...@@ -3854,7 +3854,7 @@ function gui_gui_properties(dummy, name) { ...@@ -3854,7 +3854,7 @@ function gui_gui_properties(dummy, name) {
} }
// Let's try a closure for gui skins // Let's try a closure for gui skins
exports.skin = (function () { var skin = exports.skin = (function () {
var dir = "css/"; var dir = "css/";
var preset = "default"; var preset = "default";
var id; var id;
......
Supports Markdown
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