Lines Matching defs:text

238 			BString text = "# Written by Sudoku\n\n";
239 stream.Write(text.String(), text.Length());
241 char* line = text.LockBuffer(1024);
251 text.UnlockBuffer();
253 stream.Write(text.String(), text.Length());
255 nodeInfo.SetType("text/plain");
262 BString text = "<html>\n<head>\n<!-- Written by Sudoku -->\n"
263 "<style type=\"text/css\">\n"
269 "text-align: center; }\n"
282 text << "td.sudoku_";
284 text << kStyles[right] << "_" << kStyles[bottom];
286 text << kStyles[right];
288 text << " { border-right: " << kCssStyles[right]
293 text << "</style>\n"
295 stream.Write(text.String(), text.Length());
297 text = "<table";
299 text << " border=\"1\"";
300 text << " class=\"sudoku\">";
301 stream.Write(text.String(), text.Length());
303 text = "";
307 text << "<tr height=\"" << divider << "\">\n";
330 text << "<td width=\"" << divider << "\" ";
331 text << "class=\"sudoku sudoku_empty " << style;
332 text << "\">\n&nbsp;";
334 text << "<td width=\"" << divider << "\" ";
335 text << "class=\"sudoku sudoku_initial " << style
338 text << "<font color=\"#000000\">";
339 text << buff;
341 text << "</font>";
343 text << "<td width=\"" << divider << "\" ";
344 text << "class=\"sudoku sudoku_filled sudoku_" << style
347 text << "<font color=\"#0000ff\">";
348 text << buff;
350 text << "</font>";
352 text << "</td>\n";
354 text << "</tr>\n";
356 text << "</table>\n\n";
358 stream.Write(text.String(), text.Length());
359 text = "</body></html>\n";
360 stream.Write(text.String(), text.Length());
362 nodeInfo.SetType("text/html");
460 status = clip->AddData("text/html", B_MIME_TYPE, mallocIO.Buffer(),
466 // As plain text
470 status = clip->AddData("text/plain", B_MIME_TYPE, mallocIO.Buffer(),
838 // draw text
884 char text[2];
885 _SetText(text, value);
886 DrawString(text, _LeftTop(x, y)
887 + BPoint((fWidth - StringWidth(text)) / 2, fBaseline));
966 SudokuView::_SetText(char* text, uint32 value)
968 text[0] = value + _BaseCharacter();
969 text[1] = '\0';
1415 char text[2];
1416 _SetText(text, value + 1);
1417 DrawString(text, leftTop + BPoint((i + 0.5f) * fHintWidth
1418 - StringWidth(text) / 2, floorf(j * fHintHeight)