]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gtk/ghelpers.h
cosmetics
[lyx.git] / src / frontends / gtk / ghelpers.h
index 5372232d80f5b77648be5a4369a84bd6226fedec..cda3bb6c2c0f811428f37ef228bd8b58b5634854 100644 (file)
@@ -5,6 +5,7 @@
  * Licence details can be found in the file COPYING.
  *
  * \author Angus Leeming
+ * \author John Spray
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -24,22 +25,9 @@ class FuncRequest;
 namespace lyx {
 namespace frontend {
 
-std::string const getLengthFromWidgets(
-       Gtk::Adjustment const & adj,
-       Gtk::ComboBoxText const & combo);
-
-void setWidgetsFromLength(
-       Gtk::Adjustment & adj,
-       Gtk::ComboBoxText & combo,
-       LyXLength const & length);
-
-int comboBoxTextSet(Gtk::ComboBoxText & combo, Glib::ustring target);
-
-void populateUnitCombo(Gtk::ComboBoxText & combo, bool userelative);
-
-// Get a GTK stockID from a lyx function id.
-// Return Gtk::Stock::MISSING_IMAGE if no suitable stock found
-Gtk::BuiltinStockID getGTKStockIcon(FuncRequest const & func);
+// Load an icon from GTK icon theme
+// Return NULL if no suitable icon found
+Gtk::Image *getGTKIcon(FuncRequest const & func, Gtk::IconSize const & size);
 
 std::string const getDefaultUnit();