1 |
/* -*- c++ -*- |
/* -*- c++ -*- |
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 |
68 |
sigc::signal<void> sig_changed; |
sigc::signal<void> sig_changed; |
69 |
}; |
}; |
70 |
|
|
71 |
|
class ReadOnlyLabelWidget : public LabelWidget { |
72 |
|
public: |
73 |
|
Gtk::Label text; |
74 |
|
|
75 |
|
ReadOnlyLabelWidget(const char* leftHandText); |
76 |
|
ReadOnlyLabelWidget(const char* leftHandText, const char* rightHandText); |
77 |
|
}; |
78 |
|
|
79 |
class NumEntry : public LabelWidget { |
class NumEntry : public LabelWidget { |
80 |
protected: |
protected: |
81 |
#if (GTKMM_MAJOR_VERSION == 2 && GTKMM_MINOR_VERSION < 90) || GTKMM_MAJOR_VERSION < 2 |
#if (GTKMM_MAJOR_VERSION == 2 && GTKMM_MINOR_VERSION < 90) || GTKMM_MAJOR_VERSION < 2 |