Searched refs:style (Results 1 - 25 of 130) sorted by relevance

123456

/haiku/src/servers/app/font/
H A DFontFamily.cpp22 font_score(const FontStyle* style) argument
25 if (style->Face() & B_REGULAR_FACE)
28 if (style->Face() & B_BOLD_FACE)
30 if (style->Face() & B_ITALIC_FACE)
77 \brief Adds the style to the family
78 \param style pointer to FontStyle object to be added
81 FontFamily::AddStyle(FontStyle* style) argument
83 if (!style)
90 if (!strcmp(item->Name(), style->Name()))
94 if (!fStyles.BinaryInsert(style, compare_font_style
112 RemoveStyle(FontStyle* style) argument
145 FontStyle *style = fStyles.ItemAt(i); local
234 FontStyle* style = fStyles.ItemAt(i); local
252 FontStyle* style = fStyles.ItemAt(i); local
[all...]
H A DFontManager.cpp165 FontStyle* style = fStyleHashTable.Get(key); local
166 if (style != NULL)
167 return style->Family();
169 // Try the slow route in case style 0 was removed
198 \param style ID of the font's style
207 FontStyle* style = fStyleHashTable.Get(key); local
208 if (style != NULL)
209 return style;
219 \param style Th
270 FontStyle* style = family->GetStyleMatchingFace(face); local
284 RemoveStyle(FontStyle* style) argument
325 FontStyle* style = new (std::nothrow) FontStyle(nodeRef, path, face, this); local
337 fStyleHashTable.Put(FontKey(familyID, styleID), style); local
350 FontStyle* style = fStyleHashTable.Get(key); local
[all...]
H A DFontFamily.h33 bool AddStyle(FontStyle* style);
34 bool RemoveStyle(FontStyle* style);
36 FontStyle* GetStyle(const char* style) const;
43 bool HasStyle(const char* style) const;
/haiku/src/apps/icon-o-matic/
H A DUtil.cpp24 Style** style, AddStylesCommand** command)
26 *style = new (nothrow) Style(color);
27 if (*style) {
29 styles[0] = *style;
34 delete *style;
35 *style = NULL;
23 new_style(rgb_color color, Container<Style>* container, Style** style, AddStylesCommand** command) argument
/haiku/headers/os/locale/
H A DDateFormat.h48 status_t GetDateFormat(BDateFormatStyle style,
50 void SetDateFormat(BDateFormatStyle style,
57 const BDateFormatStyle style) const;
59 const BDateFormatStyle style,
62 const BDateFormatStyle style,
67 const BDateFormatStyle style) const;
70 int& fieldCount, BDateFormatStyle style
75 const BDateFormatStyle style
78 const BDateFormatStyle style
83 status_t Parse(BString source, BDateFormatStyle style,
[all...]
H A DTimeFormat.h27 void SetTimeFormat(BTimeFormatStyle style,
33 time_t time, BTimeFormatStyle style) const;
35 const BTimeFormatStyle style,
39 time_t time, BTimeFormatStyle style) const;
42 int& fieldCount, BTimeFormatStyle style
47 status_t Parse(BString source, BTimeFormatStyle style,
52 const BTimeFormatStyle style) const;
H A DDurationFormat.h32 const time_unit_style style = B_TIME_UNIT_FULL);
34 const time_unit_style style = B_TIME_UNIT_FULL);
H A DTimeUnitFormat.h46 BTimeUnitFormat(const time_unit_style style =
50 const time_unit_style style = B_TIME_UNIT_FULL);
/haiku/src/tools/translation/stxtinfo/
H A Dstxtinfo.cpp70 char style[64]; member in struct:Style
82 PrintStyle(Style &style, int32 i) argument
84 style.offset = B_BENDIAN_TO_HOST_INT32(style.offset);
85 style.size = B_BENDIAN_TO_HOST_FLOAT(style.size);
86 style.shear = B_BENDIAN_TO_HOST_FLOAT(style.shear);
87 style.face = B_BENDIAN_TO_HOST_INT16(style
382 Style style; local
[all...]
/haiku/src/apps/haikudepot/textview/
H A DTextView.cpp16 ::ParagraphStyle style; local
17 style.SetLineSpacing(ceilf(font.Size() * 0.2));
19 SetParagraphStyle(style);
114 TextView::SetParagraphStyle(const ::ParagraphStyle& style) argument
116 fText.SetStyle(style);
/haiku/src/kits/locale/
H A DDateFormat.cpp66 BDateFormat::GetDateFormat(BDateFormatStyle style, argument
69 return fConventions.GetDateFormat(style, outFormat);
74 BDateFormat::SetDateFormat(BDateFormatStyle style, argument
77 fConventions.SetExplicitDateFormat(style, format);
83 const BDateFormatStyle style) const
85 ObjectDeleter<DateFormat> dateFormatter(_CreateDateFormatter(style));
104 const BDateFormatStyle style, const BTimeZone* timeZone) const
106 ObjectDeleter<DateFormat> dateFormatter(_CreateDateFormatter(style));
131 const BDateFormatStyle style, const BTimeZone* timeZone) const
136 ObjectDeleter<DateFormat> dateFormatter(_CreateDateFormatter(style));
103 Format(BString& string, const time_t time, const BDateFormatStyle style, const BTimeZone* timeZone) const argument
130 Format(BString& string, const BDate& time, const BDateFormatStyle style, const BTimeZone* timeZone) const argument
380 Parse(BString source, BDateFormatStyle style, BDate& output) argument
[all...]
H A DTimeUnitFormat.cpp41 //maps our unit style to the corresponding ICU unit
48 BTimeUnitFormat::BTimeUnitFormat(const time_unit_style style) argument
53 if (style != B_TIME_UNIT_ABBREVIATED && style != B_TIME_UNIT_FULL) {
59 fFormatter = new TimeUnitFormat(icuLocale, kTimeUnitStyleToICU[style],
73 const time_unit_style style)
78 if (style != B_TIME_UNIT_ABBREVIATED && style != B_TIME_UNIT_FULL) {
84 fFormatter = new TimeUnitFormat(icuLocale, kTimeUnitStyleToICU[style],
71 BTimeUnitFormat(const BLanguage& language, const BFormattingConventions& conventions, const time_unit_style style) argument
H A DTimeFormat.cpp55 BTimeFormat::SetTimeFormat(BTimeFormatStyle style, argument
58 fConventions.SetExplicitTimeFormat(style, format);
67 BTimeFormatStyle style) const
69 ObjectDeleter<DateFormat> timeFormatter(_CreateTimeFormatter(style));
88 const BTimeFormatStyle style, const BTimeZone* timeZone) const
90 ObjectDeleter<DateFormat> timeFormatter(_CreateTimeFormatter(style));
115 time_t time, BTimeFormatStyle style) const
117 ObjectDeleter<DateFormat> timeFormatter(_CreateTimeFormatter(style));
155 BTimeFormatStyle style) const
157 ObjectDeleter<DateFormat> timeFormatter(_CreateTimeFormatter(style));
87 Format(BString& string, const time_t time, const BTimeFormatStyle style, const BTimeZone* timeZone) const argument
210 Parse(BString source, BTimeFormatStyle style, BTime& output) argument
[all...]
H A DFormattingConventions.cpp422 BFormattingConventions::GetDateFormat(BDateFormatStyle style, argument
425 if (style < 0 || style >= B_DATE_FORMAT_STYLE_COUNT)
428 outFormat = fExplicitDateFormats[style].Length()
429 ? fExplicitDateFormats[style]
430 : fCachedDateFormats[style];
436 DateFormat::createDateInstance((DateFormat::EStyle)style, *fICULocale));
448 fCachedDateFormats[style] = outFormat;
455 BFormattingConventions::GetTimeFormat(BTimeFormatStyle style, argument
458 if (style <
555 SetExplicitDateFormat(BDateFormatStyle style, const BString& format) argument
563 SetExplicitTimeFormat(BTimeFormatStyle style, const BString& format) argument
[all...]
/haiku/src/preferences/appearance/
H A DFontSelectionView.cpp54 font_style style, float size);
56 font_family family, font_style style, float* _size);
63 font_style style, float size)
73 font_style style, float* _size)
200 font_style style; local
201 fCurrentFont.GetFamilyAndStyle(NULL, &style);
207 BMenuItem* item = familyItem->Submenu()->FindItem(style);
223 const char* style; local
225 || msg->FindString("style", &style) !
62 _set_system_font_(const char *which, font_family family, font_style style, float size) argument
72 _get_system_default_font_(const char* which, font_family family, font_style style, float* _size) argument
278 font_style style; local
318 font_style style; local
332 _set_system_font_(Name(), family, style, fCurrentFont.Size()); local
340 font_style style; local
466 font_style style; local
[all...]
/haiku/src/apps/icon-o-matic/gui/
H A DStyleListView.cpp65 style(NULL),
130 if (s == style)
133 if (style) {
134 style->RemoveObserver(this);
135 style->ReleaseReference();
138 style = s;
140 if (style) {
141 style->AcquireReference();
142 style->AddObserver(this);
149 SetText(style
178 Style* style; member in class:StyleListItem
299 Style* style; local
405 Style* style = item->style; local
460 Style* style = new(std::nothrow) Style(&styleArchive); local
578 Style* style = dynamic_cast<Style*>(selectable); local
606 ItemAdded(Style* style, int32 index) argument
623 ItemRemoved(Style* style) argument
752 _AddStyle(Style* style, int32 index) argument
763 _RemoveStyle(Style* style) argument
821 _SetStyleMarked(Style* style, bool marked) argument
[all...]
H A DStyleListView.h64 virtual void ItemAdded(Style* style, int32 index);
65 virtual void ItemRemoved(Style* style);
79 bool _AddStyle(Style* style, int32 index);
80 bool _RemoveStyle(Style* style);
82 StyleListItem* _ItemForStyle(Style* style) const;
86 void _SetStyleMarked(Style* style, bool marked);
97 // the style item will be marked that
/haiku/headers/libs/agg/
H A Dagg_rasterizer_compound_aa.h60 void style(const cell_style_aa& c) function in struct:agg::cell_style_aa
127 void master_alpha(int style, double alpha);
171 unsigned style(unsigned style_idx) const;
197 // Sweeps one scanline with one style index. The style ID can be
198 // determined by calling style().
342 m_outline.style(cell);
464 style_info* style = &m_styles[style_id]; local
469 style->start_cell = 0;
470 style
489 style_info* style; local
590 unsigned rasterizer_compound_aa<Clip>::style(unsigned style_idx) const function in class:agg::rasterizer_compound_aa
658 master_alpha(int style, double alpha) argument
[all...]
/haiku/src/apps/icon-o-matic/style/
H A DAssignStyleCommand.cpp25 Style* style)
29 fNewStyle(style)
75 name << B_TRANSLATE("Assign style");
24 AssignStyleCommand(PathSourceShape* shape, Style* style) argument
/haiku/src/tests/kits/interface/bfont/
H A DDumpFontList.cpp29 font_style style; local
32 if (get_font_style(family, j, &style, &styleFlags) == B_OK) {
33 printf("\tstyle \"%s\" (0x%08lx)\n", style, styleFlags);
36 font.SetFamilyAndStyle(family, style);
93 printf("\tgetting style %ld failed\n", j);
/haiku/src/apps/webpositive/support/
H A DFontSelectionView.cpp150 font_style style; local
151 fCurrentFont.GetFamilyAndStyle(NULL, &style);
161 styleItem = familyItem->Submenu()->FindItem(style);
182 const char* style; local
184 || message->FindString("style", &style) != B_OK)
194 fCurrentFont.SetFamilyAndStyle(family, style);
447 font_style style; local
448 fCurrentFont.GetFamilyAndStyle(&family, &style);
455 item = item->Submenu()->FindItem(style);
517 font_style style; local
[all...]
/haiku/src/libs/icon/shape/
H A DPathSourceShape.h34 PathSourceShape(_ICON_NAMESPACE Style* style);
56 void SetStyle(_ICON_NAMESPACE Style* style) argument
57 { Shape::SetStyle(style); }
/haiku/src/libs/icon/
H A DIconRenderer.cpp37 const Style* style; member in struct:IconRenderer::StyleHandler::StyleItem
51 bool AddStyle(const Style* style,
75 const Style* style,
121 IconRenderer::StyleHandler::AddStyle(const Style* style, argument
124 if (!style)
131 item->style = style;
133 item->transformer = _MergeTransformers(style->Gradient(), transformers, &transformation);
147 if (styleItem->style->Gradient())
151 if (styleItem->style
206 const Style* style = styleItem->style; local
338 _GenerateImage(agg::rgba8* span, int x, int y, unsigned len, const Style* style, StyleTransformer* transformer) argument
572 Style* style = shape->Style(); local
[all...]
/haiku/src/bin/
H A Dlistfont.cpp95 printf("name/style face spc. enc. "
111 font_style style; local
114 if (get_font_style(family, s, &style, &face, &flags) < B_OK)
118 printf("%s/%s\n", family, style);
123 fontName << family << "/" << style; local
127 font.SetFamilyAndStyle(family, style);
/haiku/src/apps/terminal/
H A DAppearPrefView.cpp150 const char* style = pref->getString(PREF_HALF_FONT_STYLE); local
153 _MarkSelectedFont(family, style, size);
191 const char* style = NULL; local
194 || msg->FindString("font_style", &style) != B_OK
208 || currentStyle == NULL || strcmp(currentStyle, style) != 0
211 pref->setString(PREF_HALF_FONT_STYLE, style);
213 _MarkSelectedFont(family, style, size);
354 font_style style; local
357 if (get_font_style(family, j, &style) == B_OK) {
358 font.SetFamilyAndStyle(family, style);
390 _MakeFontSizeMenu(const char* label, uint32 command, const char* family, const char* style, const char* size) argument
463 _MarkSelectedFont(const char* family, const char* style, const char* size) argument
[all...]

Completed in 235 milliseconds

123456