Enlightenment CVS committal
Author : moom
Project : e17
Module : proto
Dir : e17/proto/etk/src/bin
Modified Files:
etk_text_view_test.c
Log Message:
* More work on the the textblock: make the cursor blink and fix some
bugs
===================================================================
RCS file: /cvs/e/e17/proto/etk/src/bin/etk_text_view_test.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- etk_text_view_test.c 4 Jul 2006 21:37:25 -0000 1.10
+++ etk_text_view_test.c 21 Jul 2006 00:31:30 -0000 1.11
@@ -24,45 +24,46 @@
text_view = etk_text_view_new();
etk_textblock_text_set(ETK_TEXT_VIEW(text_view)->textblock,
- "<p align=\"center\"><b><u><font size=18>Etk
Textblock</font></u></b></p> \n"
- "<b><u><font size=12>Supported tags:</font></u></b>\n"
+ "<p align=\"center\"><b><u><font size=18>Etk
Textblock</font></u></b></p>\n"
+ "<b><u><font size=12>Supported tags:</font></u></b>"
"<p left_margin=30>"
"<b><b>:</b> <b>Bold</b>\n"
"<b><i>:</b> <i>Italic</i>\n"
- "<b><u>:</b> <u>Underline</u>\n"
+ "<b><u>:</b> <u>Underline</u>"
"</p>"
"<p left_margin=60>"
"<i>type:</i> Whether the text is single or double underlined\n"
"<i>color1:</i> The color of the first underline\n"
- "<i>color2:</i> The color of the second underline\n"
+ "<i>color2:</i> The color of the second underline"
"</p>"
"<p left_margin=30>"
- "<b><s>:</b> <s>Strikethrough</s>\n"
+ "<b><s>:</b> <s>Strikethrough</s>"
"</p>"
"<p left_margin=60>"
- "<i>color:</i> The color of the strikethrough\n"
+ "<i>color:</i> The color of the strikethrough"
"</p>"
"<p left_margin=30>"
- "<b><font>:</b>\n"
+ "<b><font>:</b>"
"</p>"
"<p left_margin=60>"
"<i>face:</i> The face of the font\n"
"<i>size:</i> The size of the font\n"
- "<i>color:</i> The color of the font\n"
+ "<i>color:</i> The color of the font"
"</p>"
"<p left_margin=30>"
- "<b><style>:</b>\n"
+ "<b><style>:</b>"
"</p>"
"<p left_margin=60>"
"<i>effect:</i> The type of effect to apply on the text\n"
"<i>color1:</i> The first color of the effect\n"
- "<i>color2:</i> The second color of the effect\n"
+ "<i>color2:</i> The second color of the effect"
"</p>",
ETK_TRUE);
etk_box_pack_start(ETK_BOX(vbox), text_view, ETK_TRUE, ETK_TRUE, 0);
- printf("%s\n",
etk_string_get(etk_textblock_text_get(ETK_TEXT_VIEW(text_view)->textblock,
ETK_FALSE)));
+ //printf("%s\n",
etk_string_get(etk_textblock_text_get(ETK_TEXT_VIEW(text_view)->textblock,
ETK_FALSE)));
+ etk_textblock_printf(ETK_TEXT_VIEW(text_view)->textblock);
etk_widget_show_all(win);
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs