Code

Implement cross-architecture print dialog using cairo and PNG backends.
[inkscape.git] / src / ui / widget / random.h
index 56c39ccc1a88b057a7dd988a19582ecca3565d7f..93c6c2ff43a5153d9898d929f62ad8d25f6e74e2 100644 (file)
@@ -1,72 +1,72 @@
-/**\r
- * \brief Random Scalar Widget - A labelled text box, with spin buttons and optional\r
- *        icon or suffix, for entering arbitrary number values and generating a random number from it.\r
- *\r
- * Authors:\r
- *  Johan Engelen <j.b.c.engelen@ewi.utwente.nl>\r
- *\r
- * Copyright (C) 2007 Author\r
- *\r
- * Released under GNU GPL.  Read the file 'COPYING' for more information.\r
- */\r
-\r
-#ifndef INKSCAPE_UI_WIDGET_RANDOM_H\r
-#define INKSCAPE_UI_WIDGET_RANDOM_H\r
-\r
-#include "scalar.h"\r
-\r
-namespace Inkscape {\r
-namespace UI {\r
-namespace Widget {\r
-\r
-class Random : public Scalar\r
-{\r
-public:\r
-    Random(Glib::ustring const &label,\r
-           Glib::ustring const &tooltip,\r
-           Glib::ustring const &suffix = "",\r
-           Glib::ustring const &icon = "",\r
-           bool mnemonic = true);\r
-    Random(Glib::ustring const &label,\r
-           Glib::ustring const &tooltip,\r
-           unsigned digits,\r
-           Glib::ustring const &suffix = "",\r
-           Glib::ustring const &icon = "",\r
-           bool mnemonic = true);\r
-    Random(Glib::ustring const &label,\r
-           Glib::ustring const &tooltip,\r
-           Gtk::Adjustment &adjust,\r
-           unsigned digits = 0,\r
-           Glib::ustring const &suffix = "",\r
-           Glib::ustring const &icon = "",\r
-           bool mnemonic = true);\r
-\r
-    long getStartSeed() const;\r
-    void setStartSeed(long newseed);\r
-\r
-    sigc::signal <void> signal_reseeded;\r
-\r
-protected:\r
-    long startseed;\r
-\r
-private:\r
-    void addReseedButton();\r
-    void onReseedButtonClick();\r
-};\r
-\r
-} // namespace Widget\r
-} // namespace UI\r
-} // namespace Inkscape\r
-\r
-#endif // INKSCAPE_UI_WIDGET_RANDOM_H\r
-\r
-/*\r
-  Local Variables:\r
-  mode:c++\r
-  c-file-style:"stroustrup"\r
-  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))\r
-  indent-tabs-mode:nil\r
-  fill-column:99\r
-  End:\r
-*/\r
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :\r
+/**
+ * \brief Random Scalar Widget - A labelled text box, with spin buttons and optional
+ *        icon or suffix, for entering arbitrary number values and generating a random number from it.
+ *
+ * Authors:
+ *  Johan Engelen <j.b.c.engelen@ewi.utwente.nl>
+ *
+ * Copyright (C) 2007 Author
+ *
+ * Released under GNU GPL.  Read the file 'COPYING' for more information.
+ */
+
+#ifndef INKSCAPE_UI_WIDGET_RANDOM_H
+#define INKSCAPE_UI_WIDGET_RANDOM_H
+
+#include "scalar.h"
+
+namespace Inkscape {
+namespace UI {
+namespace Widget {
+
+class Random : public Scalar
+{
+public:
+    Random(Glib::ustring const &label,
+           Glib::ustring const &tooltip,
+           Glib::ustring const &suffix = "",
+           Glib::ustring const &icon = "",
+           bool mnemonic = true);
+    Random(Glib::ustring const &label,
+           Glib::ustring const &tooltip,
+           unsigned digits,
+           Glib::ustring const &suffix = "",
+           Glib::ustring const &icon = "",
+           bool mnemonic = true);
+    Random(Glib::ustring const &label,
+           Glib::ustring const &tooltip,
+           Gtk::Adjustment &adjust,
+           unsigned digits = 0,
+           Glib::ustring const &suffix = "",
+           Glib::ustring const &icon = "",
+           bool mnemonic = true);
+
+    long getStartSeed() const;
+    void setStartSeed(long newseed);
+
+    sigc::signal <void> signal_reseeded;
+
+protected:
+    long startseed;
+
+private:
+    void addReseedButton();
+    void onReseedButtonClick();
+};
+
+} // namespace Widget
+} // namespace UI
+} // namespace Inkscape
+
+#endif // INKSCAPE_UI_WIDGET_RANDOM_H
+
+/*
+  Local Variables:
+  mode:c++
+  c-file-style:"stroustrup"
+  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+  indent-tabs-mode:nil
+  fill-column:99
+  End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :