From 2703a8dcf1ef4745ec313af008a86681276f5a39 Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Tue, 29 Oct 2019 19:06:23 -0400
Subject: [PATCH] Antialias button.

---
 GroupEditor.java |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/GroupEditor.java b/GroupEditor.java
index e5d255d..fac0d64 100644
--- a/GroupEditor.java
+++ b/GroupEditor.java
@@ -1112,6 +1112,10 @@
 //		sevenButton.addActionListener(this);
                 //
                 
+                oe.toolbarPanel.add(antialiasCB = GetToggleButton("icons/antialias.png", Globals.isLIVE())); //, oe.aConstraints);
+                antialiasCB.setToolTipText("Final render");
+                                antialiasCB.addItemListener(this);
+                
 		oe.toolbarPanel.add(screenfitButton = GetButton("icons/fit.png", !Globals.NIMBUSLAF)); //, oe.aConstraints);
                 screenfitButton.setToolTipText("Screen fit");
 		screenfitButton.addActionListener(this);
@@ -1545,6 +1549,7 @@
         }
 
         cToggleButton liveCB;
+        cToggleButton antialiasCB;
         cCheckBox supportCB;
         cCheckBox localCB;
         cCheckBox crowdCB;
@@ -1606,6 +1611,10 @@
             {
                 cameraView.ToggleLive();
                 refreshContents(false);
+            } else if(e.getSource() == antialiasCB)
+            {
+                cameraView.ToggleAntialiasing();
+                refreshContents(false);
             }
             else if(e.getSource() == supportCB)
             {

--
Gitblit v1.6.2