/haiku/src/servers/app/font/ |
H A D | FontFamily.cpp | 22 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) 74 FontStyle* style = fStyles.RemoveItemAt(i); local 76 // we remove us before deleting the style, so that the font manager 77 // is not contacted to remove the style from us 78 style->_SetFontFamily(NULL, -1); 95 \brief Adds the style to the family 96 \param style pointe 99 AddStyle(FontStyle* style) argument 130 RemoveStyle(FontStyle* style) argument 165 FontStyle *style = fStyles.ItemAt(i); local 247 FontStyle* style = fStyles.ItemAt(i); local 268 FontStyle* style = fStyles.ItemAt(i); local 286 FontStyle* style = fStyles.ItemAt(i); local [all...] |
H A D | FontFamily.h | 33 bool AddStyle(FontStyle* style); 34 bool RemoveStyle(FontStyle* style); 36 FontStyle* GetStyle(const char* style) const; 44 bool HasStyle(const char* style) const;
|
H A D | FontManager.cpp | 165 FontStyle* style = fStyleHashTable.Get(key); local 166 if (style != NULL) 167 return style->Family(); 197 \param style ID of the font's style 214 \param style The font's style or NULL in which case \a styleID is used 216 \param styleID will only be used if \a style is NULL (or empty) 217 \param face is used to specify the style if both \a style i 263 FontStyle* style = family->GetStyleMatchingFace(face); local 277 RemoveStyle(FontStyle* style) argument 327 FontStyle* style = new (std::nothrow) FontStyle(nodeRef, path, face, this); local 339 fStyleHashTable.Put(FontKey(familyID, styleID), style); local [all...] |
H A D | GlobalFontManager.cpp | 65 BString style; member in struct:GlobalFontManager::font_mapping 74 FontStyle* style = styles.ItemAt(i); local 76 if (nodeRef == style->NodeRef()) 77 return style; 232 FontStyle* style = directory->styles.ItemAt(i); local 233 style->UpdatePath(directory->directory); 240 // find style in source and move it to the target 242 FontStyle* style; local 243 while ((style = fromDirectory->FindStyle(nodeRef)) != NULL) { 244 fromDirectory->styles.RemoveItem(style, fals 327 _AddDefaultMapping(const char* family, const char* style, const char* path) argument 421 FontStyle* style = GetStyle(familyName, styleName); local 442 FontStyle* style = NULL; local 485 _RemoveStyle(font_directory& directory, FontStyle* style) argument 508 FontStyle* style; local [all...] |
/haiku/src/apps/icon-o-matic/ |
H A D | Util.cpp | 24 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 D | DateFormat.h | 48 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 D | TimeFormat.h | 27 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 D | DurationFormat.h | 32 const time_unit_style style = B_TIME_UNIT_FULL); 34 const time_unit_style style = B_TIME_UNIT_FULL);
|
H A D | TimeUnitFormat.h | 46 BTimeUnitFormat(const time_unit_style style = 50 const time_unit_style style = B_TIME_UNIT_FULL);
|
/haiku/src/tools/translation/stxtinfo/ |
H A D | stxtinfo.cpp | 70 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 D | TextView.cpp | 16 ::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 D | DateFormat.cpp | 66 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 D | TimeUnitFormat.cpp | 41 //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 D | TimeFormat.cpp | 55 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 D | FormattingConventions.cpp | 422 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 D | FontSelectionView.cpp | 54 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 D | StyleListView.cpp | 65 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 D | StyleListView.h | 64 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 D | agg_rasterizer_compound_aa.h | 60 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 D | AssignStyleCommand.cpp | 25 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 D | DumpFontList.cpp | 29 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 D | FontSelectionView.cpp | 150 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 D | PathSourceShape.h | 34 PathSourceShape(_ICON_NAMESPACE Style* style); 56 void SetStyle(_ICON_NAMESPACE Style* style) argument 57 { Shape::SetStyle(style); }
|
/haiku/src/libs/icon/ |
H A D | IconRenderer.cpp | 37 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 D | listfont.cpp | 95 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);
|