1 /** @file
2 * @brief Print Colors Preview dialog
3 */
4 /* Authors:
5 * Felipe CorrĂȘa da Silva Sanches <juca@members.fsf.org>
6 *
7 * Copyright (C) 2009 Authors
8 * Released under GNU GPLv2 (or later). Read the file 'COPYING' for more information.
9 */
11 #ifndef INKSCAPE_UI_DIALOG_PRINT_COLORS_PREVIEW_H
12 #define INKSCAPE_UI_DIALOG_PRINT_COLORS_PREVIEW_H
14 #include "ui/widget/panel.h"
15 #include "verbs.h"
17 #include <gtkmm.h>
18 #include <gtkmm/box.h>
20 namespace Inkscape {
21 namespace UI {
22 namespace Dialog {
24 class PrintColorsPreviewDialog : public UI::Widget::Panel {
25 public:
26 PrintColorsPreviewDialog();
27 ~PrintColorsPreviewDialog();
29 static PrintColorsPreviewDialog &getInstance()
30 { return *new PrintColorsPreviewDialog(); }
32 private:
33 void toggle_cyan();
34 void toggle_magenta();
35 void toggle_yellow();
36 void toggle_black();
38 Gtk::ToggleButton* cyan;
39 Gtk::ToggleButton* magenta;
40 Gtk::ToggleButton* yellow;
41 Gtk::ToggleButton* black;
42 };
44 } // namespace Dialog
45 } // namespace UI
46 } // namespace Inkscape
48 #endif //#ifndef INKSCAPE_UI_PRINT_COLORS_PREVIEW_H