mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2025-01-18 10:26:15 +01:00
- change font for debug display, should change BagFrame display soon
This commit is contained in:
parent
644653be0a
commit
d607d100fd
1 changed files with 6 additions and 0 deletions
|
@ -153,6 +153,12 @@ BagFrame::BagFrame(wxFrame* parent, Game& iGame):
|
||||||
//tiles->SetFont(config.getFont(LISTFONT));
|
//tiles->SetFont(config.getFont(LISTFONT));
|
||||||
//tiles->SetToolTip(wxT("Lettre, nombre restant"));
|
//tiles->SetToolTip(wxT("Lettre, nombre restant"));
|
||||||
|
|
||||||
|
#ifdef DEBUG
|
||||||
|
wxFont font(8, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL,
|
||||||
|
wxFONTWEIGHT_NORMAL, false, wxString(wxT("Courier New")), wxFONTENCODING_SYSTEM);
|
||||||
|
tiles->SetFont(font);
|
||||||
|
#endif
|
||||||
|
|
||||||
wxBoxSizer *sizer = new wxBoxSizer( wxHORIZONTAL );
|
wxBoxSizer *sizer = new wxBoxSizer( wxHORIZONTAL );
|
||||||
sizer->Add(tiles, 1, wxEXPAND | wxALL, 1);
|
sizer->Add(tiles, 1, wxEXPAND | wxALL, 1);
|
||||||
SetAutoLayout(TRUE);
|
SetAutoLayout(TRUE);
|
||||||
|
|
Loading…
Reference in a new issue