summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/print-colors-preview-dialog.h
blob: e40f987fa70bccfaea922a529c0c18be1e43345c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// SPDX-License-Identifier: GPL-2.0-or-later
/** @file
 * @brief Print Colors Preview dialog
 */
/* Authors:
 *   Felipe Corrêa da Silva Sanches <juca@members.fsf.org>
 *
 * Copyright (C) 2009 Authors
 * Released under GNU GPL v2+, read the file 'COPYING' for more information.
 */

#ifndef INKSCAPE_UI_DIALOG_PRINT_COLORS_PREVIEW_H
#define INKSCAPE_UI_DIALOG_PRINT_COLORS_PREVIEW_H

#include "ui/widget/panel.h"
#include "verbs.h"

#include <gtkmm/box.h>

namespace Inkscape {
namespace UI {
namespace Dialog {

class PrintColorsPreviewDialog : public UI::Widget::Panel {
public:
    PrintColorsPreviewDialog();
    ~PrintColorsPreviewDialog();

    static PrintColorsPreviewDialog &getInstance()
    { return *new PrintColorsPreviewDialog(); }

private:
    void toggle_cyan();
    void toggle_magenta();
    void toggle_yellow();
    void toggle_black();

    Gtk::ToggleButton* cyan;
    Gtk::ToggleButton* magenta;
    Gtk::ToggleButton* yellow;
    Gtk::ToggleButton* black;
};

} // namespace Dialog
} // namespace UI
} // namespace Inkscape

#endif //#ifndef INKSCAPE_UI_PRINT_COLORS_PREVIEW_H