Home
last modified time | relevance | path

Searched refs:textStyle (Results 1 – 25 of 765) sorted by relevance

12345678910>>...31

/dports/games/wesnoth/wesnoth-1.14.17/utils/umc_dev/org.wesnoth.ui/src/org/wesnoth/ui/syntax/
H A DWMLHighlightingConfiguration.java83 textStyle.setStyle( SWT.BOLD ); in preprocTextStyle()
84 return textStyle; in preprocTextStyle()
91 textStyle.setStyle( SWT.ITALIC ); in macroTextStyle()
92 return textStyle; in macroTextStyle()
100 textStyle.setStyle( SWT.BOLD | SWT.ITALIC ); in startEndTextStyle()
101 return textStyle; in startEndTextStyle()
107 textStyle.setColor( new RGB( 128, 0, 0 ) ); in tagTextStyle()
108 textStyle.setStyle( SWT.BOLD ); in tagTextStyle()
109 return textStyle; in tagTextStyle()
116 textStyle.setStyle( SWT.BOLD ); in keyTextStyle()
[all …]
/dports/graphics/kolourpaint/kolourpaint-21.12.3/layers/selections/text/
H A DkpTextSelection.cpp47 const kpTextStyle &textStyle) in kpTextSelection() argument
51 d->textStyle = textStyle; in kpTextSelection()
57 const kpTextStyle &textStyle) in kpTextSelection() argument
62 d->textStyle = textStyle; in kpTextSelection()
79 d->textStyle = rhs.d->textStyle; in operator =()
98 d->textStyle); in resized()
170 return {kpTextSelection::MinimumWidthForTextStyle (textStyle), in MinimumSizeForTextStyle()
323 kpTextStyle kpTextSelection::textStyle () const in textStyle() function in kpTextSelection
325 return d->textStyle; in textStyle()
329 void kpTextSelection::setTextStyle (const kpTextStyle &textStyle) in setTextStyle() argument
[all …]
H A DkpTextStyle.cpp65 stream << textStyle.m_fontFamily; in operator <<()
66 stream << textStyle.m_fontSize; in operator <<()
68 stream << int (textStyle.m_isBold) << int (textStyle.m_isItalic) in operator <<()
69 << int (textStyle.m_isUnderline) << int (textStyle.m_isStrikeThru); in operator <<()
71 stream << textStyle.m_foregroundColor << textStyle.m_backgroundColor; in operator <<()
82 stream >> textStyle.m_fontSize; in operator >>()
86 textStyle.m_isBold = a; in operator >>()
87 textStyle.m_isItalic = b; in operator >>()
88 textStyle.m_isUnderline = c; in operator >>()
89 textStyle.m_isStrikeThru = d; in operator >>()
[all …]
H A DkpTextSelection.h100 const kpTextStyle &textStyle = kpTextStyle ());
102 const kpTextStyle &textStyle);
151 static int MinimumWidthForTextStyle (const kpTextStyle &textStyle);
152 static int MinimumHeightForTextStyle (const kpTextStyle &textStyle);
153 static QSize MinimumSizeForTextStyle (const kpTextStyle &textStyle);
169 static int PreferredMinimumWidthForTextStyle (const kpTextStyle &textStyle);
170 static int PreferredMinimumHeightForTextStyle (const kpTextStyle &textStyle);
171 static QSize PreferredMinimumSizeForTextStyle (const kpTextStyle &textStyle);
223 kpTextStyle textStyle () const;
224 void setTextStyle (const kpTextStyle &textStyle);
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.swt/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/
H A DSnippet357.java39 textStyle.strikeout = true; in main()
40 textStyle.underline = true; in main()
41 textStyle.underlineStyle = SWT.UNDERLINE_SINGLE; in main()
47 TextStyle textStyle = e.textStyle; in main()
48 if (textStyle != null) { in main()
52 if (textStyle.font != null) style.font = new Font(display, textStyle.font.getFontData()); in main()
53 …if (textStyle.foreground != null) style.foreground = new Color(display, textStyle.foreground.getRG… in main()
54 …if (textStyle.background != null) style.background = new Color(display, textStyle.background.getRG… in main()
55 …if (textStyle.underlineColor != null) style.underlineColor = new Color(display, textStyle.underlin… in main()
56 …if (textStyle.strikeoutColor != null) style.strikeoutColor = new Color(display, textStyle.strikeou… in main()
[all …]
/dports/biology/avida/avida-2.12.4-src/apps/viewer-macos/frameworks/CorePlot/Source/
H A DCPTTextStyleTests.m10 CPTTextStyle *textStyle= [CPTTextStyle textStyle];
12 STAssertEqualObjects(@"Helvetica", textStyle.fontName, @"Default font name is not Helvetica");
13 STAssertEquals((CGFloat)12.0, textStyle.fontSize, @"Default font size is not 12.0");
14 …STAssertEqualObjects([CPTColor blackColor], textStyle.color, @"Default color is not [CPTColor blac…
22 CPTTextStyle *textStyle= [CPTTextStyle textStyle];
24 …[NSKeyedUnarchiver unarchiveObjectWithData:[NSKeyedArchiver archivedDataWithRootObject:textStyle]];
26 STAssertEqualObjects(newTextStyle.fontName, textStyle.fontName, @"Font names not equal");
27 STAssertEquals(newTextStyle.fontSize, textStyle.fontSize, @"Font sizes not equal");
28 STAssertEqualObjects(newTextStyle.color, textStyle.color, @"Font colors not equal");
29 STAssertEquals(newTextStyle.textAlignment, textStyle.textAlignment, @"Text alignments not equal");
H A DCPTTextLayer.m17 /** @property textStyle
20 @synthesize textStyle;
33 textStyle = [newStyle retain];
57 textStyle = [theLayer->textStyle retain];
65 [textStyle release];
77 [coder encodeObject:self.textStyle forKey:@"CPTTextLayer.textStyle"];
84 textStyle = [[coder decodeObjectForKey:@"CPTTextLayer.textStyle"] retain];
104 if ( textStyle != newStyle ) {
105 [textStyle release];
106 textStyle = [newStyle retain];
[all …]
H A DCPTLegendEntry.m46 /** @property textStyle
49 @synthesize textStyle;
52 * @brief The size of the legend entry title when drawn using the textStyle.
66 textStyle = nil;
73 [textStyle release];
87 [coder encodeObject:self.textStyle forKey:@"CPTLegendEntry.textStyle"];
97 textStyle = [[coder decodeObjectForKey:@"CPTLegendEntry.textStyle"] retain];
134 if ( newTextStyle != textStyle ) {
135 [textStyle release];
136 textStyle = [newTextStyle retain];
[all …]
/dports/games/ufoai/ufoai-2.5-source/eclipse/net.sourceforge.ufoai.dsl.ui/src/net/sourceforge/ufoai/ui/syntaxcoloring/
H A DHighlightingConfiguration.java23 TextStyle textStyle = commentTextStyle().copy(); in todoTextStyle() local
24 textStyle.setStyle(SWT.BOLD); in todoTextStyle()
25 return textStyle; in todoTextStyle()
29 TextStyle textStyle = defaultTextStyle().copy(); in propertyTextStyle() local
30 textStyle.setColor(new RGB(128, 0, 0)); in propertyTextStyle()
31 textStyle.setStyle(SWT.BOLD); in propertyTextStyle()
32 return textStyle; in propertyTextStyle()
36 TextStyle textStyle = defaultTextStyle().copy(); in valueTextStyle() local
37 textStyle.setColor(new RGB(0, 0, 255)); in valueTextStyle()
39 return textStyle; in valueTextStyle()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/modules/skparagraph/src/
H A DDecorations.cpp32 if ((textStyle.getDecorationType() & decoration) == 0) { in paint()
38 calculatePaint(textStyle); in paint()
47 switch (textStyle.getDecorationStyle()) { in paint()
49 calculateWaves(textStyle, context.clip); in paint()
136 textStyle.setTypeface(typeface); in calculateThickness()
137 textStyle.getFontMetrics(&fFontMetrics); in calculateThickness()
139 fThickness = textStyle.getFontSize() / 14.0f; in calculateThickness()
188 fPaint.setColor(textStyle.getColor()); in calculatePaint()
190 fPaint.setColor(textStyle.getDecorationColor()); in calculatePaint()
195 SkScalar scaleFactor = textStyle.getFontSize() / 14.f; in calculatePaint()
[all …]
/dports/cad/sweethome3d/SweetHome3D-6.6.4-src/src/com/eteks/sweethome3d/model/
H A DTextStyle.java103 } else if (cachedTextStyle.equals(textStyle)) { in getInstance()
104 return textStyle; in getInstance()
107 textStylesCache.add(new WeakReference<TextStyle>(textStyle)); in getInstance()
108 return textStyle; in getInstance()
210 TextStyle textStyle = (TextStyle)object; in equals() local
211 return (textStyle.fontName == this.fontName in equals()
212 || (textStyle.fontName != null && textStyle.fontName.equals(this.fontName))) in equals()
213 && textStyle.fontSize == this.fontSize in equals()
214 && textStyle.bold == this.bold in equals()
215 && textStyle.italic == this.italic in equals()
[all …]
/dports/science/py-paida/paida-3.2.1_2.10.1/paida/paida_gui/matplotlib/
H A DPRoot.py138 def _createFontDict(self, textStyle): argument
139 if textStyle.isItalic():
143 if textStyle.isBold():
147 return {'family': textStyle.font(),
150 'size': textStyle.fontSize()}
152 def _createFontProperty(self, textStyle): argument
153 if textStyle.isItalic():
157 if textStyle.isBold():
164 size = textStyle.fontSize())
172 color = textStyle.color(),
[all …]
/dports/graphics/kolourpaint/kolourpaint-21.12.3/tools/selection/text/
H A DkpToolText_Create.cpp106 const kpTextStyle &textStyle, in shouldCreate() argument
163 kpTextSelection::PreferredMinimumWidthForTextStyle (textStyle), in shouldCreate()
164 kpTextSelection::MinimumWidthForTextStyle (textStyle), in shouldCreate()
171 kpTextSelection::PreferredMinimumHeightForTextStyle (textStyle), in shouldCreate()
172 kpTextSelection::MinimumHeightForTextStyle (textStyle), in shouldCreate()
192 *minimumWidthOut = kpTextSelection::MinimumWidthForTextStyle (textStyle); in shouldCreate()
193 *minimumHeightOut = kpTextSelection::MinimumHeightForTextStyle (textStyle); in shouldCreate()
208 const kpTextStyle textStyle = environ ()->textStyle (); in drawCreateMoreSelectionAndUpdateStatusBar() local
219 if (!shouldCreate (dragAccepted, accidentalDragAdjustedPoint, textStyle, in drawCreateMoreSelectionAndUpdateStatusBar()
264 kpTextSelection textSel (normalizedRect, textLines, textStyle); in drawCreateMoreSelectionAndUpdateStatusBar()
H A DkpToolText_TextStyle.cpp107 kpTextStyle newTextStyle = environ ()->textStyle (); in slotIsOpaqueChanged()
131 kpTextStyle newTextStyle = environ ()->textStyle (); in slotColorsSwapped()
153 kpTextStyle newTextStyle = environ ()->textStyle (); in slotForegroundColorChanged()
174 kpTextStyle newTextStyle = environ ()->textStyle (); in slotBackgroundColorChanged()
209 kpTextStyle newTextStyle = environ ()->textStyle (); in slotFontFamilyChanged()
236 kpTextStyle newTextStyle = environ ()->textStyle (); in slotFontSizeChanged()
259 kpTextStyle newTextStyle = environ ()->textStyle (); in slotBoldChanged()
281 kpTextStyle newTextStyle = environ ()->textStyle (); in slotItalicChanged()
303 kpTextStyle newTextStyle = environ ()->textStyle (); in slotUnderlineChanged()
325 kpTextStyle newTextStyle = environ ()->textStyle (); in slotStrikeThruChanged()
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/Core/Dialog/
H A DPSPDialog.cpp265 PPGeStyle textStyle; in FadedStyle() local
266 textStyle.align = align; in FadedStyle()
267 textStyle.scale = scale; in FadedStyle()
268 textStyle.color = CalcFadedColor(textStyle.color); in FadedStyle()
269 textStyle.hasShadow = true; in FadedStyle()
270 textStyle.shadowColor = CalcFadedColor(textStyle.shadowColor); in FadedStyle()
271 return textStyle; in FadedStyle()
289 PPGeStyle textStyle = FadedStyle(PPGeAlign::BOX_LEFT, FONT_SCALE); in DisplayButtons() local
299 PPGeDrawImage(okButtonImg, x2, 256, 11.5f, 11.5f, textStyle); in DisplayButtons()
300 PPGeDrawText(text, x2 + 14.5f, 252, textStyle); in DisplayButtons()
[all …]
/dports/emulators/ppsspp/ppsspp-1.12.3/Core/Dialog/
H A DPSPDialog.cpp265 PPGeStyle textStyle; in FadedStyle() local
266 textStyle.align = align; in FadedStyle()
267 textStyle.scale = scale; in FadedStyle()
268 textStyle.color = CalcFadedColor(textStyle.color); in FadedStyle()
269 textStyle.hasShadow = true; in FadedStyle()
270 textStyle.shadowColor = CalcFadedColor(textStyle.shadowColor); in FadedStyle()
271 return textStyle; in FadedStyle()
289 PPGeStyle textStyle = FadedStyle(PPGeAlign::BOX_LEFT, FONT_SCALE); in DisplayButtons() local
299 PPGeDrawImage(okButtonImg, x2, 256, 11.5f, 11.5f, textStyle); in DisplayButtons()
300 PPGeDrawText(text, x2 + 14.5f, 252, textStyle); in DisplayButtons()
[all …]
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/Core/Dialog/
H A DPSPDialog.cpp265 PPGeStyle textStyle; in FadedStyle() local
266 textStyle.align = align; in FadedStyle()
267 textStyle.scale = scale; in FadedStyle()
268 textStyle.color = CalcFadedColor(textStyle.color); in FadedStyle()
269 textStyle.hasShadow = true; in FadedStyle()
270 textStyle.shadowColor = CalcFadedColor(textStyle.shadowColor); in FadedStyle()
271 return textStyle; in FadedStyle()
289 PPGeStyle textStyle = FadedStyle(PPGeAlign::BOX_LEFT, FONT_SCALE); in DisplayButtons() local
299 PPGeDrawImage(okButtonImg, x2, 256, 11.5f, 11.5f, textStyle); in DisplayButtons()
300 PPGeDrawText(text, x2 + 14.5f, 252, textStyle); in DisplayButtons()
[all …]
/dports/devel/lazygit/lazygit-0.31.4/pkg/commands/patch/
H A Dpatch_parser.go101 textStyle := theme.DefaultTextColor
104 textStyle = textStyle.SetBold()
106 textStyle = style.FgGreen
108 textStyle = style.FgRed
110 textStyle = style.FgYellow
113 return coloredString(textStyle, content, selected, included)
116 func coloredString(textStyle style.TextStyle, str string, selected bool, included bool) string {
118 textStyle = textStyle.MergeStyle(theme.SelectedRangeBgColor)
121 firstCharStyle := textStyle
130 return firstCharStyle.Sprint(str[:1]) + textStyle.Sprint(str[1:])
/dports/print/rtf2latex2e/rtf2latex2e-2-2-2/src/
H A Dwriter.c490 textStyle.bold = 0; in InitTextStyle()
491 textStyle.italic = 0; in InitTextStyle()
492 textStyle.underlined = 0; in InitTextStyle()
494 textStyle.smallCaps = 0; in InitTextStyle()
495 textStyle.subScript = 0; in InitTextStyle()
496 textStyle.superScript = 0; in InitTextStyle()
500 textStyle.mathRoman = 0; in InitTextStyle()
502 textStyle.allCaps = 0; in InitTextStyle()
503 textStyle.backColor = 0; in InitTextStyle()
666 if (textStyle.italic) in WriteTextStyle()
[all …]
/dports/deskutils/ausweisapp2/AusweisApp2-1.22.2/resources/qml/Governikus/UpdateView/+desktop/
H A DUpdateViewInformation.qml35 textStyle: Style.text.normal
47 textStyle: Style.text.normal
59 textStyle: Style.text.normal
70 textStyle: Style.text.normal
82 textStyle: Style.text.normal
93 textStyle: Style.text.normal
107 textStyle: Style.text.normal
120 textStyle: Style.text.normal
134 textStyle: Style.text.normal
147 textStyle: Style.text.normal
/dports/graphics/krita/krita-4.4.8/libs/odf/
H A DKoOdfLineNumberingConfiguration.cpp33 QString textStyle; member in KoOdfLineNumberingConfiguration::Private
66 d->textStyle = other.d->textStyle; in KoOdfLineNumberingConfiguration()
81 d->textStyle = other.d->textStyle; in operator =()
99 d->textStyle = element.attributeNS(KoXmlNS::text, "style-name", QString()); in loadOdf()
143 if (!d->textStyle.isEmpty()) { in saveOdf()
144 writer->addAttribute("text:style-name", d->textStyle); in saveOdf()
192 QString KoOdfLineNumberingConfiguration::textStyle() const in textStyle() function in KoOdfLineNumberingConfiguration
194 return d->textStyle; in textStyle()
197 void KoOdfLineNumberingConfiguration::setTextStyle(const QString &textStyle) in setTextStyle() argument
199 d->textStyle = textStyle; in setTextStyle()
/dports/editors/calligra/calligra-3.2.1/libs/odf/
H A DKoOdfLineNumberingConfiguration.cpp32 QString textStyle; member in KoOdfLineNumberingConfiguration::Private
65 d->textStyle = other.d->textStyle; in KoOdfLineNumberingConfiguration()
80 d->textStyle = other.d->textStyle; in operator =()
98 d->textStyle = element.attributeNS(KoXmlNS::text, "style-name", QString()); in loadOdf()
142 if (!d->textStyle.isEmpty()) { in saveOdf()
143 writer->addAttribute("text:style-name", d->textStyle); in saveOdf()
191 QString KoOdfLineNumberingConfiguration::textStyle() const in textStyle() function in KoOdfLineNumberingConfiguration
193 return d->textStyle; in textStyle()
196 void KoOdfLineNumberingConfiguration::setTextStyle(const QString &textStyle) in setTextStyle() argument
198 d->textStyle = textStyle; in setTextStyle()
/dports/editors/calligraplan/calligraplan-3.3.0/src/libs/odf/
H A DKoOdfLineNumberingConfiguration.cpp33 QString textStyle; member in KoOdfLineNumberingConfiguration::Private
66 d->textStyle = other.d->textStyle; in KoOdfLineNumberingConfiguration()
81 d->textStyle = other.d->textStyle; in operator =()
99 d->textStyle = element.attributeNS(KoXmlNS::text, "style-name", QString()); in loadOdf()
143 if (!d->textStyle.isEmpty()) { in saveOdf()
144 writer->addAttribute("text:style-name", d->textStyle); in saveOdf()
192 QString KoOdfLineNumberingConfiguration::textStyle() const in textStyle() function in KoOdfLineNumberingConfiguration
194 return d->textStyle; in textStyle()
197 void KoOdfLineNumberingConfiguration::setTextStyle(const QString &textStyle) in setTextStyle() argument
199 d->textStyle = textStyle; in setTextStyle()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/java/time/format/
H A DDateTimeTextProvider.java333 for (TextStyle textStyle : TextStyle.values()) { in createStore()
334 if (textStyle.isStandalone()) { in createStore()
346 styleMap.put(textStyle, map); in createStore()
354 for (TextStyle textStyle : TextStyle.values()) { in createStore()
358 if ((textStyle.equals(TextStyle.NARROW) || in createStore()
392 styleMap.put(textStyle, map); in createStore()
399 for (TextStyle textStyle : TextStyle.values()) { in createStore()
403 if ((textStyle.equals(TextStyle.NARROW) || in createStore()
437 styleMap.put(textStyle, map); in createStore()
445 if (textStyle.isStandalone()) { in createStore()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.base/share/classes/java/time/format/
H A DDateTimeTextProvider.java333 for (TextStyle textStyle : TextStyle.values()) { in createStore()
334 if (textStyle.isStandalone()) { in createStore()
346 styleMap.put(textStyle, map); in createStore()
354 for (TextStyle textStyle : TextStyle.values()) { in createStore()
358 if ((textStyle.equals(TextStyle.NARROW) || in createStore()
392 styleMap.put(textStyle, map); in createStore()
399 for (TextStyle textStyle : TextStyle.values()) { in createStore()
403 if ((textStyle.equals(TextStyle.NARROW) || in createStore()
437 styleMap.put(textStyle, map); in createStore()
445 if (textStyle.isStandalone()) { in createStore()
[all …]

12345678910>>...31