Procházet zdrojové kódy

Updated to new themeing

Scott Brogden před 9 roky
rodič
revize
cb0da3d907
2 změnil soubory, kde provedl 4 přidání a 3 odebrání
  1. 1 0
      DittoWindow.cpp
  2. 3 3
      Options.cpp

+ 1 - 0
DittoWindow.cpp

@@ -764,6 +764,7 @@ long CDittoWindow::DoNcLButtonUp(CWnd *pWnd, UINT nHitTest, CPoint point)
 
 void CDittoWindow::DoNcMouseMove(CWnd *pWnd, UINT nHitTest, CPoint point) 
 {
+	return;
 	CRect crWindow;
 	pWnd->GetWindowRect(crWindow);
 

+ 3 - 3
Options.cpp

@@ -1116,11 +1116,11 @@ BOOL CGetSetOptions::GetMainHWND()
 
 void CGetSetOptions::SetCaptionPos(long lPos)	
 {	
-	SetProfileLong("CaptionPos", lPos);					
+	SetProfileLong("CaptionPos2", lPos);					
 }
 long CGetSetOptions::GetCaptionPos()			
 {	
-	return GetProfileLong("CaptionPos", CAPTION_RIGHT);	
+	return GetProfileLong("CaptionPos2", CAPTION_TOP);	
 }
 
 void CGetSetOptions::SetAutoHide(BOOL bAutoHide)
@@ -1350,7 +1350,7 @@ BOOL CGetSetOptions::GetFont(LOGFONT &font)
 	}
 
 	ZeroMemory(&font, sizeof(font));
-	font.lfHeight = -theApp.m_metrics.PointsToPixels(12);
+	font.lfHeight = -theApp.m_metrics.PointsToPixels(10);
 	font.lfWeight = 400;
 	font.lfCharSet = 1;
 	STRCPY(font.lfFaceName, _T("Segoe UI"));