From c0da1cf368b7d43c9c886b81768b4a62a07fae3f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 28 Mar 2015 09:47:19 +0000 Subject: Unify value widgets in properties dialog. This shows the fancy URI selector for URI properties, and can show numeric controls for the property-to-add. The ontologies need some work, along with smarter widget creation, before the latter will actually be useful. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5648 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/App.hpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'src/gui/App.hpp') diff --git a/src/gui/App.hpp b/src/gui/App.hpp index 0e3a4079..db7af77b 100644 --- a/src/gui/App.hpp +++ b/src/gui/App.hpp @@ -1,6 +1,6 @@ /* This file is part of Ingen. - Copyright 2007-2012 David Robillard + Copyright 2007-2015 David Robillard Ingen is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free @@ -17,10 +17,8 @@ #ifndef INGEN_GUI_APP_HPP #define INGEN_GUI_APP_HPP -#include #include #include -#include #include #include @@ -31,25 +29,27 @@ #include "ingen/World.hpp" #include "ingen/ingen.h" #include "ingen/types.hpp" +#include "lilv/lilv.h" #include "raul/Deletable.hpp" #include "raul/URI.hpp" namespace Ingen { + class Interface; class Log; class Port; class Serialiser; class World; + namespace Client { + class ClientStore; class GraphModel; class PluginModel; class PortModel; class SigClientInterface; -} -} -namespace Ingen { +} namespace GUI { @@ -101,6 +101,9 @@ public: const Raul::URI& key, const Atom& value); + /** Set the tooltip for a widget from its RDF documentation. */ + void set_tooltip(Gtk::Widget* widget, const LilvNode* node); + uint32_t sample_rate() const; ConnectWindow* connect_window() const { return _connect_window; } -- cgit v1.2.1