/[svn]/gigedit/trunk/src/gigedit/paramedit.cpp
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/paramedit.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2689 by schoenebeck, Wed Apr 23 16:49:05 2014 UTC revision 2690 by schoenebeck, Sun Jan 4 18:36:42 2015 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (C) 2006-2014 Andreas Persson   * Copyright (C) 2006-2015 Andreas Persson
3   *   *
4   * This program is free software; you can redistribute it and/or   * This program is free software; you can redistribute it and/or
5   * modify it under the terms of the GNU General Public License as   * modify it under the terms of the GNU General Public License as
# Line 161  void LabelWidget::set_sensitive(bool sen Line 161  void LabelWidget::set_sensitive(bool sen
161      widget.set_sensitive(sensitive);      widget.set_sensitive(sensitive);
162  }  }
163    
164    ReadOnlyLabelWidget::ReadOnlyLabelWidget(const char* leftHandText)
165        : LabelWidget(leftHandText, text)
166    {
167        text.set_alignment(Gtk::ALIGN_START, Gtk::ALIGN_START);
168    }
169    
170    ReadOnlyLabelWidget::ReadOnlyLabelWidget(const char* leftHandText, const char* rightHandText)
171       : LabelWidget(leftHandText, text)
172    {
173        text.set_alignment(Gtk::ALIGN_START, Gtk::ALIGN_START);
174        text.set_text(rightHandText);
175    }
176    
177  NumEntry::NumEntry(const char* labelText, double lower, double upper,  NumEntry::NumEntry(const char* labelText, double lower, double upper,
178                     int decimals) :                     int decimals) :
179      LabelWidget(labelText, box),      LabelWidget(labelText, box),

Legend:
Removed from v.2689  
changed lines
  Added in v.2690

  ViewVC Help
Powered by ViewVC