From 2ac4dd71ef2ec4cfdfd8e8621be0c8a4a83ab3d3 Mon Sep 17 00:00:00 2001 From: koldo Date: Sun, 12 Jul 2020 14:24:54 +0000 Subject: [PATCH] *GLCanvas: Fixed .upp git-svn-id: svn://ultimatepp.org/upp/trunk@14674 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- bazaar/GLCanvas/GLCanvas.cpp | 3 +-- bazaar/GLCanvas/GLCanvas.upp | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bazaar/GLCanvas/GLCanvas.cpp b/bazaar/GLCanvas/GLCanvas.cpp index eaf16ac41..962aef562 100644 --- a/bazaar/GLCanvas/GLCanvas.cpp +++ b/bazaar/GLCanvas/GLCanvas.cpp @@ -122,8 +122,7 @@ void GLCanvas::OnTypeImage(FileSel *_fs) { fs.file = ForceExt(GetFileName(~fs), ".pdf"); } -void GLCanvas::SaveToFile() -{ +void GLCanvas::SaveToFile() { GuiLock __; Image image = GetImage(); diff --git a/bazaar/GLCanvas/GLCanvas.upp b/bazaar/GLCanvas/GLCanvas.upp index 36e0eb638..672a81be1 100644 --- a/bazaar/GLCanvas/GLCanvas.upp +++ b/bazaar/GLCanvas/GLCanvas.upp @@ -1,10 +1,10 @@ description "A basic canvas for OpenGL primitives\377B255,170,0"; uses - GLCtrl, Surface, plugin/jpg, - PdfDraw; + PdfDraw, + GLCtrl; file GLCanvas.cpp,