[beast: 2/3] BEAST: extract Bse::SongH properties for UI generation
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 2/3] BEAST: extract Bse::SongH properties for UI generation
- Date: Wed, 9 Sep 2015 08:13:34 +0000 (UTC)
commit c4aea332a6a2301ee9550c122091c90b57bb72fa
Author: Tim Janik <timj gnu org>
Date: Sun Aug 16 14:12:56 2015 +0200
BEAST: extract Bse::SongH properties for UI generation
beast-gtk/bstparamview.cc | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/beast-gtk/bstparamview.cc b/beast-gtk/bstparamview.cc
index 4c266c8..aecbce2 100644
--- a/beast-gtk/bstparamview.cc
+++ b/beast-gtk/bstparamview.cc
@@ -197,8 +197,16 @@ bst_param_view_rebuild (BstParamView *self)
return;
// extract IDL properties
+ Bse::SongH song = Bse::SongH::down_cast (bse_server.from_proxy (self->item));
std::vector<GParamSpec*> cxxpspecs;
std::vector<Rapicorn::Aida::Parameter> cxxparams;
+ if (song)
+ {
+ Bse::SongH song = Bse::SongH::down_cast (bse_server.from_proxy (self->item));
+ cxxpspecs = Bse::sfi_pspecs_fields_from_accessor_visitable (song);
+ Rapicorn::Aida::Parameter::ListVisitor av (cxxparams);
+ song.__accept_accessor__ (av);
+ }
// build IDL property params
for (i = 0; i < cxxpspecs.size(); i++)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]