Commit 90588ed7 authored by Albert Gräf's avatar Albert Gräf
Browse files

New about patch (experimental).

parent 3dd4df1f
...@@ -695,7 +695,7 @@ function nw_create_pd_window_menus(gui, w) { ...@@ -695,7 +695,7 @@ function nw_create_pd_window_menus(gui, w) {
// Help sub-entries // Help sub-entries
minit(m.help.about, { minit(m.help.about, {
click: function() { click: function() {
pdgui.pd_doc_open("doc/1.manual", "1.introduction.txt"); pdgui.pd_doc_open("doc/about", "about.pd");
} }
}); });
minit(m.help.manual, { minit(m.help.manual, {
......
...@@ -1525,7 +1525,7 @@ function nw_create_patch_window_menus(gui, w, name) { ...@@ -1525,7 +1525,7 @@ function nw_create_patch_window_menus(gui, w, name) {
// Help menu // Help menu
minit(m.help.about, { minit(m.help.about, {
click: function() { click: function() {
pdgui.pd_doc_open("doc/1.manual", "1.introduction.txt"); pdgui.pd_doc_open("doc/about", "about.pd");
} }
}); });
minit(m.help.manual, { minit(m.help.manual, {
......
...@@ -3449,7 +3449,7 @@ function gui_drawimage_new(obj_tag, file_path, canvasdir, flags) { ...@@ -3449,7 +3449,7 @@ function gui_drawimage_new(obj_tag, file_path, canvasdir, flags) {
} else { } else {
i = 0; i = 0;
} }
post("no of files: " + i); //post("no of files: " + i);
if (i > 0) { if (i > 0) {
img = new pd_window.Image(); // create an image in the pd_window context img = new pd_window.Image(); // create an image in the pd_window context
......
...@@ -7372,7 +7372,7 @@ void drawimage_size(t_drawimage *x, t_float w, t_float h) ...@@ -7372,7 +7372,7 @@ void drawimage_size(t_drawimage *x, t_float w, t_float h)
{ {
x->x_w = w; x->x_w = w;
x->x_h = h; x->x_h = h;
post("w is %g and h is %g", w, h); //post("w is %g and h is %g", w, h);
} }
static int drawimage_getindex(void *z, t_template *template, t_word *data) static int drawimage_getindex(void *z, t_template *template, t_word *data)
......
...@@ -199,6 +199,7 @@ install: all ...@@ -199,6 +199,7 @@ install: all
done done
# kludge install of additional pd-l2ork data structures docs # kludge install of additional pd-l2ork data structures docs
cp -rf ../doc/4.data.structures/pd-l2ork $(DESTDIR)$(pddocdir)/4.data.structures/ cp -rf ../doc/4.data.structures/pd-l2ork $(DESTDIR)$(pddocdir)/4.data.structures/
cp -rf ../doc/about $(DESTDIR)$(pddocdir)/
# and now the rest # and now the rest
for dir in $(shell ls -1 ../doc/7.stuff | grep -v CVS); do \ for dir in $(shell ls -1 ../doc/7.stuff | grep -v CVS); do \
echo "installing 7.stuff/$$dir"; \ echo "installing 7.stuff/$$dir"; \
......
...@@ -295,6 +295,7 @@ install: all ...@@ -295,6 +295,7 @@ install: all
install -d $(pddocdir)/4.data.structures/pd-l2ork/$$dir ; \ install -d $(pddocdir)/4.data.structures/pd-l2ork/$$dir ; \
install -p ../doc/4.data.structures/pd-l2ork/$$dir/*.* $(pddocdir)/4.data.structures/pd-l2ork/$$dir ; \ install -p ../doc/4.data.structures/pd-l2ork/$$dir/*.* $(pddocdir)/4.data.structures/pd-l2ork/$$dir ; \
done done
cp -rf ../doc/about $(pddocdir)/
for dir in $(shell ls -1 ../doc/7.stuff | grep -v CVS); do \ for dir in $(shell ls -1 ../doc/7.stuff | grep -v CVS); do \
echo "installing 7.stuff/$$dir"; \ echo "installing 7.stuff/$$dir"; \
install -d $(pddocdir)/7.stuff/$$dir ; \ install -d $(pddocdir)/7.stuff/$$dir ; \
......
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