Update of /cvsroot/audacity/audacity-src/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv8645
Modified Files:
Tag: AUDACITY_1_2
AColor.cpp TrackPanel.cpp
Log Message:
Fix font sizes on track label and rulers.
Index: AColor.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/AColor.cpp,v
retrieving revision 1.10.2.3
retrieving revision 1.10.2.4
diff -u -d -r1.10.2.3 -r1.10.2.4
--- AColor.cpp 6 Nov 2006 04:50:09 -0000 1.10.2.3
+++ AColor.cpp 12 Nov 2006 00:59:17 -0000 1.10.2.4
@@ -156,7 +156,7 @@
int fontSize = 4;
wxCoord strW, strH;
wxString exampleText = wxT("Mute");
- int desiredPixelHeight = 16;
+ int desiredPixelHeight = 14;
// Keep making the font bigger until it's too big, then subtract one.
dc->SetFont(wxFont(fontSize, wxSWISS, wxNORMAL, wxNORMAL));
Index: TrackPanel.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/TrackPanel.cpp,v
retrieving revision 1.212.2.14
retrieving revision 1.212.2.15
diff -u -d -r1.212.2.14 -r1.212.2.15
--- TrackPanel.cpp 4 Jun 2006 10:12:54 -0000 1.212.2.14
+++ TrackPanel.cpp 12 Nov 2006 00:59:17 -0000 1.212.2.15
@@ -4695,7 +4695,9 @@
SetLabelFont(dc);
dc->GetTextExtent(str, &textWidth, &textHeight);
- dc->DrawText(str, bev.x + (bev.width - textWidth) / 2, bev.y + 2);
+ dc->DrawText(str,
+ bev.x + (bev.width - textWidth) / 2,
+ bev.y + (bev.height - textHeight) / 2);
AColor::Bevel(*dc, (solo?t->GetSolo():t->GetMute()) == down, bev);
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs