swatches.h revision e9b6af083e34e2397a8ddbe9781920733d09d151
#ifndef SEEN_SWATCHES_H
#define SEEN_SWATCHES_H
/*
* A simple dialog for previewing icon representation.
*
* Authors:
* Jon A. Cruz
*
* Copyright (C) 2005 Jon A. Cruz
*
* Released under GNU GPL, read the file 'COPYING' for more information
*/
#include <gtkmm/textview.h>
#include <gtkmm/tooltips.h>
#include "ui/previewholder.h"
#include "dialogs/eek-color-def.h"
/**
* The color swatch you see on screen as a clickable box.
*/
{
ColorItem( unsigned int r, unsigned int g, unsigned int b,
::PreviewSize size,
void buttonClicked(bool secondary = false);
static void _wireMagicColors( void* p );
static void _colorDefChanged(void* data);
bool _isLive;
bool _linkIsTone;
int _linkPercent;
int _linkGray;
};
/**
* A panel that displays color swatches.
*/
{
virtual ~SwatchesPanel();
static SwatchesPanel& getInstance();
static SwatchesPanel* instance;
};
} //namespace Dialogs
} //namespace UI
} //namespace Inkscape
#endif // SEEN_SWATCHES_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 :