Searched refs:style (Results 26 - 50 of 130) sorted by relevance

123456

/haiku/src/kits/interface/textview_support/
H A DStyleBuffer.cpp95 // look for style in buffer
99 // style not found, add it
109 fBuffer[index].style.font = *inFont;
110 fBuffer[index].style.color = *inColor;
116 const STEStyle style = { *inFont, *inColor }; local
121 style
148 if (*inFont == fBuffer[i].style.font
149 && *inColor == fBuffer[i].style.color) {
224 fNullStyle = fStyleRecord[fStyleRunDesc[index]->index]->style;
239 fNullStyle = fStyleRecord[fStyleRunDesc[index]->index]->style;
306 STEStyle style = fStyleRecord[runDesc.index]->style; local
577 const STEStyle* style = &fStyleRecord[styleIndex]->style; local
[all...]
/haiku/src/apps/icon-o-matic/import_export/svg/
H A DSVGExporter.cpp217 const Style* style = pathSourceShape->Style(); local
220 status_t ret = _GetFill(style, color, stream);
242 helper << "style=\"fill:none; stroke:" << color;
243 if (!style->Gradient() && style->Color().alpha < 255) {
245 append_float(helper, style->Color().alpha / 255.0);
262 helper << "style=\"fill:" << color;
264 if (!style->Gradient() && style->Color().alpha < 255) {
266 append_float(helper, style
480 _GetFill(const Style* style, char* string, BPositionIO* stream) argument
[all...]
H A DDocumentBuilder.cpp116 Style* style = shape->Style(); local
117 if (style == NULL)
119 int32 styleIndex = icon->Styles()->IndexOf(style);
122 if (*style == *earlierStyle) {
124 icon->Styles()->RemoveItem(style);
125 style->ReleaseReference();
324 Style* style = new (nothrow) Style(color); local
325 if (!style || !icon->Styles()->AddItem(style)) {
326 delete style;
[all...]
/haiku/src/servers/app/font/
H A DGlobalFontManager.cpp65 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...]
H A DGlobalFontManager.h78 const char* style, const char* path);
81 const char* style = NULL);
97 FontStyle* style);
H A DFontManager.h61 void RemoveStyle(FontStyle* style);
85 FontKey(uint16 family, uint16 style) argument
86 : familyID(family), styleID(style) {}
/haiku/src/apps/icon-o-matic/import_export/message/
H A DMessageExporter.cpp71 Style* style = styles->ItemAtFast(i); local
73 ret = _Export(style, &styleArchive);
76 ret = allStyles.AddMessage("style", &styleArchive);
143 MessageExporter::_Export(const Style* style, BMessage* into) const argument
145 return style->Archive(into, true);
168 // index of used style
170 Style* style = pathSourceShape->Style(); local
171 ret = into->AddInt32("style ref", globalStyles->IndexOf(style));
/haiku/src/apps/icon-o-matic/style/
H A DSetColorCommand.h27 SetColorCommand(Style* style,
H A DSetGradientCommand.h26 SetGradientCommand(Style* style,
H A DAssignStyleCommand.h29 Style* style);
H A DSetColorCommand.cpp28 SetColorCommand::SetColorCommand(Style* style, argument
31 fStyle(style),
H A DSetGradientCommand.cpp28 SetGradientCommand::SetGradientCommand(Style* style, argument
31 fStyle(style),
62 // clone the new gradient for handling over to the style
71 // remember the current gradient of the style
82 // the style didn't have a gradient set
/haiku/headers/os/locale/
H A DFormattingConventions.h85 status_t GetDateFormat(BDateFormatStyle style,
87 status_t GetTimeFormat(BTimeFormatStyle style,
95 void SetExplicitDateFormat(BDateFormatStyle style,
97 void SetExplicitTimeFormat(BTimeFormatStyle style,
/haiku/src/kits/locale/
H A DDurationFormat.cpp42 const BString& separator, const time_unit_style style)
46 fTimeUnitFormat(language, conventions, style)
58 const time_unit_style style)
62 fTimeUnitFormat(style)
40 BDurationFormat(const BLanguage& language, const BFormattingConventions& conventions, const BString& separator, const time_unit_style style) argument
57 BDurationFormat(const BString& separator, const time_unit_style style) argument
/haiku/src/apps/icon-o-matic/
H A DUtil.h32 Style** style, AddStylesCommand** command);
/haiku/src/apps/haikudepot/textview/
H A DTextSpan.cpp20 TextSpan::TextSpan(const BString& text, const CharacterStyle& style) argument
24 fStyle(style),
83 TextSpan::SetStyle(const CharacterStyle& style) argument
85 fStyle = style;
H A DParagraph.h18 Paragraph(const ParagraphStyle& style);
25 void SetStyle(const ParagraphStyle& style);
H A DTextSpan.h19 const CharacterStyle& style);
30 void SetStyle(const CharacterStyle& style);
H A DMarkupParser.h42 void _ToggleStyle(const CharacterStyle& style);
/haiku/src/libs/icon/flat_icon/
H A DFlatIconImporter.cpp209 Style* style = new (nothrow) Style(); local
210 if (!style)
213 ObjectDeleter<Style> styleDeleter(style);
273 style->SetGradient(&gradient);
276 return style;
292 Style* style = NULL;
295 style = _ReadColorStyle(buffer, true, false);
296 if (!style)
300 style = _ReadColorStyle(buffer, false, false);
301 if (!style)
[all...]
/haiku/docs/interface_guidelines/docbook-css/
H A Dstyles.css72 border-bottom-style:solid;
193 font-style:italic;
200 font-style:inherit;
204 font-style:inherit;
208 font-style:inherit;
215 font-style:italic;
219 font-style:italic;
279 border-style: solid;
362 font-style: italic;
386 list-style
[all...]
/haiku/src/apps/terminal/
H A DAppearPrefView.h64 const char* style,
71 const char* style, const char* size);
/haiku/src/libs/icon/message/
H A DMessageImporter.cpp162 allStyles.FindMessage("style", i, &styleArchive) == B_OK; i++) {
163 Style* style = new (nothrow) Style(&styleArchive); local
164 if (!style || !styles->AddItem(style)) {
165 delete style;
194 // find the right style
196 if (shapeArchive.FindInt32("style ref", &styleIndex) < B_OK) {
202 Style* style = styles->ItemAt(StyleIndexFor(styleIndex)); local
204 Style* style = styles->ItemAt(styleIndex); local
206 if (style
[all...]
/haiku/src/apps/icon-o-matic/import_export/styled_text/
H A DStyledTextImporter.cpp358 shape->SetStyle(fStyleMap[j].style);
388 Style* style = new(std::nothrow) Style(color); local
389 if (style == NULL)
395 style->SetName(name);
399 if (*style == *(fStyleMap[i].style)) {
400 delete style;
401 style = fStyleMap[i].style;
407 if (!found && !icon->Styles()->AddItem(style)) {
[all...]
/haiku/src/kits/interface/
H A DFont.cpp51 struct style { struct
60 BObjectList<style> styles;
184 ::style* style = family->styles.ItemAt(index);
185 if (style == NULL)
188 memcpy(*_style, style->name.String(), style->name.Length() + 1);
190 *_face = style->face;
192 *_flags = style->flags;
259 ::style* styl local
399 _set_system_font_(const char* which, font_family family, font_style style, float size) argument
416 _get_system_default_font_(const char* which, font_family family, font_style style, float* _size) argument
541 SetFamilyAndStyle(const font_family family, const font_style style) argument
580 uint16 family, style; local
1425 font_style style; local
[all...]

Completed in 99 milliseconds

123456