Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
selected-style.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  Inkscape
 Helper class to stream background task notifications as a series of messages.
 
namespace  Inkscape::UI
 User interface code.
 
namespace  Inkscape::UI::Widget
 Custom widgets.
 

Enumerations

enum  Inkscape::UI::Widget::ui_drop_target_info { Inkscape::UI::Widget::APP_OSWB_COLOR }
 

Functions

static const Glib::ustring(* get_type_strings ())[2]
 
static void ss_selection_changed (Inkscape::Selection *, gpointer data)
 
static void ss_selection_modified (Inkscape::Selection *selection, guint flags, gpointer data)
 
static Dialog::FillAndStrokeInkscape::UI::Widget::get_fill_and_stroke_panel (SPDesktop *desktop)
 
template<typename Slot , typename ... Args>
static UI::Widget::PopoverMenuItemInkscape::UI::Widget::make_menu_item (Glib::ustring const &label, Slot slot, Args &&...args)
 

Variables

static constexpr int SELECTED_STYLE_SB_WIDTH = 48
 
static constexpr int SELECTED_STYLE_PLACE_WIDTH = 50
 
static constexpr int SELECTED_STYLE_STROKE_WIDTH = 40
 
static constexpr int SELECTED_STYLE_FLAG_WIDTH = 12
 
static constexpr int SELECTED_STYLE_WIDTH = 250
 
static constexpr std::array< double, 15 > _sw_presets
 

Function Documentation

◆ get_type_strings()

static const Glib::ustring(* get_type_strings ( ) )[2]
static

◆ ss_selection_changed()

static void ss_selection_changed ( Inkscape::Selection ,
gpointer  data 
)
static

◆ ss_selection_modified()

static void ss_selection_modified ( Inkscape::Selection selection,
guint  flags,
gpointer  data 
)
static

Definition at line 106 of file selected-style.cpp.

References data, and ss_selection_changed().

Referenced by Inkscape::UI::Widget::SelectedStyle::setDesktop().

Variable Documentation

◆ _sw_presets

constexpr std::array<double, 15> _sw_presets
staticconstexpr
Initial value:
{
32, 16, 10, 8, 6, 4, 3, 2, 1.5, 1, 0.75, 0.5, 0.25, 0.1}

Definition at line 66 of file selected-style.cpp.

Referenced by Inkscape::UI::Widget::SelectedStyle::make_popup_units(), and Inkscape::UI::Widget::SelectedStyle::on_popup_preset().

◆ SELECTED_STYLE_FLAG_WIDTH

constexpr int SELECTED_STYLE_FLAG_WIDTH = 12
staticconstexpr

◆ SELECTED_STYLE_PLACE_WIDTH

constexpr int SELECTED_STYLE_PLACE_WIDTH = 50
staticconstexpr

◆ SELECTED_STYLE_SB_WIDTH

constexpr int SELECTED_STYLE_SB_WIDTH = 48
staticconstexpr

◆ SELECTED_STYLE_STROKE_WIDTH

constexpr int SELECTED_STYLE_STROKE_WIDTH = 40
staticconstexpr

◆ SELECTED_STYLE_WIDTH

constexpr int SELECTED_STYLE_WIDTH = 250
staticconstexpr