Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /VVCEdit.cpp [1c652f] .. [957778] Maximize Restore

  Switch to side-by-side view

--- a/VVCEdit.cpp
+++ b/VVCEdit.cpp
@@ -28,8 +28,8 @@
 
 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[]={IDC_BLEND,0,0,IDC_GREY,0,IDC_GLOW,0,0};
-static int tranboxid4[]={0,IDC_TINT,0,0,0,0,0,0};
+static int tranboxid3[]={IDC_BLEND,IDC_TINT,0,IDC_GREY,0,IDC_GLOW,0,0};
+static int tranboxid4[]={0,IDC_RED,0,0,0,0,0,0};
 
 void CVVCEdit::checkflags(int *boxids, int value)
 {
@@ -249,6 +249,7 @@
 	ON_BN_CLICKED(IDC_MIRROR, OnMirror)
 	ON_BN_CLICKED(IDC_MIRROR2, OnMirror2)
 	ON_BN_CLICKED(IDC_BLEND, OnBlend)
+	ON_BN_CLICKED(IDC_WALL, OnWall)
 	ON_EN_KILLFOCUS(IDC_UNKNOWN90, DefaultKillfocus)
 	ON_EN_KILLFOCUS(IDC_BAM, DefaultKillfocus)
 	ON_EN_KILLFOCUS(IDC_FLAG1, DefaultKillfocus)
@@ -289,7 +290,7 @@
 	ON_EN_KILLFOCUS(IDC_UNKNOWN40, OnKillfocusSequencing)
 	ON_EN_KILLFOCUS(IDC_UNKNOWN94, DefaultKillfocus)
 	ON_EN_KILLFOCUS(IDC_UNKNOWN8C, DefaultKillfocus)
-	ON_BN_CLICKED(IDC_WALL, OnWall)
+	ON_BN_CLICKED(IDC_RED, OnRed)
 	//}}AFX_MSG_MAP
 END_MESSAGE_MAP()
 
@@ -677,25 +678,32 @@
   UpdateData(UD_DISPLAY);
 }
 
+//this isn't blend?
 void CVVCEdit::OnBlend() 
 {
 	the_videocell.header.colouring^=1;
   UpdateData(UD_DISPLAY);
 }
 
+void CVVCEdit::OnTint() 
+{
+	the_videocell.header.colouring^=2;
+  UpdateData(UD_DISPLAY);
+}
+
+void CVVCEdit::OnGrey() 
+{
+	the_videocell.header.colouring^=8;
+  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() 
+void CVVCEdit::OnRed() 
 {
 	the_videocell.header.col2^=2;
   UpdateData(UD_DISPLAY);