Debian Codegraph @

src/optionsbars/classic/optionsbar-operator-menus.ui

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <interface domain="drawing">
3
4 <menu id="other-operators-menu">
5 <section>
6 <!-- Context: possible ways to apply the color to the canvas -->
7 <attribute name="label" translatable="yes">Other modes</attribute>
8 <item>
9 <!-- Context: a possible way to apply the color to the canvas -->
10 <attribute name="label" translatable="yes">Raw source color</attribute>
11 <attribute name="action">win.cairo_operator</attribute>
12 <attribute name="target">source</attribute>
13 </item>
14 <item>
15 <!-- Context: a possible way to apply the color to the canvas -->
16 <attribute name="label" translatable="yes">Difference</attribute>
17 <attribute name="action">win.cairo_operator</attribute>
18 <attribute name="target">difference</attribute>
19 </item>
20 <!-- and more...? -->
21 </section>
22 </menu>
23
24 <menu id="highlight-operators-menu">
25 <section>
26 <!-- Context: possible ways to apply the color to the canvas -->
27 <attribute name="label" translatable="yes">Highlight</attribute>
28 <item>
29 <!-- Context: a possible way to highlight text -->
30 <attribute name="label" translatable="yes">Dark text on light background</attribute>
31 <attribute name="action">win.cairo_operator</attribute>
32 <attribute name="target">multiply</attribute>
33 </item>
34 <item>
35 <!-- Context: a possible way to highlight text -->
36 <attribute name="label" translatable="yes">Light text on dark background</attribute>
37 <attribute name="action">win.cairo_operator</attribute>
38 <attribute name="target">screen</attribute>
39 </item>
40 </section>
41 </menu>
42
43 <menu id="hsl-operators-menu">
44 <section>
45 <!-- Context: possible ways to apply the color to the canvas, using -->
46 <!-- only some specific dimension(s) of the selected color in its -->
47 <!-- hue-saturation-luminosity (HSL) representation -->
48 <attribute name="label" translatable="yes">HSL modes</attribute>
49 <item>
50 <!-- Context: a possible way to apply the color to the canvas -->
51 <attribute name="label" translatable="yes">Hue only</attribute>
52 <attribute name="action">win.cairo_operator</attribute>
53 <attribute name="target">hsl-hue</attribute>
54 </item>
55 <item>
56 <!-- Context: a possible way to apply the color to the canvas -->
57 <attribute name="label" translatable="yes">Saturation only</attribute>
58 <attribute name="action">win.cairo_operator</attribute>
59 <attribute name="target">hsl-saturation</attribute>
60 </item>
61 <item>
62 <!-- Context: a possible way to apply the color to the canvas -->
63 <attribute name="label" translatable="yes">Hue and saturation</attribute>
64 <attribute name="action">win.cairo_operator</attribute>
65 <attribute name="target">hsl-color</attribute>
66 </item>
67 <item>
68 <!-- Context: a possible way to apply the color to the canvas -->
69 <attribute name="label" translatable="yes">Luminosity only</attribute>
70 <attribute name="action">win.cairo_operator</attribute>
71 <attribute name="target">hsl-luminosity</attribute>
72 </item>
73 </section>
74 </menu>
75
76 </interface>