diff options
author | David Robillard <d@drobilla.net> | 2012-04-25 03:35:33 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-25 03:35:33 +0000 |
commit | 02c35e896077c65f27520dda23f033883bd38203 (patch) | |
tree | e416da6729d4ec059786c63a308d758c4c92cbad /src/gui | |
parent | 60225956989f53f4576886b129b771a9f69b3a6f (diff) | |
download | ingen-02c35e896077c65f27520dda23f033883bd38203.tar.gz ingen-02c35e896077c65f27520dda23f033883bd38203.tar.bz2 ingen-02c35e896077c65f27520dda23f033883bd38203.zip |
Move more functionality down to C canvas.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4271 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/PatchBox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/PatchBox.cpp b/src/gui/PatchBox.cpp index bd47a88a..77428203 100644 --- a/src/gui/PatchBox.cpp +++ b/src/gui/PatchBox.cpp @@ -586,7 +586,7 @@ PatchBox::event_draw() } if (confirm) { - _view->canvas()->render_to_dot(filename); + _view->canvas()->export_dot(filename.c_str()); _status_bar->push( (boost::format("Rendered %1% to %2%") % _patch->path() % filename).str(), STATUS_CONTEXT_PATCH); @@ -651,7 +651,7 @@ PatchBox::event_zoom_out() void PatchBox::event_zoom_normal() { - _view->canvas()->set_zoom_and_font_size(1.0, _view->canvas()->get_default_font_size()); + _view->canvas()->set_scale(1.0, _view->canvas()->get_default_font_size()); } void |