Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

swatches.cpp File Reference


Detailed Description

Color swatches dialog.

Definition in file swatches.cpp.

#include <errno.h>
#include <map>
#include <algorithm>
#include <gtk/gtkdialog.h>
#include <gtk/gtkdnd.h>
#include <gtk/gtkmenu.h>
#include <gtk/gtkmenuitem.h>
#include <gtk/gtkseparatormenuitem.h>
#include <glibmm/i18n.h>
#include <gdkmm/pixbuf.h>
#include "color-item.h"
#include "desktop.h"
#include "desktop-handles.h"
#include "desktop-style.h"
#include "document.h"
#include "document-private.h"
#include "extension/db.h"
#include "inkscape.h"
#include "io/sys.h"
#include "io/resource.h"
#include "message-context.h"
#include "path-prefix.h"
#include "preferences.h"
#include "sp-item.h"
#include "sp-gradient-fns.h"
#include "sp-gradient.h"
#include "sp-gradient-vector.h"
#include "swatches.h"
#include "style.h"
#include "ui/previewholder.h"
#include "widgets/desktop-widget.h"
#include "widgets/gradient-vector.h"
#include "widgets/eek-preview.h"
#include "display/nr-plain-stuff.h"
#include "sp-gradient-reference.h"
#include "dialog-manager.h"

Go to the source code of this file.

Namespaces

namespace  Inkscape
namespace  Inkscape::UI
namespace  Inkscape::UI::Dialogs

Classes

class  Inkscape::UI::Dialogs::DocTrack
class  Inkscape::UI::Dialogs::SwatchesPanelHook

Defines

#define PREVIEW_PIXBUF_WIDTH   128
#define VBLOCK   16

Functions

void Inkscape::UI::Dialogs::_loadPaletteFile (gchar const *filename)
gboolean Inkscape::UI::Dialogs::colorItemHandleButtonPress (GtkWidget *, GdkEventButton *event, gpointer user_data)
static void Inkscape::UI::Dialogs::editGradient (GtkMenuItem *, gpointer)
static void Inkscape::UI::Dialogs::editGradientImpl (SPDesktop *desktop, SPGradient *gr)
static SwatchesPanel * Inkscape::UI::Dialogs::findContainingPanel (GtkWidget *widget)
static void Inkscape::UI::Dialogs::handleClick (GtkWidget *, gpointer callback_data)
static void Inkscape::UI::Dialogs::handleSecondaryClick (GtkWidget *, gint, gpointer callback_data)
static void Inkscape::UI::Dialogs::loadEmUp ()
bool Inkscape::UI::Dialogs::parseNum (char *&str, int &val)
static void Inkscape::UI::Dialogs::recalcSwatchContents (SPDocument *doc, std::vector< ColorItem * > &tmpColors, std::map< ColorItem *, guchar * > &previewMappings, std::map< ColorItem *, SPGradient * > &gradMappings)
static void Inkscape::UI::Dialogs::redirClick (GtkMenuItem *menuitem, gpointer)
static void Inkscape::UI::Dialogs::redirSecondaryClick (GtkMenuItem *menuitem, gpointer)
static void Inkscape::UI::Dialogs::removeit (GtkWidget *widget, gpointer data)
void Inkscape::UI::Dialogs::skipWhitespace (char *&str)
static char * Inkscape::UI::Dialogs::trim (char *str)

Variables

static SwatchesPanel * Inkscape::UI::Dialogs::bouncePanel = 0
static ColorItem * Inkscape::UI::Dialogs::bounceTarget = 0
static std::map< SPDocument
*, SwatchPage * > 
Inkscape::UI::Dialogs::docPalettes
static std::map< SwatchesPanel
*, SPDocument * > 
Inkscape::UI::Dialogs::docPerPanel
static std::vector< DocTrack * > Inkscape::UI::Dialogs::docTrackings
static std::vector< GtkWidget * > Inkscape::UI::Dialogs::popupExtras
static std::vector< Glib::ustring > Inkscape::UI::Dialogs::popupItems
static GtkWidget * Inkscape::UI::Dialogs::popupMenu = 0
static GtkWidget * Inkscape::UI::Dialogs::popupSub = 0
static GtkWidget * Inkscape::UI::Dialogs::popupSubHolder = 0
std::vector< SwatchPage * > Inkscape::UI::Dialogs::possible


Generated by  Doxygen 1.6.0   Back to index