Diff of /VVCEdit.cpp [477acb] .. [25ea8d] Maximize Restore

  Switch to side-by-side view

--- a/VVCEdit.cpp
+++ b/VVCEdit.cpp
@@ -28,7 +28,7 @@
 
 static int tranboxid1[]={0,IDC_TRANSPARENT,0,IDC_BRIGHTEST,IDC_MIRROR,IDC_MIRROR2,0,0};
 static int tranboxid2[]={0,0,0,0,0,0,0,0};
-static int tranboxid3[]={0,0,0,IDC_GREY,0,IDC_GLOW,0,0};
+static int tranboxid3[]={IDC_BLEND,0,0,IDC_GREY,0,IDC_GLOW,0,0};
 static int tranboxid4[]={0,IDC_TINT,0,0,0,0,0,0};
 
 void CVVCEdit::checkflags(int *boxids, int value)
@@ -228,6 +228,7 @@
 	ON_BN_CLICKED(IDC_U2, OnU2)
 	ON_BN_CLICKED(IDC_U3, OnU3)
 	ON_BN_CLICKED(IDC_MIRROR, OnMirror)
+	ON_BN_CLICKED(IDC_MIRROR2, OnMirror2)
 	ON_EN_KILLFOCUS(IDC_BAM, DefaultKillfocus)
 	ON_EN_KILLFOCUS(IDC_FLAG1, DefaultKillfocus)
 	ON_EN_KILLFOCUS(IDC_FLAG2, DefaultKillfocus)
@@ -265,7 +266,7 @@
 	ON_COMMAND(ID_CHECK, OnCheck)
 	ON_COMMAND(ID_FILE_SAVEAS, OnSaveas)
 	ON_EN_KILLFOCUS(IDC_UNKNOWN40, OnKillfocusSequencing)
-	ON_BN_CLICKED(IDC_MIRROR2, OnMirror2)
+	ON_BN_CLICKED(IDC_BLEND, OnBlend)
 	//}}AFX_MSG_MAP
 END_MESSAGE_MAP()
 
@@ -644,21 +645,27 @@
   UpdateData(UD_DISPLAY);
 }
 
+void CVVCEdit::OnBlend() 
+{
+	the_videocell.header.colouring^=1;
+  UpdateData(UD_DISPLAY);
+}
+
+void CVVCEdit::OnGlow() 
+{
+	the_videocell.header.colouring^=0x20;
+  UpdateData(UD_DISPLAY);
+}
+
+void CVVCEdit::OnGrey() 
+{
+	the_videocell.header.colouring^=8;
+  UpdateData(UD_DISPLAY);
+}
+
 void CVVCEdit::OnTint() 
 {
 	the_videocell.header.col2^=2;
-  UpdateData(UD_DISPLAY);
-}
-
-void CVVCEdit::OnGlow() 
-{
-	the_videocell.header.colouring^=0x20;
-  UpdateData(UD_DISPLAY);
-}
-
-void CVVCEdit::OnGrey() 
-{
-	the_videocell.header.colouring^=8;
   UpdateData(UD_DISPLAY);
 }