~s-cecilio/lenmus/v5.1.x

« back to all changes in this revision

Viewing changes to src/exercises/ctrols/lenmus_idfy_tonality_ctrol.cpp

  • Committer: cecilios
  • Date: 2012-09-07 17:42:21 UTC
  • Revision ID: svn-v4:2587a929-2f0e-0410-ae78-fe6f687d5efe:branches/TRY-5.0:721
initial commit with all changes for 5.1. See changelog

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
void IdfyTonalityCtrol::initialize_ctrol()
68
68
{
69
69
    m_pConstrains = dynamic_cast<TonalityConstrains*>(m_pBaseConstrains);
 
70
    m_pConstrains->set_height(4000.0);      //minimum problem box height = 40mm
70
71
 
71
72
    create_controls();
72
73
}
100
101
    ImoInlineWrapper* pBox;
101
102
 
102
103
    ImoStyle* pBtStyle = m_pDoc->create_private_style();
103
 
    pBtStyle->font_name("sans-serif")->font_size(8.0f);
 
104
    pBtStyle->font_name("sans")->font_size(8.0f);
104
105
 
105
106
    ImoStyle* pRowStyle = m_pDoc->create_private_style();
106
107
    pRowStyle->font_size(10.0f)->margin_bottom(100.0f);