1 |
/* -*- c++ -*- |
/* -*- c++ -*- |
2 |
* Copyright (C) 2006, 2007 Andreas Persson |
* Copyright (C) 2006-2010 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 |
26 |
#include <gtkmm/label.h> |
#include <gtkmm/label.h> |
27 |
#include <gtkmm/notebook.h> |
#include <gtkmm/notebook.h> |
28 |
#include <gtkmm/table.h> |
#include <gtkmm/table.h> |
|
#include <gtkmm/tooltips.h> |
|
29 |
|
|
30 |
#include <set> |
#include <set> |
31 |
|
|
43 |
sigc::signal<void, gig::DimensionRegion*>& signal_dimreg_changed(); |
sigc::signal<void, gig::DimensionRegion*>& signal_dimreg_changed(); |
44 |
sigc::signal<void, gig::Sample*/*old*/, gig::Sample*/*new*/>& signal_sample_ref_changed(); |
sigc::signal<void, gig::Sample*/*old*/, gig::Sample*/*new*/>& signal_sample_ref_changed(); |
45 |
|
|
46 |
|
std::set<gig::DimensionRegion*> dimregs; |
47 |
|
|
48 |
protected: |
protected: |
49 |
sigc::signal<void, gig::DimensionRegion*> dimreg_to_be_changed_signal; |
sigc::signal<void, gig::DimensionRegion*> dimreg_to_be_changed_signal; |
50 |
sigc::signal<void, gig::DimensionRegion*> dimreg_changed_signal; |
sigc::signal<void, gig::DimensionRegion*> dimreg_changed_signal; |
53 |
|
|
54 |
gig::DimensionRegion* dimregion; |
gig::DimensionRegion* dimregion; |
55 |
|
|
56 |
|
#ifdef OLD_TOOLTIPS |
57 |
Gtk::Tooltips tooltips; |
Gtk::Tooltips tooltips; |
58 |
|
#endif |
59 |
|
|
60 |
Gtk::Table* table[7]; |
Gtk::Table* table[7]; |
61 |
|
|
149 |
ChoiceEntry<uint32_t> eSampleLoopType; |
ChoiceEntry<uint32_t> eSampleLoopType; |
150 |
BoolEntry eSampleLoopInfinite; |
BoolEntry eSampleLoopInfinite; |
151 |
NumEntryTemp<uint32_t> eSampleLoopPlayCount; |
NumEntryTemp<uint32_t> eSampleLoopPlayCount; |
152 |
|
Gtk::Label* lEG2; |
153 |
|
Gtk::Label* lLFO2; |
154 |
|
|
155 |
int rowno; |
int rowno; |
156 |
int pageno; |
int pageno; |
162 |
void addProp(LabelWidget& labelwidget); |
void addProp(LabelWidget& labelwidget); |
163 |
void addString(const char* labelText, Gtk::Label*& label, |
void addString(const char* labelText, Gtk::Label*& label, |
164 |
Gtk::Entry*& widget); |
Gtk::Entry*& widget); |
165 |
void addHeader(const char* text); |
Gtk::Label* addHeader(const char* text); |
166 |
void nextPage(); |
void nextPage(); |
167 |
|
|
168 |
void VCFEnabled_toggled(); |
void VCFEnabled_toggled(); |
185 |
void loop_length_changed(); |
void loop_length_changed(); |
186 |
void loop_infinite_toggled(); |
void loop_infinite_toggled(); |
187 |
|
|
|
std::set<gig::DimensionRegion*> dimregs; |
|
|
|
|
188 |
int update_model; |
int update_model; |
189 |
|
|
190 |
// connect a widget to a setter function in DimRegionEdit |
// connect a widget to a setter function in DimRegionEdit |