Inkscape
Vector Graphics Editor
paint-selector.cpp File Reference

PaintSelector: Generic paint selector widget. More...

Go to the source code of this file.

Namespaces

namespace  Inkscape
 CMYK to sRGB conversion routines.
 
namespace  Inkscape::UI
 User interface code.
 
namespace  Inkscape::UI::Widget
 Custom widgets.
 

Functions

static bool Inkscape::UI::Widget::isPaintModeGradient (PaintSelector::Mode mode)
 
static std::vector< SPMeshGradient * > Inkscape::UI::Widget::ink_mesh_list_get (SPDocument *source)
 Returns a list of meshes in the defs of the given source document as a vector. More...
 
static void Inkscape::UI::Widget::sp_mesh_menu_build (GtkWidget *combo, std::vector< SPMeshGradient * > &mesh_list, SPDocument *)
 Adds menu items for mesh list. More...
 
static void Inkscape::UI::Widget::sp_mesh_list_from_doc (GtkWidget *combo, SPDocument *, SPDocument *source, SPDocument *)
 Pick up all meshes from source, except those that are in current_doc (if non-NULL), and add items to the mesh menu. More...
 
static void Inkscape::UI::Widget::ink_mesh_menu_populate_menu (GtkWidget *combo, SPDocument *doc)
 
static GtkWidget * Inkscape::UI::Widget::ink_mesh_menu (GtkWidget *combo)
 

Variables

static gchar const * modeStrings []
 

Detailed Description

PaintSelector: Generic paint selector widget.

Definition in file paint-selector.cpp.

Variable Documentation

◆ modeStrings

gchar const* modeStrings[]
static
Initial value:
= {
"MODE_EMPTY",
"MODE_MULTIPLE",
"MODE_NONE",
"MODE_SOLID_COLOR",
"MODE_GRADIENT_LINEAR",
"MODE_GRADIENT_RADIAL",
#ifdef WITH_MESH
"MODE_GRADIENT_MESH",
#endif
"MODE_PATTERN",
"MODE_SWATCH",
"MODE_UNSET",
".",
".",
}

Definition at line 71 of file paint-selector.cpp.

Referenced by Inkscape::UI::Widget::PaintSelector::set_mode_ex().