~azzar1/nux/fix-916088

« back to all changes in this revision

Viewing changes to Nux/AbstractButton.cpp

  • Committer: Jay Taoko
  • Date: 2011-11-21 19:10:06 UTC
  • mfrom: (518.1.7 nux-fix-makecheck)
  • Revision ID: jay.taoko@canonical.com-20111121191006-cv93lu1vwk2wibkc
* Added requirement for XTest
* Fixed crash in GraphicsDisplay at program termination.
* Added Automated test Framework
* Added Testing framework
* Added empty program test
* Added Button test through XTest
* Added macros nuxOkMsg to NuxCore

Show diffs side-by-side

added added

removed removed

Lines of Context:
146
146
      return;
147
147
 
148
148
    label_font_size_ = point;
 
149
    if (static_text_)
 
150
    {
 
151
      static_text_->SetTextPointSize(label_font_size_);
 
152
      ComputeContentSize();
 
153
      QueueDraw();
 
154
    }
149
155
  }
150
156
 
151
157
  int AbstractButton::GetLabelFontSize() const