Searched refs:styleIndex (Results 1 - 7 of 7) sorted by relevance

/haiku/src/kits/interface/textview_support/
H A DStyleBuffer.cpp299 int32 styleIndex = 0; local
309 styleIndex = fStyleRecord.InsertRecord(&style.font, &style.color);
312 && fStyleRunDesc[runIndex - 1]->index == styleIndex) {
317 if (styleIndex != runDesc.index) {
321 newDesc.index = styleIndex;
326 fStyleRunDesc[runIndex]->index = styleIndex;
327 fStyleRecord.CommitRecord(styleIndex);
344 && fStyleRunDesc[runIndex]->index == styleIndex) {
365 int32 styleIndex = fStyleRunDesc[runIndex]->index; local
368 *outFont = fStyleRecord[styleIndex]
576 int32 styleIndex = fStyleRunDesc[fromIndex]->index; local
592 int32 styleIndex = fStyleRunDesc[toIndex]->index; local
[all...]
/haiku/src/libs/icon/
H A DIconRenderer.cpp55 bool is_solid(unsigned styleIndex) const;
56 const agg::rgba8& color(unsigned styleIndex);
58 unsigned len, unsigned styleIndex);
141 IconRenderer::StyleHandler::is_solid(unsigned styleIndex) const
143 StyleItem* styleItem = (StyleItem*)fStyles.ItemAt(styleIndex);
160 IconRenderer::StyleHandler::color(unsigned styleIndex) argument
162 StyleItem* styleItem = (StyleItem*)fStyles.ItemAt(styleIndex);
164 printf("no style at index: %u!\n", styleIndex);
185 unsigned len, unsigned styleIndex)
187 StyleItem* styleItem = (StyleItem*)fStyles.ItemAt(styleIndex);
184 generate_span(agg::rgba8* span, int x, int y, unsigned len, unsigned styleIndex) argument
561 int32 styleIndex = 0; local
[all...]
H A DIcon.cpp94 int32 styleIndex = other.fStyles.IndexOf(pathSourceShape->Style()); local
95 pathSourceShapeClone->SetStyle(fStyles.ItemAt(styleIndex));
/haiku/src/libs/icon/message/
H A DMessageImporter.cpp195 int32 styleIndex; local
196 if (shapeArchive.FindInt32("style ref", &styleIndex) < B_OK) {
202 Style* style = styles->ItemAt(StyleIndexFor(styleIndex));
204 Style* style = styles->ItemAt(styleIndex);
209 i, styleIndex);
/haiku/src/libs/icon/flat_icon/
H A DFlatIconImporter.cpp541 uint8 styleIndex; local
543 if (!buffer.Read(styleIndex) || !buffer.Read(pathCount))
547 Style* style = styles->ItemAt(StyleIndexFor(styleIndex));
549 Style* style = styles->ItemAt(styleIndex);
554 "shape references non-existing style %d\n", styleIndex);
/haiku/src/apps/icon-o-matic/import_export/flat_icon/
H A DFlatIconExporter.cpp527 int32 styleIndex = styles->IndexOf(style);
528 if (styleIndex < 0 || styleIndex > 255)
537 || !buffer.Write((uint8)styleIndex)
/haiku/src/apps/icon-o-matic/import_export/svg/
H A DDocumentBuilder.cpp119 int32 styleIndex = icon->Styles()->IndexOf(style); local
120 for (int32 j = 0; j < styleIndex; j++) {

Completed in 51 milliseconds