~ubuntu-branches/ubuntu/precise/inkscape/precise-updates

« back to all changes in this revision

Viewing changes to src/ui/dialog/print-colors-preview-dialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Alex Valavanis
  • Date: 2010-09-12 19:44:58 UTC
  • mfrom: (1.1.12 upstream) (45.1.3 maverick)
  • Revision ID: james.westby@ubuntu.com-20100912194458-4sjwmbl7dlsrk5dc
Tags: 0.48.0-1ubuntu1
* Merge with Debian unstable (LP: #628048, LP: #401567, LP: #456248, 
  LP: #463602, LP: #591986)
* debian/control: 
  - Ubuntu maintainers
  - Promote python-lxml, python-numpy, python-uniconvertor to Recommends.
  - Demote pstoedit to Suggests (universe package).
  - Suggests ttf-dejavu instead of ttf-bitstream-vera (LP: #513319)
* debian/rules:
  - Run intltool-update on build (Ubuntu-specific).
  - Add translation domain to .desktop files (Ubuntu-specific).
* debian/dirs:
  - Add usr/share/pixmaps.  Allow inkscape.xpm installation
* drop 50-poppler-API.dpatch (now upstream)
* drop 51-paste-in-unwritable-directory.dpatch (now upstream) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 */
 
10
 
 
11
#ifndef INKSCAPE_UI_DIALOG_PRINT_COLORS_PREVIEW_H
 
12
#define INKSCAPE_UI_DIALOG_PRINT_COLORS_PREVIEW_H
 
13
 
 
14
#include "ui/widget/panel.h"
 
15
#include "verbs.h"
 
16
 
 
17
#include <gtkmm.h>
 
18
#include <gtkmm/box.h>
 
19
 
 
20
namespace Inkscape {
 
21
namespace UI {
 
22
namespace Dialog {
 
23
 
 
24
class PrintColorsPreviewDialog : public UI::Widget::Panel {
 
25
public:
 
26
    PrintColorsPreviewDialog();
 
27
    ~PrintColorsPreviewDialog();
 
28
 
 
29
    static PrintColorsPreviewDialog &getInstance()
 
30
    { return *new PrintColorsPreviewDialog(); }
 
31
 
 
32
private:
 
33
    void toggle_cyan();
 
34
    void toggle_magenta();
 
35
    void toggle_yellow();
 
36
    void toggle_black();
 
37
 
 
38
    Gtk::ToggleButton* cyan;
 
39
    Gtk::ToggleButton* magenta;
 
40
    Gtk::ToggleButton* yellow;
 
41
    Gtk::ToggleButton* black;
 
42
};
 
43
 
 
44
} // namespace Dialog
 
45
} // namespace UI
 
46
} // namespace Inkscape
 
47
 
 
48
#endif //#ifndef INKSCAPE_UI_PRINT_COLORS_PREVIEW_H