summaryrefslogtreecommitdiffstats
path: root/src/gui/App.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-03-28 09:47:19 +0000
committerDavid Robillard <d@drobilla.net>2015-03-28 09:47:19 +0000
commitc0da1cf368b7d43c9c886b81768b4a62a07fae3f (patch)
tree83b651a2b680e32b990dd1e1909156aee475a181 /src/gui/App.hpp
parentd0b4376df39e95cb9389f5c42fc1c2333e8c0c97 (diff)
downloadingen-c0da1cf368b7d43c9c886b81768b4a62a07fae3f.tar.gz
ingen-c0da1cf368b7d43c9c886b81768b4a62a07fae3f.tar.bz2
ingen-c0da1cf368b7d43c9c886b81768b4a62a07fae3f.zip
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
Diffstat (limited to 'src/gui/App.hpp')
-rw-r--r--src/gui/App.hpp15
1 files changed, 9 insertions, 6 deletions
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 <http://drobilla.net/>
+ Copyright 2007-2015 David Robillard <http://drobilla.net/>
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 <cassert>
#include <map>
#include <string>
-#include <utility>
#include <gtkmm/aboutdialog.h>
#include <gtkmm/main.h>
@@ -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; }