~ubuntu-branches/ubuntu/oneiric/nux/oneiric

« back to all changes in this revision

Viewing changes to Nux/PropertyItem/Vector4Property.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-12-17 13:59:57 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20101217135957-5gvg6fkjxaa252i0
Tags: upstream-0.9.12
ImportĀ upstreamĀ versionĀ 0.9.12

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
    m_Z->SetValidator (&validator);
52
52
    m_W->SetValidator (&validator);
53
53
 
54
 
    m_X->SetText (inlPrintf ("%.3f", X) );
55
 
    m_Y->SetText (inlPrintf ("%.3f", Y) );
56
 
    m_Z->SetText (inlPrintf ("%.3f", Z) );
57
 
    m_W->SetText (inlPrintf ("%.3f", W) );
 
54
    m_X->SetText (NString::Printf ("%.3f", X) );
 
55
    m_Y->SetText (NString::Printf ("%.3f", Y) );
 
56
    m_Z->SetText (NString::Printf ("%.3f", Z) );
 
57
    m_W->SetText (NString::Printf ("%.3f", W) );
58
58
 
59
59
    m_X->SetTextColor (GPropertyItemTextColor1);
60
60
    m_Y->SetTextColor (GPropertyItemTextColor1);