325 |
#if HAS_GTKMM_SHOW_ALL_CHILDREN |
#if HAS_GTKMM_SHOW_ALL_CHILDREN |
326 |
show_all_children(); |
show_all_children(); |
327 |
#endif |
#endif |
328 |
|
|
329 |
|
Settings::singleton()->showTooltips.get_proxy().signal_changed().connect( |
330 |
|
sigc::mem_fun(*this, &DimensionManager::on_show_tooltips_changed) |
331 |
|
); |
332 |
|
on_show_tooltips_changed(); |
333 |
|
} |
334 |
|
|
335 |
|
void DimensionManager::on_show_tooltips_changed() { |
336 |
|
const bool b = Settings::singleton()->showTooltips; |
337 |
|
|
338 |
|
treeView.set_has_tooltip(b); |
339 |
|
allRegionsCheckBox.set_has_tooltip(b); |
340 |
|
|
341 |
|
set_has_tooltip(b); |
342 |
} |
} |
343 |
|
|
344 |
bool DimensionManager::allRegions() const { |
bool DimensionManager::allRegions() const { |
367 |
}; |
}; |
368 |
typedef std::map<gig::dimension_t, _DimDef> _Dimensions; |
typedef std::map<gig::dimension_t, _DimDef> _Dimensions; |
369 |
|
|
370 |
// update all GUI elements according to current gig::Region informations |
// update all GUI elements according to current gig::Region information |
371 |
void DimensionManager::refreshManager() { |
void DimensionManager::refreshManager() { |
372 |
set_sensitive(false); |
set_sensitive(false); |
373 |
refTableModel->clear(); |
refTableModel->clear(); |