Symbol: style
headers/libs/agg/agg_rasterizer_cells_aa.h
201
m_curr_cell.style(m_style_cell);
headers/libs/agg/agg_rasterizer_cells_aa.h
309
AGG_INLINE void rasterizer_cells_aa<Cell>::style(const cell_type& style_cell)
headers/libs/agg/agg_rasterizer_cells_aa.h
311
m_style_cell.style(style_cell);
headers/libs/agg/agg_rasterizer_cells_aa.h
69
void style(const cell_type& style_cell);
headers/libs/agg/agg_rasterizer_compound_aa.h
127
void master_alpha(int style, double alpha);
headers/libs/agg/agg_rasterizer_compound_aa.h
171
unsigned style(unsigned style_idx) const;
headers/libs/agg/agg_rasterizer_compound_aa.h
342
m_outline.style(cell);
headers/libs/agg/agg_rasterizer_compound_aa.h
464
style_info* style = &m_styles[style_id];
headers/libs/agg/agg_rasterizer_compound_aa.h
469
style->start_cell = 0;
headers/libs/agg/agg_rasterizer_compound_aa.h
470
style->num_cells = 0;
headers/libs/agg/agg_rasterizer_compound_aa.h
471
style->last_x = -0x7FFFFFFF;
headers/libs/agg/agg_rasterizer_compound_aa.h
473
++style->start_cell;
headers/libs/agg/agg_rasterizer_compound_aa.h
489
style_info* style;
headers/libs/agg/agg_rasterizer_compound_aa.h
503
style = &m_styles[0];
headers/libs/agg/agg_rasterizer_compound_aa.h
504
style->start_cell = 0;
headers/libs/agg/agg_rasterizer_compound_aa.h
505
style->num_cells = 0;
headers/libs/agg/agg_rasterizer_compound_aa.h
506
style->last_x = -0x7FFFFFFF;
headers/libs/agg/agg_rasterizer_compound_aa.h
537
style = &m_styles[style_id];
headers/libs/agg/agg_rasterizer_compound_aa.h
538
if(curr_cell->x == style->last_x)
headers/libs/agg/agg_rasterizer_compound_aa.h
540
cell = &m_cells[style->start_cell + style->num_cells - 1];
headers/libs/agg/agg_rasterizer_compound_aa.h
546
cell = &m_cells[style->start_cell + style->num_cells];
headers/libs/agg/agg_rasterizer_compound_aa.h
550
style->last_x = curr_cell->x;
headers/libs/agg/agg_rasterizer_compound_aa.h
551
style->num_cells++;
headers/libs/agg/agg_rasterizer_compound_aa.h
557
style = &m_styles[style_id];
headers/libs/agg/agg_rasterizer_compound_aa.h
558
if(curr_cell->x == style->last_x)
headers/libs/agg/agg_rasterizer_compound_aa.h
560
cell = &m_cells[style->start_cell + style->num_cells - 1];
headers/libs/agg/agg_rasterizer_compound_aa.h
566
cell = &m_cells[style->start_cell + style->num_cells];
headers/libs/agg/agg_rasterizer_compound_aa.h
570
style->last_x = curr_cell->x;
headers/libs/agg/agg_rasterizer_compound_aa.h
571
style->num_cells++;
headers/libs/agg/agg_rasterizer_compound_aa.h
590
unsigned rasterizer_compound_aa<Clip>::style(unsigned style_idx) const
headers/libs/agg/agg_rasterizer_compound_aa.h
60
void style(const cell_style_aa& c)
headers/libs/agg/agg_rasterizer_compound_aa.h
658
void rasterizer_compound_aa<Clip>::master_alpha(int style, double alpha)
headers/libs/agg/agg_rasterizer_compound_aa.h
660
if(style >= 0)
headers/libs/agg/agg_rasterizer_compound_aa.h
662
while((int)m_master_alpha.size() <= style)
headers/libs/agg/agg_rasterizer_compound_aa.h
666
m_master_alpha[style] = uround(alpha * aa_mask);
headers/libs/agg/agg_rasterizer_scanline_aa.h
60
void style(const cell_aa&) {}
headers/libs/agg/agg_renderer_scanline.h
506
unsigned style;
headers/libs/agg/agg_renderer_scanline.h
517
style = ras.style(0);
headers/libs/agg/agg_renderer_scanline.h
518
if(sh.is_solid(style))
headers/libs/agg/agg_renderer_scanline.h
522
render_scanline_aa_solid(sl_aa, ren, sh.color(style));
headers/libs/agg/agg_renderer_scanline.h
537
style);
headers/libs/agg/agg_renderer_scanline.h
569
style = ras.style(i);
headers/libs/agg/agg_renderer_scanline.h
570
solid = sh.is_solid(style);
headers/libs/agg/agg_renderer_scanline.h
588
color_type c = sh.color(style);
headers/libs/agg/agg_renderer_scanline.h
627
style);
headers/libs/zydis/Zydis/Formatter.h
777
ZydisFormatterStyle style;
headers/libs/zydis/Zydis/Formatter.h
997
ZYDIS_EXPORT ZyanStatus ZydisFormatterInit(ZydisFormatter* formatter, ZydisFormatterStyle style);
headers/os/interface/Font.h
182
const font_style style);
headers/os/interface/Font.h
197
font_style* style) const;
headers/os/interface/Slider.h
132
virtual void SetStyle(thumb_style style);
headers/os/interface/View.h
198
uint32 style = B_TRACK_WHOLE_RECT);
headers/os/locale/DateFormat.h
48
status_t GetDateFormat(BDateFormatStyle style,
headers/os/locale/DateFormat.h
50
void SetDateFormat(BDateFormatStyle style,
headers/os/locale/DateFormat.h
57
const BDateFormatStyle style) const;
headers/os/locale/DateFormat.h
59
const BDateFormatStyle style,
headers/os/locale/DateFormat.h
62
const BDateFormatStyle style,
headers/os/locale/DateFormat.h
67
const BDateFormatStyle style) const;
headers/os/locale/DateFormat.h
70
int& fieldCount, BDateFormatStyle style
headers/os/locale/DateFormat.h
75
const BDateFormatStyle style
headers/os/locale/DateFormat.h
78
const BDateFormatStyle style
headers/os/locale/DateFormat.h
83
status_t Parse(BString source, BDateFormatStyle style,
headers/os/locale/DateFormat.h
90
const BDateFormatStyle style) const;
headers/os/locale/DurationFormat.h
32
const time_unit_style style = B_TIME_UNIT_FULL);
headers/os/locale/DurationFormat.h
34
const time_unit_style style = B_TIME_UNIT_FULL);
headers/os/locale/FormattingConventions.h
85
status_t GetDateFormat(BDateFormatStyle style,
headers/os/locale/FormattingConventions.h
87
status_t GetTimeFormat(BTimeFormatStyle style,
headers/os/locale/FormattingConventions.h
95
void SetExplicitDateFormat(BDateFormatStyle style,
headers/os/locale/FormattingConventions.h
97
void SetExplicitTimeFormat(BTimeFormatStyle style,
headers/os/locale/TimeFormat.h
27
void SetTimeFormat(BTimeFormatStyle style,
headers/os/locale/TimeFormat.h
33
time_t time, BTimeFormatStyle style) const;
headers/os/locale/TimeFormat.h
35
const BTimeFormatStyle style,
headers/os/locale/TimeFormat.h
39
time_t time, BTimeFormatStyle style) const;
headers/os/locale/TimeFormat.h
42
int& fieldCount, BTimeFormatStyle style
headers/os/locale/TimeFormat.h
47
status_t Parse(BString source, BTimeFormatStyle style,
headers/os/locale/TimeFormat.h
52
const BTimeFormatStyle style) const;
headers/os/locale/TimeUnitFormat.h
46
BTimeUnitFormat(const time_unit_style style =
headers/os/locale/TimeUnitFormat.h
50
const time_unit_style style = B_TIME_UNIT_FULL);
headers/private/app/ServerProtocolStructs.h
71
uint32 style;
headers/private/interface/PictureDataWriter.h
62
status_t WriteSetFontStyle(const font_style style);
headers/private/interface/PicturePlayer.h
87
/* 38 */ void (*set_font_style)(void* user, const char* style);
headers/private/print/PictureIterator.h
81
virtual void SetFontStyle(char *style) { }
headers/private/print/PicturePrinter.h
80
virtual void SetFontStyle(char *style);
headers/private/print/Template.h
75
virtual void SetFontStyle(char *style);
headers/private/shared/CalendarView.h
155
void _PopulateDayNames(BDateFormatStyle style);
src/add-ons/translators/rtf/convert.cpp
504
font_style style;
src/add-ons/translators/rtf/convert.cpp
505
font.GetFamilyAndStyle(&family, &style);
src/apps/charactermap/CharacterWindow.cpp
181
const char* style;
src/apps/charactermap/CharacterWindow.cpp
185
&& settings.FindString("font style", &style) == B_OK) {
src/apps/charactermap/CharacterWindow.cpp
186
_SetFont(family, style);
src/apps/charactermap/CharacterWindow.cpp
187
displayName << family << " " << style;
src/apps/charactermap/CharacterWindow.cpp
511
font_style style;
src/apps/charactermap/CharacterWindow.cpp
513
font.GetFamilyAndStyle(&family, &style);
src/apps/charactermap/CharacterWindow.cpp
517
status = settings.AddString("font style", style);
src/apps/charactermap/CharacterWindow.cpp
528
CharacterWindow::_SetFont(const char* family, const char* style)
src/apps/charactermap/CharacterWindow.cpp
531
font.SetFamilyAndStyle(family, style);
src/apps/charactermap/CharacterWindow.cpp
577
font_style style;
src/apps/charactermap/CharacterWindow.cpp
579
if (get_font_style(family, j, &style, &flags) == B_OK) {
src/apps/charactermap/CharacterWindow.cpp
580
item = new BMenuItem(style, new BMessage(kMsgFontSelected));
src/apps/charactermap/CharacterWindow.cpp
584
&& !strcmp(style, currentStyle)) {
src/apps/charactermap/CharacterWindow.h
37
void _SetFont(const char* family, const char* style);
src/apps/fontdemo/ControlView.cpp
479
font_style style;
src/apps/fontdemo/ControlView.cpp
500
get_font_style((char*)family, 0, &style);
src/apps/fontdemo/ControlView.cpp
503
string << family << " " << style;
src/apps/fontdemo/ControlView.cpp
511
BMenuItem* styleItem = submenu->FindItem(style);
src/apps/fontdemo/ControlView.cpp
528
const char* style;
src/apps/fontdemo/ControlView.cpp
530
if (message->FindString("_style", &style) == B_OK
src/apps/fontdemo/ControlView.cpp
539
BMenuItem* styleItem = submenu->FindItem(style);
src/apps/fontdemo/ControlView.cpp
543
printf("Family: %s, Style: %s\n", family, style);
src/apps/fontdemo/ControlView.cpp
547
string << family << " " << style;
src/apps/fontdemo/FontDemoView.cpp
181
const char* style;
src/apps/fontdemo/FontDemoView.cpp
183
|| fontMessage.FindString("_style", &style) != B_OK)
src/apps/fontdemo/FontDemoView.cpp
186
fFont.SetFamilyAndStyle(family, style);
src/apps/fontdemo/FontDemoView.cpp
201
font_style style;
src/apps/fontdemo/FontDemoView.cpp
202
if (get_font_style(const_cast<char*>(family), 0, &style) == B_OK) {
src/apps/fontdemo/FontDemoView.cpp
203
fFont.SetFamilyAndStyle(family, style);
src/apps/haikudepot/textview/MarkupParser.cpp
278
MarkupParser::_ToggleStyle(const CharacterStyle& style)
src/apps/haikudepot/textview/MarkupParser.cpp
280
if (fCurrentCharacterStyle == &style)
src/apps/haikudepot/textview/MarkupParser.cpp
283
fCurrentCharacterStyle = &style;
src/apps/haikudepot/textview/MarkupParser.h
42
void _ToggleStyle(const CharacterStyle& style);
src/apps/haikudepot/textview/Paragraph.cpp
20
Paragraph::Paragraph(const ParagraphStyle& style)
src/apps/haikudepot/textview/Paragraph.cpp
22
fStyle(style),
src/apps/haikudepot/textview/Paragraph.cpp
82
Paragraph::SetStyle(const ParagraphStyle& style)
src/apps/haikudepot/textview/Paragraph.cpp
84
fStyle = style;
src/apps/haikudepot/textview/Paragraph.h
18
Paragraph(const ParagraphStyle& style);
src/apps/haikudepot/textview/Paragraph.h
25
void SetStyle(const ParagraphStyle& style);
src/apps/haikudepot/textview/ParagraphLayout.cpp
824
const CharacterStyle& style)
src/apps/haikudepot/textview/ParagraphLayout.cpp
826
if (style.Width() >= 0.0f) {
src/apps/haikudepot/textview/ParagraphLayout.cpp
829
width = style.Width();
src/apps/haikudepot/textview/ParagraphLayout.cpp
832
width += style.GlyphSpacing();
src/apps/haikudepot/textview/ParagraphLayout.cpp
908
const CharacterStyle& style)
src/apps/haikudepot/textview/ParagraphLayout.cpp
910
float ascent = style.Ascent();
src/apps/haikudepot/textview/ParagraphLayout.cpp
914
float descent = style.Descent();
src/apps/haikudepot/textview/ParagraphLayout.cpp
919
if (style.Font().Size() > height)
src/apps/haikudepot/textview/ParagraphLayout.cpp
920
height = style.Font().Size();
src/apps/haikudepot/textview/ParagraphLayout.cpp
955
const CharacterStyle& style = span.Style();
src/apps/haikudepot/textview/ParagraphLayout.cpp
957
view->SetFont(&style.Font());
src/apps/haikudepot/textview/ParagraphLayout.cpp
959
if (style.WhichForegroundColor() != B_NO_COLOR)
src/apps/haikudepot/textview/ParagraphLayout.cpp
960
view->SetHighUIColor(style.WhichForegroundColor());
src/apps/haikudepot/textview/ParagraphLayout.cpp
962
view->SetHighColor(style.ForegroundColor());
src/apps/haikudepot/textview/ParagraphLayout.h
219
const CharacterStyle& style);
src/apps/haikudepot/textview/ParagraphLayout.h
225
const CharacterStyle& style);
src/apps/haikudepot/textview/TextDocument.cpp
120
CharacterStyle style)
src/apps/haikudepot/textview/TextDocument.cpp
122
return Replace(textOffset, length, text, style,
src/apps/haikudepot/textview/TextDocument.cpp
84
CharacterStyle style)
src/apps/haikudepot/textview/TextDocument.cpp
86
return Replace(textOffset, 0, text, style);
src/apps/haikudepot/textview/TextDocument.h
36
CharacterStyle style);
src/apps/haikudepot/textview/TextDocument.h
47
CharacterStyle style);
src/apps/haikudepot/textview/TextDocumentLayout.cpp
386
const ParagraphStyle& style = info.layout->Style();
src/apps/haikudepot/textview/TextDocumentLayout.cpp
389
y += style.SpacingTop();
src/apps/haikudepot/textview/TextDocumentLayout.cpp
394
y += info.layout->Height() + style.SpacingBottom();
src/apps/haikudepot/textview/TextEditor.cpp
140
TextEditor::SetCharacterStyle(::CharacterStyle style)
src/apps/haikudepot/textview/TextEditor.cpp
142
if (fStyleAtCaret == style)
src/apps/haikudepot/textview/TextEditor.cpp
145
fStyleAtCaret = style;
src/apps/haikudepot/textview/TextEditor.h
56
void SetCharacterStyle(::CharacterStyle style);
src/apps/haikudepot/textview/TextSpan.cpp
20
TextSpan::TextSpan(const BString& text, const CharacterStyle& style)
src/apps/haikudepot/textview/TextSpan.cpp
24
fStyle(style),
src/apps/haikudepot/textview/TextSpan.cpp
83
TextSpan::SetStyle(const CharacterStyle& style)
src/apps/haikudepot/textview/TextSpan.cpp
85
fStyle = style;
src/apps/haikudepot/textview/TextSpan.h
19
const CharacterStyle& style);
src/apps/haikudepot/textview/TextSpan.h
30
void SetStyle(const CharacterStyle& style);
src/apps/haikudepot/textview/TextView.cpp
114
TextView::SetParagraphStyle(const ::ParagraphStyle& style)
src/apps/haikudepot/textview/TextView.cpp
116
fText.SetStyle(style);
src/apps/haikudepot/textview/TextView.cpp
16
::ParagraphStyle style;
src/apps/haikudepot/textview/TextView.cpp
17
style.SetLineSpacing(ceilf(font.Size() * 0.2));
src/apps/haikudepot/textview/TextView.cpp
19
SetParagraphStyle(style);
src/apps/haikudepot/textview/TextView.h
34
void SetParagraphStyle(const ::ParagraphStyle& style);
src/apps/haikudepot/ui/FeaturedPackagesView.cpp
361
font_style style;
src/apps/haikudepot/ui/FeaturedPackagesView.cpp
363
font->GetFamilyAndStyle(&family, &style);
src/apps/haikudepot/ui/FeaturedPackagesView.cpp
373
font_style style;
src/apps/haikudepot/ui/FeaturedPackagesView.cpp
374
font->GetFamilyAndStyle(&family, &style);
src/apps/haikudepot/ui/PackageInfoView.cpp
246
font_style style;
src/apps/haikudepot/ui/PackageInfoView.cpp
248
font.GetFamilyAndStyle(&family, &style);
src/apps/icon-o-matic/MainWindow.cpp
203
Style* style = new (nothrow) Style(*color);
src/apps/icon-o-matic/MainWindow.cpp
204
style->SetName(name);
src/apps/icon-o-matic/MainWindow.cpp
205
Style* styles[1] = { style };
src/apps/icon-o-matic/MainWindow.cpp
447
Style* style = NULL;
src/apps/icon-o-matic/MainWindow.cpp
450
fDocument->Icon()->Styles(), &style, &styleCommand);
src/apps/icon-o-matic/MainWindow.cpp
459
if (!style) {
src/apps/icon-o-matic/MainWindow.cpp
462
style = fDocument->Icon()->Styles()->ItemAt(currentStyle);
src/apps/icon-o-matic/MainWindow.cpp
463
if (!style)
src/apps/icon-o-matic/MainWindow.cpp
464
style = fDocument->Icon()->Styles()->ItemAt(0);
src/apps/icon-o-matic/MainWindow.cpp
467
PathSourceShape* shape = new (nothrow) PathSourceShape(style);
src/apps/icon-o-matic/MainWindow.cpp
529
Style* style;
src/apps/icon-o-matic/MainWindow.cpp
530
if (message->FindPointer("style", (void**)&style) < B_OK)
src/apps/icon-o-matic/MainWindow.cpp
531
style = NULL;
src/apps/icon-o-matic/MainWindow.cpp
532
if (!fDocument->Icon()->Styles()->HasItem(style))
src/apps/icon-o-matic/MainWindow.cpp
533
style = NULL;
src/apps/icon-o-matic/MainWindow.cpp
535
fStyleView->SetStyle(style);
src/apps/icon-o-matic/MainWindow.cpp
541
Gradient* gradient = style ? style->Gradient() : NULL;
src/apps/icon-o-matic/Util.cpp
24
Style** style, AddStylesCommand** command)
src/apps/icon-o-matic/Util.cpp
26
*style = new (nothrow) Style(color);
src/apps/icon-o-matic/Util.cpp
27
if (*style) {
src/apps/icon-o-matic/Util.cpp
29
styles[0] = *style;
src/apps/icon-o-matic/Util.cpp
34
delete *style;
src/apps/icon-o-matic/Util.cpp
35
*style = NULL;
src/apps/icon-o-matic/Util.h
32
Style** style, AddStylesCommand** command);
src/apps/icon-o-matic/gui/ShapeListView.cpp
332
Style* style = new Style(&styleArchive);
src/apps/icon-o-matic/gui/ShapeListView.cpp
333
if (style == NULL)
src/apps/icon-o-matic/gui/ShapeListView.cpp
336
Style* styleToAssign = style;
src/apps/icon-o-matic/gui/ShapeListView.cpp
341
if (*other == *style) {
src/apps/icon-o-matic/gui/ShapeListView.cpp
343
delete style;
src/apps/icon-o-matic/gui/ShapeListView.cpp
344
style = NULL;
src/apps/icon-o-matic/gui/ShapeListView.cpp
349
if (style != NULL && !styles.AddItem(style)) {
src/apps/icon-o-matic/gui/ShapeListView.cpp
350
delete style;
src/apps/icon-o-matic/gui/ShapeListView.cpp
366
if (style != NULL) {
src/apps/icon-o-matic/gui/ShapeListView.cpp
367
styles.RemoveItem(style);
src/apps/icon-o-matic/gui/ShapeListView.cpp
368
delete style;
src/apps/icon-o-matic/gui/StyleListView.cpp
130
if (s == style)
src/apps/icon-o-matic/gui/StyleListView.cpp
133
if (style) {
src/apps/icon-o-matic/gui/StyleListView.cpp
134
style->RemoveObserver(this);
src/apps/icon-o-matic/gui/StyleListView.cpp
135
style->ReleaseReference();
src/apps/icon-o-matic/gui/StyleListView.cpp
138
style = s;
src/apps/icon-o-matic/gui/StyleListView.cpp
140
if (style) {
src/apps/icon-o-matic/gui/StyleListView.cpp
141
style->AcquireReference();
src/apps/icon-o-matic/gui/StyleListView.cpp
142
style->AddObserver(this);
src/apps/icon-o-matic/gui/StyleListView.cpp
149
SetText(style->Name());
src/apps/icon-o-matic/gui/StyleListView.cpp
178
Style* style;
src/apps/icon-o-matic/gui/StyleListView.cpp
299
Style* style;
src/apps/icon-o-matic/gui/StyleListView.cpp
310
new_style(color, fStyleContainer, &style, &command);
src/apps/icon-o-matic/gui/StyleListView.cpp
341
if (item && item->style && item->style->Gradient()) {
src/apps/icon-o-matic/gui/StyleListView.cpp
342
if (!gradients.AddItem((void*)item->style->Gradient()))
src/apps/icon-o-matic/gui/StyleListView.cpp
381
message.AddPointer("style", item ? (void*)item->style : NULL);
src/apps/icon-o-matic/gui/StyleListView.cpp
405
Style* style = item->style;
src/apps/icon-o-matic/gui/StyleListView.cpp
410
fCurrentShape, style);
src/apps/icon-o-matic/gui/StyleListView.cpp
413
fCurrentShape->SetStyle(style);
src/apps/icon-o-matic/gui/StyleListView.cpp
435
if (item->style->Archive(&archive, true) == B_OK)
src/apps/icon-o-matic/gui/StyleListView.cpp
460
Style* style = new(std::nothrow) Style(&styleArchive);
src/apps/icon-o-matic/gui/StyleListView.cpp
461
if (style == NULL)
src/apps/icon-o-matic/gui/StyleListView.cpp
464
if (!styles.AddItem(style)) {
src/apps/icon-o-matic/gui/StyleListView.cpp
465
delete style;
src/apps/icon-o-matic/gui/StyleListView.cpp
505
styles[i] = item ? item->style : NULL;
src/apps/icon-o-matic/gui/StyleListView.cpp
531
styles[i] = item ? new (nothrow) Style(*item->style) : NULL;
src/apps/icon-o-matic/gui/StyleListView.cpp
567
return new StyleListItem(item->style,
src/apps/icon-o-matic/gui/StyleListView.cpp
578
Style* style = dynamic_cast<Style*>(selectable);
src/apps/icon-o-matic/gui/StyleListView.cpp
579
if (style == NULL)
src/apps/icon-o-matic/gui/StyleListView.cpp
584
if (SelectableFor(ItemAt(i)) == style)
src/apps/icon-o-matic/gui/StyleListView.cpp
597
return styleItem->style;
src/apps/icon-o-matic/gui/StyleListView.cpp
606
StyleListView::ItemAdded(Style* style, int32 index)
src/apps/icon-o-matic/gui/StyleListView.cpp
615
if (_AddStyle(style, index))
src/apps/icon-o-matic/gui/StyleListView.cpp
623
StyleListView::ItemRemoved(Style* style)
src/apps/icon-o-matic/gui/StyleListView.cpp
633
_RemoveStyle(style);
src/apps/icon-o-matic/gui/StyleListView.cpp
65
style(NULL),
src/apps/icon-o-matic/gui/StyleListView.cpp
752
StyleListView::_AddStyle(Style* style, int32 index)
src/apps/icon-o-matic/gui/StyleListView.cpp
754
if (style != NULL) {
src/apps/icon-o-matic/gui/StyleListView.cpp
756
style, this, fCurrentShape != NULL), index);
src/apps/icon-o-matic/gui/StyleListView.cpp
763
StyleListView::_RemoveStyle(Style* style)
src/apps/icon-o-matic/gui/StyleListView.cpp
765
StyleListItem* item = _ItemForStyle(style);
src/apps/icon-o-matic/gui/StyleListView.cpp
775
StyleListView::_ItemForStyle(Style* style) const
src/apps/icon-o-matic/gui/StyleListView.cpp
782
if (item->style == style)
src/apps/icon-o-matic/gui/StyleListView.cpp
804
item->SetMarked(fCurrentShape->Style() == item->style);
src/apps/icon-o-matic/gui/StyleListView.cpp
821
StyleListView::_SetStyleMarked(Style* style, bool marked)
src/apps/icon-o-matic/gui/StyleListView.cpp
823
StyleListItem* item = _ItemForStyle(style);
src/apps/icon-o-matic/gui/StyleListView.h
64
virtual void ItemAdded(Style* style, int32 index);
src/apps/icon-o-matic/gui/StyleListView.h
65
virtual void ItemRemoved(Style* style);
src/apps/icon-o-matic/gui/StyleListView.h
79
bool _AddStyle(Style* style, int32 index);
src/apps/icon-o-matic/gui/StyleListView.h
80
bool _RemoveStyle(Style* style);
src/apps/icon-o-matic/gui/StyleListView.h
82
StyleListItem* _ItemForStyle(Style* style) const;
src/apps/icon-o-matic/gui/StyleListView.h
86
void _SetStyleMarked(Style* style, bool marked);
src/apps/icon-o-matic/gui/StyleView.cpp
253
StyleView::SetStyle(Style* style)
src/apps/icon-o-matic/gui/StyleView.cpp
255
if (fStyle == style)
src/apps/icon-o-matic/gui/StyleView.cpp
263
fStyle = style;
src/apps/icon-o-matic/gui/StyleView.h
55
void SetStyle(Style* style);
src/apps/icon-o-matic/import_export/flat_icon/FlatIconExporter.cpp
251
Style* style = styles->ItemAtFast(i);
src/apps/icon-o-matic/import_export/flat_icon/FlatIconExporter.cpp
256
const Gradient* gradient = style->Gradient();
src/apps/icon-o-matic/import_export/flat_icon/FlatIconExporter.cpp
260
rgb_color color = style->Color();
src/apps/icon-o-matic/import_export/flat_icon/FlatIconExporter.cpp
263
if (style->Color().alpha == 255)
src/apps/icon-o-matic/import_export/flat_icon/FlatIconExporter.cpp
269
if (style->Color().alpha == 255)
src/apps/icon-o-matic/import_export/flat_icon/FlatIconExporter.cpp
281
rgb_color color = style->Color();
src/apps/icon-o-matic/import_export/flat_icon/FlatIconExporter.cpp
286
rgb_color color = style->Color();
src/apps/icon-o-matic/import_export/flat_icon/FlatIconExporter.cpp
293
rgb_color color = style->Color();
src/apps/icon-o-matic/import_export/flat_icon/FlatIconExporter.cpp
299
if (!buffer.Write(style->Color().red))
src/apps/icon-o-matic/import_export/flat_icon/FlatIconExporter.cpp
523
Style* style = shape->Style();
src/apps/icon-o-matic/import_export/flat_icon/FlatIconExporter.cpp
524
if (!style)
src/apps/icon-o-matic/import_export/flat_icon/FlatIconExporter.cpp
527
int32 styleIndex = styles->IndexOf(style);
src/apps/icon-o-matic/import_export/message/MessageExporter.cpp
143
MessageExporter::_Export(const Style* style, BMessage* into) const
src/apps/icon-o-matic/import_export/message/MessageExporter.cpp
145
return style->Archive(into, true);
src/apps/icon-o-matic/import_export/message/MessageExporter.cpp
170
Style* style = pathSourceShape->Style();
src/apps/icon-o-matic/import_export/message/MessageExporter.cpp
171
ret = into->AddInt32("style ref", globalStyles->IndexOf(style));
src/apps/icon-o-matic/import_export/message/MessageExporter.cpp
71
Style* style = styles->ItemAtFast(i);
src/apps/icon-o-matic/import_export/message/MessageExporter.cpp
73
ret = _Export(style, &styleArchive);
src/apps/icon-o-matic/import_export/message/MessageExporter.h
40
status_t _Export(const Style* style,
src/apps/icon-o-matic/import_export/styled_text/StyledTextImporter.cpp
358
shape->SetStyle(fStyleMap[j].style);
src/apps/icon-o-matic/import_export/styled_text/StyledTextImporter.cpp
388
Style* style = new(std::nothrow) Style(color);
src/apps/icon-o-matic/import_export/styled_text/StyledTextImporter.cpp
389
if (style == NULL)
src/apps/icon-o-matic/import_export/styled_text/StyledTextImporter.cpp
395
style->SetName(name);
src/apps/icon-o-matic/import_export/styled_text/StyledTextImporter.cpp
399
if (*style == *(fStyleMap[i].style)) {
src/apps/icon-o-matic/import_export/styled_text/StyledTextImporter.cpp
400
delete style;
src/apps/icon-o-matic/import_export/styled_text/StyledTextImporter.cpp
401
style = fStyleMap[i].style;
src/apps/icon-o-matic/import_export/styled_text/StyledTextImporter.cpp
407
if (!found && !icon->Styles()->AddItem(style)) {
src/apps/icon-o-matic/import_export/styled_text/StyledTextImporter.cpp
408
delete style;
src/apps/icon-o-matic/import_export/styled_text/StyledTextImporter.cpp
413
fStyleMap[fStyleCount].style = style;
src/apps/icon-o-matic/import_export/styled_text/StyledTextImporter.h
27
Style *style;
src/apps/icon-o-matic/import_export/svg/DocumentBuilder.cpp
116
Style* style = shape->Style();
src/apps/icon-o-matic/import_export/svg/DocumentBuilder.cpp
117
if (style == NULL)
src/apps/icon-o-matic/import_export/svg/DocumentBuilder.cpp
119
int32 styleIndex = icon->Styles()->IndexOf(style);
src/apps/icon-o-matic/import_export/svg/DocumentBuilder.cpp
122
if (*style == *earlierStyle) {
src/apps/icon-o-matic/import_export/svg/DocumentBuilder.cpp
124
icon->Styles()->RemoveItem(style);
src/apps/icon-o-matic/import_export/svg/DocumentBuilder.cpp
125
style->ReleaseReference();
src/apps/icon-o-matic/import_export/svg/DocumentBuilder.cpp
324
Style* style = new (nothrow) Style(color);
src/apps/icon-o-matic/import_export/svg/DocumentBuilder.cpp
325
if (!style || !icon->Styles()->AddItem(style)) {
src/apps/icon-o-matic/import_export/svg/DocumentBuilder.cpp
326
delete style;
src/apps/icon-o-matic/import_export/svg/DocumentBuilder.cpp
342
style->SetGradient(&gradient);
src/apps/icon-o-matic/import_export/svg/DocumentBuilder.cpp
346
shape->SetStyle(style);
src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp
240
const Style* style = pathSourceShape->Style();
src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp
243
status_t ret = _GetFill(style, color, stream);
src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp
266
if (!style->Gradient() && style->Color().alpha < 255) {
src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp
268
append_float(helper, style->Color().alpha / 255.0);
src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp
287
if (!style->Gradient() && style->Color().alpha < 255) {
src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp
289
append_float(helper, style->Color().alpha / 255.0);
src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp
510
SVGExporter::_GetFill(const Style* style, char* string,
src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp
514
if (Gradient* gradient = style->Gradient()) {
src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp
518
sprintf(string, "#%.2x%.2x%.2x", style->Color().red,
src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp
519
style->Color().green,
src/apps/icon-o-matic/import_export/svg/SVGExporter.cpp
520
style->Color().blue);
src/apps/icon-o-matic/import_export/svg/SVGExporter.h
52
status_t _GetFill(const Style* style,
src/apps/icon-o-matic/style/AssignStyleCommand.cpp
25
Style* style)
src/apps/icon-o-matic/style/AssignStyleCommand.cpp
29
fNewStyle(style)
src/apps/icon-o-matic/style/AssignStyleCommand.h
29
Style* style);
src/apps/icon-o-matic/style/SetColorCommand.cpp
28
SetColorCommand::SetColorCommand(Style* style,
src/apps/icon-o-matic/style/SetColorCommand.cpp
31
fStyle(style),
src/apps/icon-o-matic/style/SetColorCommand.h
27
SetColorCommand(Style* style,
src/apps/icon-o-matic/style/SetGradientCommand.cpp
28
SetGradientCommand::SetGradientCommand(Style* style,
src/apps/icon-o-matic/style/SetGradientCommand.cpp
31
fStyle(style),
src/apps/icon-o-matic/style/SetGradientCommand.h
26
SetGradientCommand(Style* style,
src/apps/mail/Content.cpp
2403
TextRunArray style(count / 8 + 8);
src/apps/mail/Content.cpp
2407
&style.Array(), style.MaxEntries());
src/apps/mail/Content.cpp
2409
text_run_array &array = style.Array();
src/apps/mail/Content.cpp
2425
fView->Insert(fView->TextLength(), line, count, &style.Array());
src/apps/mail/Content.cpp
2684
struct text_runs : text_run_array { text_run _runs[1]; } style;
src/apps/mail/Content.cpp
2686
style.count = 1;
src/apps/mail/Content.cpp
2687
style.runs[0].offset = 0;
src/apps/mail/Content.cpp
2688
style.runs[0].font = fFont;
src/apps/mail/Content.cpp
2689
style.runs[0].color = ui_color(B_PANEL_TEXT_COLOR);
src/apps/mail/Content.cpp
2690
runs = &style;
src/apps/mail/Content.cpp
2947
spellMark->style = RunArray(start, end);
src/apps/mail/Content.cpp
2989
SetRunArray(start, end, spellMark->style);
src/apps/mail/Content.cpp
2991
free(spellMark->style);
src/apps/mail/Content.cpp
3007
SetRunArray(spellMark->start, spellMark->end, spellMark->style);
src/apps/mail/Content.cpp
3009
free(spellMark->style);
src/apps/mail/Content.cpp
3131
TextRunArray style(targetLength / 8 + 8);
src/apps/mail/Content.cpp
3134
&style.Array(), style.MaxEntries());
src/apps/mail/Content.cpp
3135
Insert(target, targetLength, &style.Array());
src/apps/mail/Content.cpp
3210
TextRunArray style(length / 8 + 8);
src/apps/mail/Content.cpp
3213
&style.Array(), style.MaxEntries());
src/apps/mail/Content.cpp
3214
Insert(target, length, &style.Array());
src/apps/mail/Content.cpp
395
int32 length, const BFont& font, text_run_array* style, int32 maxStyles)
src/apps/mail/Content.cpp
397
text_run* runs = style->runs;
src/apps/mail/Content.cpp
398
int32 index = style->count;
src/apps/mail/Content.cpp
549
style->count = index;
src/apps/mail/Content.h
239
struct text_run_array *style;
src/apps/mail/Content.h
307
const char* line, int32 length, const BFont& font, text_run_array* style,
src/apps/mail/MailWindow.cpp
2299
text_run_array* style = text->RunArray(0, text->TextLength());
src/apps/mail/MailWindow.cpp
2301
fContentView->TextView()->SetText(text->Text(), text->TextLength(), style);
src/apps/mail/MailWindow.cpp
2303
free(style);
src/apps/mail/MailWindow.cpp
2398
TextRunArray style(length / 8 + 8);
src/apps/mail/MailWindow.cpp
2401
fContentView->TextView()->Text(), length, font, &style.Array(),
src/apps/mail/MailWindow.cpp
2402
style.MaxEntries());
src/apps/mail/MailWindow.cpp
2404
fContentView->TextView()->SetRunArray(0, length, &style.Array());
src/apps/mail/Prefs.cpp
290
const char* style;
src/apps/mail/Prefs.cpp
423
style = NULL;
src/apps/mail/Prefs.cpp
426
msg->FindString("style", &style);
src/apps/mail/Prefs.cpp
427
fNewFont->SetFamilyAndStyle(family, style);
src/apps/resedit/BitmapView.cpp
159
BitmapView::SetStyle(border_style style)
src/apps/resedit/BitmapView.cpp
161
if (fBorderStyle != style) {
src/apps/resedit/BitmapView.cpp
162
fBorderStyle = style;
src/apps/resedit/BitmapView.h
41
virtual void SetStyle(border_style style);
src/apps/stylededit/StyledEditWindow.cpp
1285
font_style style;
src/apps/stylededit/StyledEditWindow.cpp
1287
if (get_font_style(family, j, &style, &flags) == B_OK) {
src/apps/stylededit/StyledEditWindow.cpp
1288
subMenu->AddItem(new BMenuItem(style,
src/apps/stylededit/StyledEditWindow.cpp
450
font_style style;
src/apps/stylededit/StyledEditWindow.cpp
451
font.GetFamilyAndStyle(&family, &style);
src/apps/stylededit/StyledEditWindow.cpp
453
_SetFontStyle(family, style);
src/apps/stylededit/StyledEditWindow.cpp
467
font_style style;
src/apps/stylededit/StyledEditWindow.cpp
468
font.GetFamilyAndStyle(&family, &style);
src/apps/stylededit/StyledEditWindow.cpp
470
_SetFontStyle(family, style);
src/apps/stylededit/StyledEditWindow.cpp
484
font_style style;
src/apps/stylededit/StyledEditWindow.cpp
485
font.GetFamilyAndStyle(&family, &style);
src/apps/stylededit/StyledEditWindow.cpp
487
_SetFontStyle(family, style);
src/apps/stylededit/StyledEditWindow.cpp
501
font_style style;
src/apps/stylededit/StyledEditWindow.cpp
502
font.GetFamilyAndStyle(&family, &style);
src/apps/stylededit/StyledEditWindow.cpp
504
_SetFontStyle(family, style);
src/apps/stylededit/StyledEditWindow.cpp
756
font_style style;
src/apps/stylededit/StyledEditWindow.cpp
757
font.GetFamilyAndStyle(&family, &style);
src/apps/stylededit/StyledEditWindow.cpp
765
BMenuItem* item = menu->FindItem(style);
src/apps/sudoku/SudokuView.cpp
311
BString style = "sudoku_";
src/apps/sudoku/SudokuView.cpp
324
style << kStyles[right] << "_" << kStyles[bottom];
src/apps/sudoku/SudokuView.cpp
326
style << kStyles[right];
src/apps/sudoku/SudokuView.cpp
330
text << "class=\"sudoku sudoku_empty " << style;
src/apps/sudoku/SudokuView.cpp
334
text << "class=\"sudoku sudoku_initial " << style
src/apps/sudoku/SudokuView.cpp
343
text << "class=\"sudoku sudoku_filled sudoku_" << style
src/apps/terminal/AppearPrefView.cpp
150
const char* style = pref->getString(PREF_HALF_FONT_STYLE);
src/apps/terminal/AppearPrefView.cpp
153
_MarkSelectedFont(family, style, size);
src/apps/terminal/AppearPrefView.cpp
191
const char* style = NULL;
src/apps/terminal/AppearPrefView.cpp
194
|| msg->FindString("font_style", &style) != B_OK
src/apps/terminal/AppearPrefView.cpp
208
|| currentStyle == NULL || strcmp(currentStyle, style) != 0
src/apps/terminal/AppearPrefView.cpp
211
pref->setString(PREF_HALF_FONT_STYLE, style);
src/apps/terminal/AppearPrefView.cpp
213
_MarkSelectedFont(family, style, size);
src/apps/terminal/AppearPrefView.cpp
354
font_style style;
src/apps/terminal/AppearPrefView.cpp
357
if (get_font_style(family, j, &style) == B_OK) {
src/apps/terminal/AppearPrefView.cpp
358
font.SetFamilyAndStyle(family, style);
src/apps/terminal/AppearPrefView.cpp
364
message->AddString("font_style", style);
src/apps/terminal/AppearPrefView.cpp
368
"%s - %s", family, style);
src/apps/terminal/AppearPrefView.cpp
370
MSG_HALF_FONT_CHANGED, family, style, size);
src/apps/terminal/AppearPrefView.cpp
374
&& strcmp(defaultStyle, style) == 0)
src/apps/terminal/AppearPrefView.cpp
391
const char* family, const char* style, const char* size)
src/apps/terminal/AppearPrefView.cpp
408
message->AddString("font_style", style);
src/apps/terminal/AppearPrefView.cpp
423
message->AddString("font_style", style);
src/apps/terminal/AppearPrefView.cpp
463
AppearancePrefView::_MarkSelectedFont(const char* family, const char* style,
src/apps/terminal/AppearPrefView.cpp
467
snprintf(fontMenuLabel, sizeof(fontMenuLabel), "%s - %s", family, style);
src/apps/terminal/AppearPrefView.h
64
const char* style,
src/apps/terminal/AppearPrefView.h
71
const char* style, const char* size);
src/apps/terminal/PrefHandler.cpp
132
font_style style;
src/apps/terminal/PrefHandler.cpp
135
if (get_font_style(family, j, &style) == B_OK) {
src/apps/terminal/PrefHandler.cpp
137
fallBackFont.SetFamilyAndStyle(family, style);
src/apps/terminal/PrefHandler.cpp
475
font_style style;
src/apps/terminal/PrefHandler.cpp
490
if (get_font_style(family, j, &style) == B_OK
src/apps/terminal/PrefHandler.cpp
491
&& strcmp(style, prefStyle) == 0)
src/apps/terminal/PrefHandler.cpp
497
fallbackFont->GetFamilyAndStyle(&family, &style);
src/apps/terminal/PrefHandler.cpp
499
setString(PREF_HALF_FONT_STYLE, style);
src/apps/terminal/TermParse.cpp
1022
int style = -1;
src/apps/terminal/TermParse.cpp
1028
style = BLOCK_CURSOR;
src/apps/terminal/TermParse.cpp
1032
style = UNDERLINE_CURSOR;
src/apps/terminal/TermParse.cpp
1036
style = IBEAM_CURSOR;
src/apps/terminal/TermParse.cpp
1040
if (style != -1) {
src/apps/terminal/TermParse.cpp
1041
fBuffer->SetCursorStyle(style);
src/apps/terminal/TermWindow.cpp
687
const char* style
src/apps/terminal/TermWindow.cpp
691
font.SetFamilyAndStyle(family, style);
src/apps/terminal/TerminalBuffer.cpp
202
TerminalBuffer::SetCursorStyle(int32 style)
src/apps/terminal/TerminalBuffer.cpp
204
fCursorStyle = style;
src/apps/terminal/TerminalBuffer.h
45
void SetCursorStyle(int32 style);
src/apps/terminal/TerminalLine.h
96
inline void SetUnder(int style)
src/apps/terminal/TerminalLine.h
98
underlineStyle = style;
src/apps/webpositive/autocompletion/AutoCompleter.cpp
248
BAutoCompleter::SetCompletionStyle(CompletionStyle* style)
src/apps/webpositive/autocompletion/AutoCompleter.cpp
251
fCompletionStyle = style;
src/apps/webpositive/autocompletion/AutoCompleter.h
154
void SetCompletionStyle(CompletionStyle* style);
src/apps/webpositive/support/FontSelectionView.cpp
179
font_style style;
src/apps/webpositive/support/FontSelectionView.cpp
180
fCurrentFont.GetFamilyAndStyle(NULL, &style);
src/apps/webpositive/support/FontSelectionView.cpp
190
styleItem = familyItem->Submenu()->FindItem(style);
src/apps/webpositive/support/FontSelectionView.cpp
211
const char* style;
src/apps/webpositive/support/FontSelectionView.cpp
213
|| message->FindString("style", &style) != B_OK)
src/apps/webpositive/support/FontSelectionView.cpp
223
fCurrentFont.SetFamilyAndStyle(family, style);
src/apps/webpositive/support/FontSelectionView.cpp
476
font_style style;
src/apps/webpositive/support/FontSelectionView.cpp
477
fCurrentFont.GetFamilyAndStyle(&family, &style);
src/apps/webpositive/support/FontSelectionView.cpp
484
item = item->Submenu()->FindItem(style);
src/apps/webpositive/support/FontSelectionView.cpp
548
font_style style;
src/apps/webpositive/support/FontSelectionView.cpp
549
font.GetFamilyAndStyle(&family, &style);
src/apps/webpositive/support/FontSelectionView.cpp
550
BString currentStyle(style);
src/apps/webpositive/support/FontSelectionView.cpp
555
if (get_font_style(family, j, &style) != B_OK)
src/apps/webpositive/support/FontSelectionView.cpp
560
message->AddString("style", (char*)style);
src/apps/webpositive/support/FontSelectionView.cpp
562
BMenuItem* item = new BMenuItem(style, message);
src/apps/webpositive/support/FontSelectionView.cpp
563
item->SetMarked(currentStyle == style);
src/bin/listfont.cpp
111
font_style style;
src/bin/listfont.cpp
114
if (get_font_style(family, s, &style, &face, &flags) < B_OK)
src/bin/listfont.cpp
118
printf("%s/%s\n", family, style);
src/bin/listfont.cpp
123
fontName << family << "/" << style;
src/bin/listfont.cpp
127
font.SetFamilyAndStyle(family, style);
src/kits/interface/Box.cpp
662
int32 style;
src/kits/interface/Box.cpp
666
else if (archive->FindInt32("_style", &style) == B_OK)
src/kits/interface/Box.cpp
667
fStyle = (border_style)style;
src/kits/interface/Font.cpp
1436
font_style style;
src/kits/interface/Font.cpp
1437
GetFamilyAndStyle(&family, &style);
src/kits/interface/Font.cpp
1440
family, fFamilyID, style, fStyleID, fFace, fShear, fRotation, fSize,
src/kits/interface/Font.cpp
184
::style* style = family->styles.ItemAt(index);
src/kits/interface/Font.cpp
185
if (style == NULL)
src/kits/interface/Font.cpp
188
memcpy(*_style, style->name.String(), style->name.Length() + 1);
src/kits/interface/Font.cpp
190
*_face = style->face;
src/kits/interface/Font.cpp
192
*_flags = style->flags;
src/kits/interface/Font.cpp
259
::style* style = new (nothrow) ::style;
src/kits/interface/Font.cpp
260
if (style == NULL) {
src/kits/interface/Font.cpp
265
link.ReadString(style->name);
src/kits/interface/Font.cpp
266
link.Read<uint16>(&style->face);
src/kits/interface/Font.cpp
267
link.Read<uint32>(&style->flags);
src/kits/interface/Font.cpp
269
family->styles.AddItem(style);
src/kits/interface/Font.cpp
402
_set_system_font_(const char* which, font_family family, font_style style,
src/kits/interface/Font.cpp
412
link.AttachString(style, sizeof(font_style));
src/kits/interface/Font.cpp
420
font_style style, float* _size)
src/kits/interface/Font.cpp
433
link.ReadString(style, sizeof(font_style));
src/kits/interface/Font.cpp
544
BFont::SetFamilyAndStyle(const font_family family, const font_style style)
src/kits/interface/Font.cpp
546
if (family == NULL && style == NULL)
src/kits/interface/Font.cpp
553
link.AttachString(style, sizeof(font_style));
src/kits/interface/Font.cpp
583
uint16 family, style;
src/kits/interface/Font.cpp
584
style = code & 0xFFFF;
src/kits/interface/Font.cpp
592
link.Attach<uint16>(style);
src/kits/interface/Font.cpp
60
BObjectList<style> styles;
src/kits/interface/Font.cpp
701
BFont::GetFamilyAndStyle(font_family* family, font_style* style) const
src/kits/interface/Font.cpp
703
if (family == NULL && style == NULL)
src/kits/interface/Font.cpp
713
if (style == NULL)
src/kits/interface/Font.cpp
714
style = &styleBuffer;
src/kits/interface/Font.cpp
725
memset(*style, 0, sizeof(font_style));
src/kits/interface/Font.cpp
730
link.ReadString(*style, sizeof(font_style));
src/kits/interface/PictureDataWriter.cpp
764
PictureDataWriter::WriteSetFontStyle(const font_style style)
src/kits/interface/PictureDataWriter.cpp
769
uint32 length = strlen(style) + 1;
src/kits/interface/PictureDataWriter.cpp
771
WriteData(style, length);
src/kits/interface/PicturePlayer.cpp
1415
const char* style;
src/kits/interface/PicturePlayer.cpp
1417
|| !reader.Get(style, *length)) {
src/kits/interface/PicturePlayer.cpp
1421
callbacks.SetFontStyle(style, *length);
src/kits/interface/PicturePlayer.cpp
407
char* style = strndup(_style, length);
src/kits/interface/PicturePlayer.cpp
409
fCallbacks->set_font_style(fUserData, style);
src/kits/interface/PicturePlayer.cpp
411
free(style);
src/kits/interface/Slider.cpp
1351
BSlider::SetStyle(thumb_style style)
src/kits/interface/Slider.cpp
1353
fStyle = style;
src/kits/interface/TextView.cpp
1754
runArray->runs[i].font = styleRange->runs[i].style.font;
src/kits/interface/TextView.cpp
1755
runArray->runs[i].color = styleRange->runs[i].style.color;
src/kits/interface/TextView.cpp
2963
&array->styles[i].style);
src/kits/interface/TextView.cpp
3013
runArray->runs[i].font.SetFamilyAndStyle(NULL, array->styles[i].style);
src/kits/interface/TextView.cpp
98
font_style style;
src/kits/interface/View.cpp
1393
BView::BeginRectTracking(BRect startRect, uint32 style)
src/kits/interface/View.cpp
1398
fOwner->fLink->Attach<uint32>(style);
src/kits/interface/View.cpp
449
font_style style;
src/kits/interface/View.cpp
451
&& archive->FindString("_fname", 1, (const char**)&style) == B_OK) {
src/kits/interface/View.cpp
453
font.SetFamilyAndStyle(family, style);
src/kits/interface/View.cpp
614
font_style style;
src/kits/interface/View.cpp
615
font.GetFamilyAndStyle(&family, &style);
src/kits/interface/View.cpp
618
ret = data->AddString("_fname", style);
src/kits/interface/textview_support/StyleBuffer.cpp
109
fBuffer[index].style.font = *inFont;
src/kits/interface/textview_support/StyleBuffer.cpp
110
fBuffer[index].style.color = *inColor;
src/kits/interface/textview_support/StyleBuffer.cpp
116
const STEStyle style = { *inFont, *inColor };
src/kits/interface/textview_support/StyleBuffer.cpp
121
style
src/kits/interface/textview_support/StyleBuffer.cpp
148
if (*inFont == fBuffer[i].style.font
src/kits/interface/textview_support/StyleBuffer.cpp
149
&& *inColor == fBuffer[i].style.color) {
src/kits/interface/textview_support/StyleBuffer.cpp
224
fNullStyle = fStyleRecord[fStyleRunDesc[index]->index]->style;
src/kits/interface/textview_support/StyleBuffer.cpp
239
fNullStyle = fStyleRecord[fStyleRunDesc[index]->index]->style;
src/kits/interface/textview_support/StyleBuffer.cpp
306
STEStyle style = fStyleRecord[runDesc.index]->style;
src/kits/interface/textview_support/StyleBuffer.cpp
307
SetStyleFromMode(inMode, inFont, &style.font, inColor, &style.color);
src/kits/interface/textview_support/StyleBuffer.cpp
309
styleIndex = fStyleRecord.InsertRecord(&style.font, &style.color);
src/kits/interface/textview_support/StyleBuffer.cpp
368
*outFont = fStyleRecord[styleIndex]->style.font;
src/kits/interface/textview_support/StyleBuffer.cpp
371
*outColor = fStyleRecord[styleIndex]->style.color;
src/kits/interface/textview_support/StyleBuffer.cpp
464
*outFont = &fStyleRecord[run->index]->style.font;
src/kits/interface/textview_support/StyleBuffer.cpp
467
*outColor = &fStyleRecord[run->index]->style.color;
src/kits/interface/textview_support/StyleBuffer.cpp
505
run.style = fNullStyle;
src/kits/interface/textview_support/StyleBuffer.cpp
509
run.style = fStyleRecord[runDesc->index]->style;
src/kits/interface/textview_support/StyleBuffer.cpp
577
const STEStyle* style = &fStyleRecord[styleIndex]->style;
src/kits/interface/textview_support/StyleBuffer.cpp
583
*outFont = style->font;
src/kits/interface/textview_support/StyleBuffer.cpp
586
*outColor = style->color;
src/kits/interface/textview_support/StyleBuffer.cpp
593
STEStyle theStyle = fStyleRecord[styleIndex]->style;
src/kits/interface/textview_support/StyleBuffer.cpp
597
FixupMode(fStyleRecord[styleIndex]->style, theStyle, mode,
src/kits/interface/textview_support/StyleBuffer.h
27
STEStyle style; // style info
src/kits/interface/textview_support/StyleBuffer.h
41
STEStyle style; // style info
src/kits/locale/DateFormat.cpp
104
const BDateFormatStyle style, const BTimeZone* timeZone) const
src/kits/locale/DateFormat.cpp
106
ObjectDeleter<DateFormat> dateFormatter(_CreateDateFormatter(style));
src/kits/locale/DateFormat.cpp
131
const BDateFormatStyle style, const BTimeZone* timeZone) const
src/kits/locale/DateFormat.cpp
136
ObjectDeleter<DateFormat> dateFormatter(_CreateDateFormatter(style));
src/kits/locale/DateFormat.cpp
172
const time_t time, const BDateFormatStyle style) const
src/kits/locale/DateFormat.cpp
174
ObjectDeleter<DateFormat> dateFormatter(_CreateDateFormatter(style));
src/kits/locale/DateFormat.cpp
213
BDateFormatStyle style) const
src/kits/locale/DateFormat.cpp
215
ObjectDeleter<DateFormat> dateFormatter(_CreateDateFormatter(style));
src/kits/locale/DateFormat.cpp
313
const BDateFormatStyle style) const
src/kits/locale/DateFormat.cpp
315
if (style < 0 || style >= B_DATE_FORMAT_STYLE_COUNT)
src/kits/locale/DateFormat.cpp
330
DateFormatSymbols::STANDALONE, kDateFormatStyleToWidth[style]);
src/kits/locale/DateFormat.cpp
347
const BDateFormatStyle style) const
src/kits/locale/DateFormat.cpp
349
if (style < 0 || style >= B_DATE_FORMAT_STYLE_COUNT)
src/kits/locale/DateFormat.cpp
364
DateFormatSymbols::STANDALONE, kDateFormatStyleToWidth[style]);
src/kits/locale/DateFormat.cpp
380
BDateFormat::Parse(BString source, BDateFormatStyle style, BDate& output)
src/kits/locale/DateFormat.cpp
387
ObjectDeleter<DateFormat> dateFormatter(_CreateDateFormatter(style));
src/kits/locale/DateFormat.cpp
403
BDateFormat::_CreateDateFormatter(const BDateFormatStyle style) const
src/kits/locale/DateFormat.cpp
419
fConventions.GetDateFormat(style, format);
src/kits/locale/DateFormat.cpp
66
BDateFormat::GetDateFormat(BDateFormatStyle style,
src/kits/locale/DateFormat.cpp
69
return fConventions.GetDateFormat(style, outFormat);
src/kits/locale/DateFormat.cpp
74
BDateFormat::SetDateFormat(BDateFormatStyle style,
src/kits/locale/DateFormat.cpp
77
fConventions.SetExplicitDateFormat(style, format);
src/kits/locale/DateFormat.cpp
83
const BDateFormatStyle style) const
src/kits/locale/DateFormat.cpp
85
ObjectDeleter<DateFormat> dateFormatter(_CreateDateFormatter(style));
src/kits/locale/DurationFormat.cpp
42
const BString& separator, const time_unit_style style)
src/kits/locale/DurationFormat.cpp
46
fTimeUnitFormat(language, conventions, style)
src/kits/locale/DurationFormat.cpp
58
const time_unit_style style)
src/kits/locale/DurationFormat.cpp
62
fTimeUnitFormat(style)
src/kits/locale/FormattingConventions.cpp
422
BFormattingConventions::GetDateFormat(BDateFormatStyle style,
src/kits/locale/FormattingConventions.cpp
425
if (style < 0 || style >= B_DATE_FORMAT_STYLE_COUNT)
src/kits/locale/FormattingConventions.cpp
428
outFormat = fExplicitDateFormats[style].Length()
src/kits/locale/FormattingConventions.cpp
429
? fExplicitDateFormats[style]
src/kits/locale/FormattingConventions.cpp
430
: fCachedDateFormats[style];
src/kits/locale/FormattingConventions.cpp
436
DateFormat::createDateInstance((DateFormat::EStyle)style, *fICULocale));
src/kits/locale/FormattingConventions.cpp
448
fCachedDateFormats[style] = outFormat;
src/kits/locale/FormattingConventions.cpp
455
BFormattingConventions::GetTimeFormat(BTimeFormatStyle style,
src/kits/locale/FormattingConventions.cpp
458
if (style < 0 || style >= B_TIME_FORMAT_STYLE_COUNT)
src/kits/locale/FormattingConventions.cpp
461
outFormat = fExplicitTimeFormats[style].Length()
src/kits/locale/FormattingConventions.cpp
462
? fExplicitTimeFormats[style]
src/kits/locale/FormattingConventions.cpp
463
: fCachedTimeFormats[style];
src/kits/locale/FormattingConventions.cpp
469
DateFormat::createTimeInstance((DateFormat::EStyle)style, *fICULocale));
src/kits/locale/FormattingConventions.cpp
483
if (style != B_FULL_TIME_FORMAT) {
src/kits/locale/FormattingConventions.cpp
488
fCachedTimeFormats[style] = outFormat;
src/kits/locale/FormattingConventions.cpp
555
BFormattingConventions::SetExplicitDateFormat(BDateFormatStyle style,
src/kits/locale/FormattingConventions.cpp
558
fExplicitDateFormats[style] = format;
src/kits/locale/FormattingConventions.cpp
563
BFormattingConventions::SetExplicitTimeFormat(BTimeFormatStyle style,
src/kits/locale/FormattingConventions.cpp
566
fExplicitTimeFormats[style] = format;
src/kits/locale/TimeFormat.cpp
115
time_t time, BTimeFormatStyle style) const
src/kits/locale/TimeFormat.cpp
117
ObjectDeleter<DateFormat> timeFormatter(_CreateTimeFormatter(style));
src/kits/locale/TimeFormat.cpp
155
BTimeFormatStyle style) const
src/kits/locale/TimeFormat.cpp
157
ObjectDeleter<DateFormat> timeFormatter(_CreateTimeFormatter(style));
src/kits/locale/TimeFormat.cpp
210
BTimeFormat::Parse(BString source, BTimeFormatStyle style, BTime& output)
src/kits/locale/TimeFormat.cpp
212
ObjectDeleter<DateFormat> timeFormatter(_CreateTimeFormatter(style));
src/kits/locale/TimeFormat.cpp
231
BTimeFormat::_CreateTimeFormatter(const BTimeFormatStyle style) const
src/kits/locale/TimeFormat.cpp
247
fConventions.GetTimeFormat(style, format);
src/kits/locale/TimeFormat.cpp
55
BTimeFormat::SetTimeFormat(BTimeFormatStyle style,
src/kits/locale/TimeFormat.cpp
58
fConventions.SetExplicitTimeFormat(style, format);
src/kits/locale/TimeFormat.cpp
67
BTimeFormatStyle style) const
src/kits/locale/TimeFormat.cpp
69
ObjectDeleter<DateFormat> timeFormatter(_CreateTimeFormatter(style));
src/kits/locale/TimeFormat.cpp
88
const BTimeFormatStyle style, const BTimeZone* timeZone) const
src/kits/locale/TimeFormat.cpp
90
ObjectDeleter<DateFormat> timeFormatter(_CreateTimeFormatter(style));
src/kits/locale/TimeUnitFormat.cpp
48
BTimeUnitFormat::BTimeUnitFormat(const time_unit_style style)
src/kits/locale/TimeUnitFormat.cpp
53
if (style != B_TIME_UNIT_ABBREVIATED && style != B_TIME_UNIT_FULL) {
src/kits/locale/TimeUnitFormat.cpp
59
fFormatter = new TimeUnitFormat(icuLocale, kTimeUnitStyleToICU[style],
src/kits/locale/TimeUnitFormat.cpp
73
const time_unit_style style)
src/kits/locale/TimeUnitFormat.cpp
78
if (style != B_TIME_UNIT_ABBREVIATED && style != B_TIME_UNIT_FULL) {
src/kits/locale/TimeUnitFormat.cpp
84
fFormatter = new TimeUnitFormat(icuLocale, kTimeUnitStyleToICU[style],
src/kits/print/PictureIterator.cpp
72
static void _SetFontStyle(void *p, char *style) { return ((PictureIterator *) p)->SetFontStyle(style); }
src/kits/print/PicturePrinter.cpp
346
void PicturePrinter::SetFontStyle(char *style) {
src/kits/print/PicturePrinter.cpp
347
Indent(); Print("SetFontStyle"); Print(style); Cr();
src/kits/print/Template.cpp
180
void Template::SetFontStyle(char *style) {
src/kits/shared/CalendarView.cpp
847
BDateFormatStyle style = B_LONG_DATE_FORMAT;
src/kits/shared/CalendarView.cpp
849
while (style != B_DATE_FORMAT_STYLE_COUNT) {
src/kits/shared/CalendarView.cpp
850
_PopulateDayNames(style);
src/kits/shared/CalendarView.cpp
854
style = static_cast<BDateFormatStyle>(static_cast<int>(style) + 1);
src/kits/shared/CalendarView.cpp
860
BCalendarView::_PopulateDayNames(BDateFormatStyle style)
src/kits/shared/CalendarView.cpp
865
fDayNames[i], style);
src/kits/shared/SettingsMessage.cpp
342
font_style style;
src/kits/shared/SettingsMessage.cpp
343
value.GetFamilyAndStyle(&family, &style);
src/kits/shared/SettingsMessage.cpp
348
ret = fontMessage.AddString("style", style);
src/kits/shared/SettingsMessage.cpp
537
const char* style;
src/kits/shared/SettingsMessage.cpp
540
|| fontMessage.FindString("style", &style) != B_OK
src/kits/shared/SettingsMessage.cpp
546
if (value.SetFamilyAndStyle(family, style) != B_OK)
src/libs/icon/Icon.cpp
59
Style* style = other.fStyles.ItemAtFast(i);
src/libs/icon/Icon.cpp
60
Style* clone = new (nothrow) Style(*style);
src/libs/icon/IconRenderer.cpp
121
IconRenderer::StyleHandler::AddStyle(const Style* style,
src/libs/icon/IconRenderer.cpp
124
if (!style)
src/libs/icon/IconRenderer.cpp
131
item->style = style;
src/libs/icon/IconRenderer.cpp
133
item->transformer = _MergeTransformers(style->Gradient(), transformers, &transformation);
src/libs/icon/IconRenderer.cpp
147
if (styleItem->style->Gradient())
src/libs/icon/IconRenderer.cpp
151
if (styleItem->style->Bitmap() && fShowReferences)
src/libs/icon/IconRenderer.cpp
169
if (styleItem->style->Bitmap() && !fShowReferences) {
src/libs/icon/IconRenderer.cpp
175
const rgb_color& c = styleItem->style->Color();
src/libs/icon/IconRenderer.cpp
189
|| (!styleItem->style->Gradient()
src/libs/icon/IconRenderer.cpp
191
&& !styleItem->style->Bitmap()
src/libs/icon/IconRenderer.cpp
200
if (styleItem->style->Bitmap()) {
src/libs/icon/IconRenderer.cpp
201
_GenerateImage(span, x, y, len, styleItem->style, styleItem->transformer);
src/libs/icon/IconRenderer.cpp
206
const Style* style = styleItem->style;
src/libs/icon/IconRenderer.cpp
207
Gradient* gradient = style->Gradient();
src/libs/icon/IconRenderer.cpp
208
const agg::rgba8* colors = style->GammaCorrectedColors(fGammaTable);
src/libs/icon/IconRenderer.cpp
339
unsigned len, const Style* style, StyleTransformer* transformer)
src/libs/icon/IconRenderer.cpp
342
BBitmap* bbitmap = style->Bitmap();
src/libs/icon/IconRenderer.cpp
37
const Style* style;
src/libs/icon/IconRenderer.cpp
373
span[i].a = (uint8) ((float) span[i].a * style->Alpha() / 255);
src/libs/icon/IconRenderer.cpp
51
bool AddStyle(const Style* style,
src/libs/icon/IconRenderer.cpp
572
Style* style = shape->Style();
src/libs/icon/IconRenderer.cpp
573
if (!style)
src/libs/icon/IconRenderer.cpp
579
Gradient* gradient = style->Gradient();
src/libs/icon/IconRenderer.cpp
583
style, fGlobalTransform, NULL);
src/libs/icon/IconRenderer.cpp
586
style, transform, shape->Transformers());
src/libs/icon/IconRenderer.cpp
597
&& (style->HasTransparency()
src/libs/icon/IconRenderer.cpp
599
|| style->Bitmap() != NULL
src/libs/icon/IconRenderer.cpp
75
const Style* style,
src/libs/icon/flat_icon/FlatIconImporter.cpp
209
Style* style = new (nothrow) Style();
src/libs/icon/flat_icon/FlatIconImporter.cpp
210
if (!style)
src/libs/icon/flat_icon/FlatIconImporter.cpp
213
ObjectDeleter<Style> styleDeleter(style);
src/libs/icon/flat_icon/FlatIconImporter.cpp
273
style->SetGradient(&gradient);
src/libs/icon/flat_icon/FlatIconImporter.cpp
276
return style;
src/libs/icon/flat_icon/FlatIconImporter.cpp
292
Style* style = NULL;
src/libs/icon/flat_icon/FlatIconImporter.cpp
295
style = _ReadColorStyle(buffer, true, false);
src/libs/icon/flat_icon/FlatIconImporter.cpp
296
if (!style)
src/libs/icon/flat_icon/FlatIconImporter.cpp
300
style = _ReadColorStyle(buffer, false, false);
src/libs/icon/flat_icon/FlatIconImporter.cpp
301
if (!style)
src/libs/icon/flat_icon/FlatIconImporter.cpp
305
style = _ReadColorStyle(buffer, true, true);
src/libs/icon/flat_icon/FlatIconImporter.cpp
306
if (!style)
src/libs/icon/flat_icon/FlatIconImporter.cpp
310
style = _ReadColorStyle(buffer, false, true);
src/libs/icon/flat_icon/FlatIconImporter.cpp
311
if (!style)
src/libs/icon/flat_icon/FlatIconImporter.cpp
315
style = _ReadGradientStyle(buffer);
src/libs/icon/flat_icon/FlatIconImporter.cpp
316
if (!style)
src/libs/icon/flat_icon/FlatIconImporter.cpp
327
if (style && !styles->AddItem(style)) {
src/libs/icon/flat_icon/FlatIconImporter.cpp
328
delete style;
src/libs/icon/flat_icon/FlatIconImporter.cpp
547
Style* style = styles->ItemAt(StyleIndexFor(styleIndex));
src/libs/icon/flat_icon/FlatIconImporter.cpp
549
Style* style = styles->ItemAt(styleIndex);
src/libs/icon/flat_icon/FlatIconImporter.cpp
552
if (!style) {
src/libs/icon/flat_icon/FlatIconImporter.cpp
559
PathSourceShape* shape = new (nothrow) PathSourceShape(style);
src/libs/icon/message/MessageImporter.cpp
163
Style* style = new (nothrow) Style(&styleArchive);
src/libs/icon/message/MessageImporter.cpp
164
if (!style || !styles->AddItem(style)) {
src/libs/icon/message/MessageImporter.cpp
165
delete style;
src/libs/icon/message/MessageImporter.cpp
202
Style* style = styles->ItemAt(StyleIndexFor(styleIndex));
src/libs/icon/message/MessageImporter.cpp
204
Style* style = styles->ItemAt(styleIndex);
src/libs/icon/message/MessageImporter.cpp
206
if (style == NULL) {
src/libs/icon/message/MessageImporter.cpp
214
PathSourceShape* shape = new (nothrow) PathSourceShape(style);
src/libs/icon/shape/PathSourceShape.cpp
29
PathSourceShape::PathSourceShape(::Style* style)
src/libs/icon/shape/PathSourceShape.cpp
30
: Shape(style),
src/libs/icon/shape/PathSourceShape.h
34
PathSourceShape(_ICON_NAMESPACE Style* style);
src/libs/icon/shape/PathSourceShape.h
56
void SetStyle(_ICON_NAMESPACE Style* style)
src/libs/icon/shape/PathSourceShape.h
57
{ Shape::SetStyle(style); }
src/libs/icon/shape/Shape.cpp
392
Shape::SetStyle(::Style* style)
src/libs/icon/shape/Shape.cpp
394
if (fStyle == style)
src/libs/icon/shape/Shape.cpp
405
fStyle = style;
src/libs/icon/shape/Shape.cpp
50
Shape::Shape(::Style* style)
src/libs/icon/shape/Shape.cpp
75
SetStyle(style);
src/libs/icon/shape/Shape.h
140
void SetStyle(_ICON_NAMESPACE Style* style);
src/libs/icon/shape/Shape.h
61
Shape(_ICON_NAMESPACE Style* style);
src/libs/zydis/Zydis/Disassembler.c
36
ZydisDisassembledInstruction *instruction, ZydisFormatterStyle style)
src/libs/zydis/Zydis/Disassembler.c
77
ZYAN_CHECK(ZydisFormatterInit(&formatter, style));
src/libs/zydis/Zydis/Formatter.c
120
ZyanStatus ZydisFormatterInit(ZydisFormatter* formatter, ZydisFormatterStyle style)
src/libs/zydis/Zydis/Formatter.c
122
if (!formatter || ((ZyanUSize)style > ZYDIS_FORMATTER_STYLE_MAX_VALUE))
src/libs/zydis/Zydis/Formatter.c
127
ZYAN_MEMCPY(formatter, FORMATTER_PRESETS[style], sizeof(*formatter));
src/libs/zydis/Zydis/Formatter.c
244
if ((ZyanUSize)formatter->style > ZYDIS_FORMATTER_STYLE_MAX_VALUE)
src/libs/zydis/Zydis/Formatter.c
248
formatter->disp_padding = FORMATTER_PRESETS[formatter->style]->disp_padding;
src/libs/zydis/Zydis/Formatter.c
279
if ((ZyanUSize)formatter->style > ZYDIS_FORMATTER_STYLE_MAX_VALUE)
src/libs/zydis/Zydis/Formatter.c
283
formatter->imm_padding = FORMATTER_PRESETS[formatter->style]->imm_padding;
src/preferences/appearance/FontSelectionView.cpp
185
font_style style;
src/preferences/appearance/FontSelectionView.cpp
186
fCurrentFont.GetFamilyAndStyle(NULL, &style);
src/preferences/appearance/FontSelectionView.cpp
192
BMenuItem* item = familyItem->Submenu()->FindItem(style);
src/preferences/appearance/FontSelectionView.cpp
208
const char* style;
src/preferences/appearance/FontSelectionView.cpp
210
|| msg->FindString("style", &style) != B_OK)
src/preferences/appearance/FontSelectionView.cpp
220
fCurrentFont.SetFamilyAndStyle(family, style);
src/preferences/appearance/FontSelectionView.cpp
235
font_style style;
src/preferences/appearance/FontSelectionView.cpp
236
fCurrentFont.GetFamilyAndStyle(&family, &style);
src/preferences/appearance/FontSelectionView.cpp
243
item = item->Submenu()->FindItem(style);
src/preferences/appearance/FontSelectionView.cpp
273
font_style style;
src/preferences/appearance/FontSelectionView.cpp
274
fCurrentFont.GetFamilyAndStyle(&family, &style);
src/preferences/appearance/FontSelectionView.cpp
282
strlcpy(info.f_style, (const char*)style, B_FONT_STYLE_LENGTH);
src/preferences/appearance/FontSelectionView.cpp
287
_set_system_font_(Name(), family, style, fCurrentFont.Size());
src/preferences/appearance/FontSelectionView.cpp
295
font_style style;
src/preferences/appearance/FontSelectionView.cpp
304
if (_get_system_default_font_(fontName, family, style, &size) != B_OK) {
src/preferences/appearance/FontSelectionView.cpp
310
defaultFont.SetFamilyAndStyle(family, style);
src/preferences/appearance/FontSelectionView.cpp
421
font_style style;
src/preferences/appearance/FontSelectionView.cpp
422
if (get_font_style(family, j, &style, &flags) != B_OK)
src/preferences/appearance/FontSelectionView.cpp
427
message->AddString("style", (char*)style);
src/preferences/appearance/FontSelectionView.cpp
430
BMenuItem* item = new BMenuItem(style, message);
src/preferences/appearance/FontSelectionView.cpp
432
if (!strcmp(style, currentStyle)
src/preferences/appearance/FontSelectionView.cpp
50
font_style style, float size);
src/preferences/appearance/FontSelectionView.cpp
52
font_family family, font_style style, float* _size);
src/servers/app/DesktopSettings.cpp
161
const char* style;
src/servers/app/DesktopSettings.cpp
165
&& settings.FindString("plain style", &style) == B_OK
src/servers/app/DesktopSettings.cpp
167
FontStyle* fontStyle = gFontManager->GetStyle(family, style);
src/servers/app/DesktopSettings.cpp
173
&& settings.FindString("bold style", &style) == B_OK
src/servers/app/DesktopSettings.cpp
175
FontStyle* fontStyle = gFontManager->GetStyle(family, style);
src/servers/app/DesktopSettings.cpp
181
&& settings.FindString("fixed style", &style) == B_OK
src/servers/app/DesktopSettings.cpp
183
FontStyle* fontStyle = gFontManager->GetStyle(family, style);
src/servers/app/PictureBoundingBoxPlayer.cpp
641
BString style(_style, length);
src/servers/app/PictureBoundingBoxPlayer.cpp
644
FontStyle* fontStyle = gFontManager->GetStyle(font.Family(), style);
src/servers/app/ServerApp.cpp
1790
FontStyle* style
src/servers/app/ServerApp.cpp
1792
if (style != NULL) {
src/servers/app/ServerApp.cpp
1793
ServerFont font(*style, size);
src/servers/app/ServerApp.cpp
1962
FontStyle* style = family->StyleAt(i);
src/servers/app/ServerApp.cpp
1964
fLink.AttachString(style->Name());
src/servers/app/ServerApp.cpp
1965
fLink.Attach<uint16>(style->Face());
src/servers/app/ServerApp.cpp
1966
fLink.Attach<uint32>(style->Flags());
src/servers/app/ServerApp.cpp
2031
font_style style;
src/servers/app/ServerApp.cpp
2035
&& link.ReadString(style, sizeof(font_style)) == B_OK
src/servers/app/ServerApp.cpp
2042
FontStyle* fontStyle = gFontManager->GetStyle(family, style,
src/servers/app/ServerApp.cpp
2047
fontStyle = fAppFontManager->GetStyle(family, style,
src/servers/app/ServerFont.cpp
131
ServerFont::ServerFont(FontStyle& style, float size, float rotation,
src/servers/app/ServerFont.cpp
134
fStyle(&style, false),
src/servers/app/ServerFont.cpp
142
fDirection(style.Direction()),
src/servers/app/ServerFont.cpp
143
fFace(style.Face()),
src/servers/app/ServerFont.cpp
253
ServerFont::SetStyle(FontStyle* style)
src/servers/app/ServerFont.cpp
255
if (style && style != fStyle) {
src/servers/app/ServerFont.cpp
256
fStyle.SetTo(style, false);
src/servers/app/ServerFont.cpp
280
BReference<FontStyle> style;
src/servers/app/ServerFont.cpp
283
style.SetTo(gFontManager->GetStyle(familyID, styleID), false);
src/servers/app/ServerFont.cpp
288
if (style == NULL) {
src/servers/app/ServerFont.cpp
290
style.SetTo(fontManager->GetStyle(familyID, styleID), false);
src/servers/app/ServerFont.cpp
295
if (style == NULL)
src/servers/app/ServerFont.cpp
299
SetStyle(style);
src/servers/app/ServerFont.cpp
316
uint16 style = fontID & 0xFFFF;
src/servers/app/ServerFont.cpp
319
return SetFamilyAndStyle(family, style, fontManager);
src/servers/app/ServerFont.cpp
346
BReference <FontStyle> style;
src/servers/app/ServerFont.cpp
351
style.SetTo(gFontManager->GetStyleByIndex(familyID, i), false);
src/servers/app/ServerFont.cpp
352
if (style == NULL)
src/servers/app/ServerFont.cpp
354
if (style->PreservedFace(face) == face)
src/servers/app/ServerFont.cpp
357
style = NULL;
src/servers/app/ServerFont.cpp
363
if (!style)
src/servers/app/ServerFont.cpp
367
SetStyle(style);
src/servers/app/ServerFont.h
31
ServerFont(FontStyle& style,
src/servers/app/ServerFont.h
74
void SetStyle(FontStyle* style);
src/servers/app/ServerPicture.cpp
851
BString style(_style, length);
src/servers/app/ServerPicture.cpp
856
FontStyle* fontStyle = gFontManager->GetStyle(font.Family(), style);
src/servers/app/ServerWindow.cpp
2366
uint32 style;
src/servers/app/ServerWindow.cpp
2369
link.Read<uint32>(&style);
src/servers/app/font/FontFamily.cpp
112
FontFamily::RemoveStyle(FontStyle* style)
src/servers/app/font/FontFamily.cpp
114
if (style == NULL)
src/servers/app/font/FontFamily.cpp
117
if (!fStyles.RemoveItem(style))
src/servers/app/font/FontFamily.cpp
145
FontStyle *style = fStyles.ItemAt(i);
src/servers/app/font/FontFamily.cpp
146
if (!strcmp(style->Name(), name))
src/servers/app/font/FontFamily.cpp
147
return style;
src/servers/app/font/FontFamily.cpp
191
FontStyle* style = _FindStyle(name);
src/servers/app/font/FontFamily.cpp
192
if (style != NULL)
src/servers/app/font/FontFamily.cpp
193
return style;
src/servers/app/font/FontFamily.cpp
199
style = _FindStyle("Roman");
src/servers/app/font/FontFamily.cpp
200
if (style == NULL) {
src/servers/app/font/FontFamily.cpp
201
style = _FindStyle("Regular");
src/servers/app/font/FontFamily.cpp
202
if (style == NULL)
src/servers/app/font/FontFamily.cpp
203
style = _FindStyle("Book");
src/servers/app/font/FontFamily.cpp
205
return style;
src/servers/app/font/FontFamily.cpp
22
font_score(const FontStyle* style)
src/servers/app/font/FontFamily.cpp
234
FontStyle* style = fStyles.ItemAt(i);
src/servers/app/font/FontFamily.cpp
236
if (style->Face() == face)
src/servers/app/font/FontFamily.cpp
237
return style;
src/servers/app/font/FontFamily.cpp
25
if (style->Face() & B_REGULAR_FACE)
src/servers/app/font/FontFamily.cpp
252
FontStyle* style = fStyles.ItemAt(i);
src/servers/app/font/FontFamily.cpp
254
if (style->IsFixedWidth())
src/servers/app/font/FontFamily.cpp
256
if (style->IsFullAndHalfFixed())
src/servers/app/font/FontFamily.cpp
258
if (style->TunedCount() > 0)
src/servers/app/font/FontFamily.cpp
28
if (style->Face() & B_BOLD_FACE)
src/servers/app/font/FontFamily.cpp
30
if (style->Face() & B_ITALIC_FACE)
src/servers/app/font/FontFamily.cpp
81
FontFamily::AddStyle(FontStyle* style)
src/servers/app/font/FontFamily.cpp
83
if (!style)
src/servers/app/font/FontFamily.cpp
90
if (!strcmp(item->Name(), style->Name()))
src/servers/app/font/FontFamily.cpp
94
if (!fStyles.BinaryInsert(style, compare_font_styles))
src/servers/app/font/FontFamily.cpp
97
style->_SetFontFamily(this, fNextID++);
src/servers/app/font/FontFamily.h
33
bool AddStyle(FontStyle* style);
src/servers/app/font/FontFamily.h
34
bool RemoveStyle(FontStyle* style);
src/servers/app/font/FontFamily.h
36
FontStyle* GetStyle(const char* style) const;
src/servers/app/font/FontFamily.h
43
bool HasStyle(const char* style) const;
src/servers/app/font/FontManager.cpp
166
FontStyle* style = fStyleHashTable.Get(key);
src/servers/app/font/FontManager.cpp
167
if (style != NULL)
src/servers/app/font/FontManager.cpp
168
return style->Family();
src/servers/app/font/FontManager.cpp
208
FontStyle* style = fStyleHashTable.Get(key);
src/servers/app/font/FontManager.cpp
209
if (style != NULL)
src/servers/app/font/FontManager.cpp
210
return style;
src/servers/app/font/FontManager.cpp
271
FontStyle* style = family->GetStyleMatchingFace(face);
src/servers/app/font/FontManager.cpp
272
if (style != NULL)
src/servers/app/font/FontManager.cpp
273
return style;
src/servers/app/font/FontManager.cpp
285
FontManager::RemoveStyle(FontStyle* style)
src/servers/app/font/FontManager.cpp
289
FontFamily* family = style->Family();
src/servers/app/font/FontManager.cpp
293
family->RemoveStyle(style);
src/servers/app/font/FontManager.cpp
294
fDelistedStyleHashTable.Remove(FontKey(family->ID(), style->ID()));
src/servers/app/font/FontManager.cpp
333
FontStyle* style = new (std::nothrow) FontStyle(nodeRef, path, face, this);
src/servers/app/font/FontManager.cpp
335
if (style == NULL || !family->AddStyle(style)) {
src/servers/app/font/FontManager.cpp
336
delete style;
src/servers/app/font/FontManager.cpp
342
familyID = style->Family()->ID();
src/servers/app/font/FontManager.cpp
343
styleID = style->ID();
src/servers/app/font/FontManager.cpp
345
fStyleHashTable.Put(FontKey(familyID, styleID), style);
src/servers/app/font/FontManager.cpp
346
style->ReleaseReference();
src/servers/app/font/FontManager.cpp
359
FontStyle* style = fStyleHashTable.Get(key);
src/servers/app/font/FontManager.cpp
360
if (style != NULL) {
src/servers/app/font/FontManager.cpp
361
fDelistedStyleHashTable.Put(key, style);
src/servers/app/font/FontManager.cpp
362
FontFamily* family = style->Family();
src/servers/app/font/FontManager.cpp
363
if (family->RemoveStyle(style) && family->CountStyles() == 0)
src/servers/app/font/FontManager.cpp
369
return style;
src/servers/app/font/FontManager.h
61
void RemoveStyle(FontStyle* style);
src/servers/app/font/FontManager.h
87
FontKey(uint16 family, uint16 style)
src/servers/app/font/FontManager.h
88
: familyID(family), styleID(style) {}
src/servers/app/font/GlobalFontManager.cpp
232
FontStyle* style = directory->styles.ItemAt(i);
src/servers/app/font/GlobalFontManager.cpp
233
style->UpdatePath(directory->directory);
src/servers/app/font/GlobalFontManager.cpp
242
FontStyle* style;
src/servers/app/font/GlobalFontManager.cpp
243
while ((style = fromDirectory->FindStyle(nodeRef)) != NULL) {
src/servers/app/font/GlobalFontManager.cpp
244
fromDirectory->styles.RemoveItem(style, false);
src/servers/app/font/GlobalFontManager.cpp
245
directory->styles.AddItem(style);
src/servers/app/font/GlobalFontManager.cpp
246
style->UpdatePath(directory->directory);
src/servers/app/font/GlobalFontManager.cpp
319
GlobalFontManager::_AddDefaultMapping(const char* family, const char* style,
src/servers/app/font/GlobalFontManager.cpp
327
mapping->style = style;
src/servers/app/font/GlobalFontManager.cpp
376
if (styleName != NULL && mapping->style != styleName)
src/servers/app/font/GlobalFontManager.cpp
413
FontStyle* style = GetStyle(familyName, styleName);
src/servers/app/font/GlobalFontManager.cpp
414
if (style == NULL) {
src/servers/app/font/GlobalFontManager.cpp
415
style = GetStyle(fallbackFamily, fallbackStyle);
src/servers/app/font/GlobalFontManager.cpp
416
if (style == NULL) {
src/servers/app/font/GlobalFontManager.cpp
417
style = FindStyleMatchingFace(fallbackFace);
src/servers/app/font/GlobalFontManager.cpp
418
if (style == NULL && FamilyAt(0) != NULL)
src/servers/app/font/GlobalFontManager.cpp
419
style = FamilyAt(0)->StyleAt(0);
src/servers/app/font/GlobalFontManager.cpp
423
return style;
src/servers/app/font/GlobalFontManager.cpp
434
FontStyle* style = NULL;
src/servers/app/font/GlobalFontManager.cpp
437
style = _GetDefaultStyle(DEFAULT_PLAIN_FONT_FAMILY, DEFAULT_PLAIN_FONT_STYLE,
src/servers/app/font/GlobalFontManager.cpp
439
if (style == NULL)
src/servers/app/font/GlobalFontManager.cpp
442
fDefaultPlainFont.SetTo(new (std::nothrow) ServerFont(*style,
src/servers/app/font/GlobalFontManager.cpp
448
style = _GetDefaultStyle(DEFAULT_BOLD_FONT_FAMILY, DEFAULT_BOLD_FONT_STYLE,
src/servers/app/font/GlobalFontManager.cpp
451
fDefaultBoldFont.SetTo(new (std::nothrow) ServerFont(*style,
src/servers/app/font/GlobalFontManager.cpp
457
style = _GetDefaultStyle(DEFAULT_FIXED_FONT_FAMILY, DEFAULT_FIXED_FONT_STYLE,
src/servers/app/font/GlobalFontManager.cpp
460
fDefaultFixedFont.SetTo(new (std::nothrow) ServerFont(*style,
src/servers/app/font/GlobalFontManager.cpp
477
GlobalFontManager::_RemoveStyle(font_directory& directory, FontStyle* style)
src/servers/app/font/GlobalFontManager.cpp
479
FTRACE(("font removed: %s\n", style->Name()));
src/servers/app/font/GlobalFontManager.cpp
481
directory.styles.RemoveItem(style);
src/servers/app/font/GlobalFontManager.cpp
483
_RemoveFont(style->Family()->ID(), style->ID());
src/servers/app/font/GlobalFontManager.cpp
499
FontStyle* style;
src/servers/app/font/GlobalFontManager.cpp
500
while ((style = directory->FindStyle(nodeRef)) != NULL)
src/servers/app/font/GlobalFontManager.cpp
501
_RemoveStyle(*directory, style);
src/servers/app/font/GlobalFontManager.cpp
64
BString style;
src/servers/app/font/GlobalFontManager.cpp
73
FontStyle* style = styles.ItemAt(i);
src/servers/app/font/GlobalFontManager.cpp
75
if (nodeRef == style->NodeRef())
src/servers/app/font/GlobalFontManager.cpp
76
return style;
src/servers/app/font/GlobalFontManager.h
75
const char* style, const char* path);
src/servers/app/font/GlobalFontManager.h
78
const char* style = NULL);
src/servers/app/font/GlobalFontManager.h
95
FontStyle* style);
src/tests/kits/interface/bfont/DumpFontList.cpp
29
font_style style;
src/tests/kits/interface/bfont/DumpFontList.cpp
32
if (get_font_style(family, j, &style, &styleFlags) == B_OK) {
src/tests/kits/interface/bfont/DumpFontList.cpp
33
printf("\tstyle \"%s\" (0x%08lx)\n", style, styleFlags);
src/tests/kits/interface/bfont/DumpFontList.cpp
36
font.SetFamilyAndStyle(family, style);
src/tests/kits/interface/layout/widget_layout_test/tests/BoxTest.cpp
32
BorderStyleRadioButton(const char* label, border_style style)
src/tests/kits/interface/layout/widget_layout_test/tests/BoxTest.cpp
34
fBorderStyle(style)
src/tests/kits/interface/layout/widget_layout_test/tests/SliderTest.cpp
68
ThumbStyleRadioButton(const char* label, enum thumb_style style)
src/tests/kits/interface/layout/widget_layout_test/tests/SliderTest.cpp
70
fStyle(style)
src/tools/translation/stxtinfo/stxtinfo.cpp
100
static_cast<unsigned int>(style.blue),
src/tools/translation/stxtinfo/stxtinfo.cpp
101
static_cast<unsigned int>(style.green),
src/tools/translation/stxtinfo/stxtinfo.cpp
102
static_cast<unsigned int>(style.alpha));
src/tools/translation/stxtinfo/stxtinfo.cpp
104
static_cast<unsigned int>(style.reserved));
src/tools/translation/stxtinfo/stxtinfo.cpp
382
Style style;
src/tools/translation/stxtinfo/stxtinfo.cpp
383
read = file.Read(&style, sizeof(Style));
src/tools/translation/stxtinfo/stxtinfo.cpp
390
PrintStyle(style, i);
src/tools/translation/stxtinfo/stxtinfo.cpp
70
char style[64];
src/tools/translation/stxtinfo/stxtinfo.cpp
82
PrintStyle(Style &style, int32 i)
src/tools/translation/stxtinfo/stxtinfo.cpp
84
style.offset = B_BENDIAN_TO_HOST_INT32(style.offset);
src/tools/translation/stxtinfo/stxtinfo.cpp
85
style.size = B_BENDIAN_TO_HOST_FLOAT(style.size);
src/tools/translation/stxtinfo/stxtinfo.cpp
86
style.shear = B_BENDIAN_TO_HOST_FLOAT(style.shear);
src/tools/translation/stxtinfo/stxtinfo.cpp
87
style.face = B_BENDIAN_TO_HOST_INT16(style.face);
src/tools/translation/stxtinfo/stxtinfo.cpp
88
style.reserved = B_BENDIAN_TO_HOST_INT16(style.reserved);
src/tools/translation/stxtinfo/stxtinfo.cpp
91
printf("offset: %d\n", static_cast<int>(style.offset));
src/tools/translation/stxtinfo/stxtinfo.cpp
92
printf("family: %s\n", style.family);
src/tools/translation/stxtinfo/stxtinfo.cpp
93
printf("style: %s\n", style.style);
src/tools/translation/stxtinfo/stxtinfo.cpp
94
printf("size: %f\n", style.size);
src/tools/translation/stxtinfo/stxtinfo.cpp
95
printf("shear: %f (typically 90.0)\n", style.shear);
src/tools/translation/stxtinfo/stxtinfo.cpp
97
static_cast<unsigned int>(style.face));
src/tools/translation/stxtinfo/stxtinfo.cpp
99
static_cast<unsigned int>(style.red),