Explorar o código

Show different icon when Ditto is disconnected from the clipboard

Scott Brogden %!s(int64=8) %!d(string=hai) anos
pai
achega
c64b46477a
Modificáronse 4 ficheiros con 4 adicións e 2 borrados
  1. 2 2
      Debug/Themes/Classic.xml
  2. 2 0
      QPasteWnd.cpp
  3. BIN=BIN
      res/Ditto2_NoCopyCb.ico
  4. BIN=BIN
      res/Martin_Icon_not_connected.png

+ 2 - 2
Debug/Themes/Classic.xml

@@ -7,7 +7,7 @@
 	<CaptionRightTopMost>RGB(157, 185, 235)</CaptionRightTopMost>
 	<CaptionRightTopMost>RGB(157, 185, 235)</CaptionRightTopMost>
 	
 	
 	<CaptionLeftNotConnected>RGB(122, 150, 223)</CaptionLeftNotConnected>
 	<CaptionLeftNotConnected>RGB(122, 150, 223)</CaptionLeftNotConnected>
-	<CaptionRightNotConnected>RGB(122, 150, 223)</CaptionRightNotConnected>
+	<CaptionRightNotConnected>RGB(255, 255, 0)</CaptionRightNotConnected>
 	
 	
 	<CaptionTextColor>RGB(255, 255, 255)</CaptionTextColor>
 	<CaptionTextColor>RGB(255, 255, 255)</CaptionTextColor>
 	
 	
@@ -25,7 +25,7 @@
 	
 	
 	<Border>RGB(122, 150, 223)</Border>
 	<Border>RGB(122, 150, 223)</Border>
 	<BorderTopMost>RGB(122, 150, 223)</BorderTopMost>
 	<BorderTopMost>RGB(122, 150, 223)</BorderTopMost>
-	<BorderNotConnected>RGB(255, 0, 0)</BorderNotConnected>	
+	<BorderNotConnected>RGB(122, 150, 223)</BorderNotConnected>	
 	
 	
 	<GroupTreeBG></GroupTreeBG>
 	<GroupTreeBG></GroupTreeBG>
 	<GroupTreeText></GroupTreeText>
 	<GroupTreeText></GroupTreeText>

+ 2 - 0
QPasteWnd.cpp

@@ -1845,6 +1845,8 @@ void CQPasteWnd::OnMenuExitprogram()
 void CQPasteWnd::OnMenuToggleConnectCV()
 void CQPasteWnd::OnMenuToggleConnectCV()
 {
 {
     theApp.ToggleConnectCV();
     theApp.ToggleConnectCV();
+
+	UpdateStatus();
 }
 }
 
 
 #include "client.h"
 #include "client.h"

BIN=BIN
res/Ditto2_NoCopyCb.ico


BIN=BIN
res/Martin_Icon_not_connected.png