Skip to content
Snippets Groups Projects
Commit 5b00b2e2 authored by 관우 안's avatar 관우 안
Browse files

TrackInfo.cpp 수정, 트랙의 폰트 수정과 폰트 크기 변경

parent c4bbc536
Branches
No related tags found
No related merge requests found
...@@ -48,7 +48,9 @@ struct Settings : PrefsListener { ...@@ -48,7 +48,9 @@ struct Settings : PrefsListener {
return; return;
int fontSize = 10; int fontSize = 10;
gFont.Create(fontSize, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL); //gFont.Create(fontSize, wxFONTFAMILY_SWISS, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL);
//추가된코드
gFont = wxFontInfo(10).FaceName("Malgun Gothic").Bold();
int allowableWidth = int allowableWidth =
// PRL: was it correct to include the margin? // PRL: was it correct to include the margin?
...@@ -62,6 +64,9 @@ struct Settings : PrefsListener { ...@@ -62,6 +64,9 @@ struct Settings : PrefsListener {
fontSize--; fontSize--;
} while (textWidth >= allowableWidth); } while (textWidth >= allowableWidth);
//추가된 코드
gFont.SetPointSize(fontSize + 2);
mInitialized = true; mInitialized = true;
} }
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment