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 <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 "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 "svg/svg-color.h"
#include "sp-gradient-fns.h"
#include "sp-gradient.h"
#include "sp-gradient-vector.h"
#include "swatches.h"
#include "style.h"
#include "widgets/gradient-vector.h"
#include "widgets/eek-preview.h"
#include "display/nr-plain-stuff.h"
#include "sp-gradient-reference.h"
#include "color.h"

Go to the source code of this file.

Namespaces

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

Classes

class  Inkscape::UI::Dialogs::ColorItem
class  Inkscape::UI::Dialogs::JustForNow

Defines

#define VBLOCK   16

Functions

void Inkscape::UI::Dialogs::_loadPaletteFile (gchar const *filename)
static bool Inkscape::UI::Dialogs::bruteForce (SPDocument *document, Inkscape::XML::Node *node, Glib::ustring const &match, int r, int g, int b)
static void Inkscape::UI::Dialogs::dieDieDie (GtkObject *obj, gpointer user_data)
static void Inkscape::UI::Dialogs::dragBegin (GtkWidget *, GdkDragContext *dc, gpointer data)
static bool Inkscape::UI::Dialogs::getBlock (std::string &dst, guchar ch, std::string const str)
static gboolean Inkscape::UI::Dialogs::handleButtonPress (GtkWidget *, GdkEventButton *event, gpointer user_data)
static void Inkscape::UI::Dialogs::handleClick (GtkWidget *, gpointer callback_data)
static gboolean Inkscape::UI::Dialogs::handleEnterNotify (GtkWidget *, GdkEventCrossing *, gpointer callback_data)
static gboolean Inkscape::UI::Dialogs::handleLeaveNotify (GtkWidget *, GdkEventCrossing *, 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 bool Inkscape::UI::Dialogs::popVal (guint64 &numVal, std::string &str)
static void Inkscape::UI::Dialogs::redirClick (GtkMenuItem *menuitem, gpointer)
static void Inkscape::UI::Dialogs::redirSecondaryClick (GtkMenuItem *menuitem, gpointer)
void Inkscape::UI::Dialogs::skipWhitespace (char *&str)
static char * Inkscape::UI::Dialogs::trim (char *str)

Variables

static ColorItem * Inkscape::UI::Dialogs::bounceTarget = 0
static std::map< ColorItem
*, SPGradient * > 
Inkscape::UI::Dialogs::gradMap
static std::vector< std::string > Inkscape::UI::Dialogs::mimeStrings
static std::map< std::string,
guint > 
Inkscape::UI::Dialogs::mimeToInt
static std::vector< GtkWidget * > Inkscape::UI::Dialogs::popupExtras
static GtkWidget * Inkscape::UI::Dialogs::popupMenu = 0
static std::vector< JustForNow * > Inkscape::UI::Dialogs::possible
static std::map< ColorItem
*, guchar * > 
Inkscape::UI::Dialogs::previewMap


Generated by  Doxygen 1.6.0   Back to index