Inkscape
Vector Graphics Editor
style-swatch.cpp File Reference

Static style swatch (fill, stroke, opacity). 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.
 

Enumerations

enum  { SS_FILL , SS_STROKE }
 

Functions

void Inkscape::UI::Widget::style_obs_callback (StyleSwatch &_style_swatch, Preferences::Entry const &val)
 Watches for changes in the observed style pref. More...
 
void Inkscape::UI::Widget::tool_obs_callback (StyleSwatch &_style_swatch, Preferences::Entry const &val)
 Watches whether the tool uses the current style. More...
 

Variables

static constexpr int STYLE_SWATCH_WIDTH = 135
 

Detailed Description

Static style swatch (fill, stroke, opacity).

Definition in file style-swatch.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SS_FILL 
SS_STROKE 

Definition at line 40 of file style-swatch.cpp.

Variable Documentation

◆ STYLE_SWATCH_WIDTH

constexpr int STYLE_SWATCH_WIDTH = 135
staticconstexpr

Definition at line 38 of file style-swatch.cpp.

Referenced by Inkscape::UI::Widget::StyleSwatch::StyleSwatch().