Lines Matching refs:style
155 allStyles.FindMessage("style", i, &styleArchive) == B_OK; i++) {
156 Style* style = new (nothrow) Style(&styleArchive);
157 if (!style || !styles->AddStyle(style)) {
158 delete style;
181 // find the right style
183 if (shapeArchive.FindInt32("style ref", &styleIndex) < B_OK) {
189 Style* style = styles->StyleAt(StyleIndexFor(styleIndex));
191 Style* style = styles->StyleAt(styleIndex);
193 if (!style) {
201 Shape* shape = new (nothrow) Shape(style);