<!-- clanlib header begin --> <HTML> <HEAD> <TITLE>CL_RichEdit - ClanLib Game SDK</TITLE> <STYLE TYPE="text/css"><!-- HTML BODY { font-family: verdana, helvetica, sans-serif; font-size: 12px; } H1 { font-size: 22px; } H2 { font-size: 18px; } H3 { font-size: 16px; } H4 { font-size: 14px; } P { font-size: 12px; } LI { font-size: 12px; } --></STYLE> </HEAD> <body bgcolor=white text=black link=blue vlink=#800080> <center> <img src="http://clanlib.org/gfx/clanlib.png"> </center> <!-- clanlib header end --> <center> <p> <a href="http://clanlib.org/docs.html">Home</a> | <a href="classes.html">All Classes</a> | <a href="modules.html">Grouped Classes</a> | <a href="index.html">Index</a> | <a href="search.html">Search</a> </p> </center> <h1>Class CL_RichEdit</h1> <p> RichEdit component <a href="#description">More...</a></p> <p>Derived from: <a href="CL_Component.html">CL_Component</a> <br> Derived by: <i>none</i> <br>Group: GUI (Controls)</p> <p> #include <ClanLib/gui.h> <p> <table border=0 width=100%> </table> <p><b>Construction:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_RichEdit__CL_RichEdit.html">CL_RichEdit</a></p></td><td valign=top><p> RichEdit constructor</p></td></tr></table> <p><b>Attributes:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_RichEdit__get_line.html">get_line</a></p></td><td valign=top><p> Returns the number of lines in the richedit. </p></td></tr><tr><td width=30% valign=top><p><a href="CL_RichEdit__get_total_lines_count.html">get_total_lines_count</a></p></td><td valign=top><p> Returns the number of lines in the richedit. </p></td></tr><tr><td width=30% valign=top><p><a href="CL_RichEdit__get_top_item.html">get_top_item</a></p></td><td valign=top><p></p></td></tr><tr><td width=30% valign=top><p><a href="CL_RichEdit__get_cursor_pos.html">get_cursor_pos</a></p></td><td valign=top><p></p></td></tr></table> <p><b>Operations:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_RichEdit__add_text.html">add_text</a></p></td><td valign=top><p> Adds text string into the end of richedit's text.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_RichEdit__add_img.html">add_img</a></p></td><td valign=top><p> Adds image into the end of richedit's text.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_RichEdit__make_new_paragraph.html">make_new_paragraph</a></p></td><td valign=top><p> Makes new paragraph after the end of richedit's text.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_RichEdit__set_bounds.html">set_bounds</a></p></td><td valign=top><p></p></td></tr><tr><td width=30% valign=top><p><a href="CL_RichEdit__set_top_item.html">set_top_item</a></p></td><td valign=top><p></p></td></tr><tr><td width=30% valign=top><p><a href="CL_RichEdit__scroll_to_the_end.html">scroll_to_the_end</a></p></td><td valign=top><p></p></td></tr><tr><td width=30% valign=top><p><a href="CL_RichEdit__clear_selection.html">clear_selection</a></p></td><td valign=top><p> Deselects current selected item.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_RichEdit__on_resize.html">on_resize</a></p></td><td valign=top><p> Should be called on each resize of the RichEdit window</p></td></tr><tr><td width=30% valign=top><p><a href="CL_RichEdit__select_all.html">select_all</a></p></td><td valign=top><p> If select is true, all items get selected, else all get unselected. This works only in Multi selection mode.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_RichEdit__clear.html">clear</a></p></td><td valign=top><p> Deletes all items in the list. </p></td></tr></table> <p><b>Signals:</b></p> <table border=0 width=100%> <tr><td width=30% valign=top><p><a href="CL_RichEdit__sig_text_changed.html">sig_text_changed</a></p></td><td valign=top><p> This signal is emitted when a new item is added to the richedit.</p></td></tr><tr><td width=30% valign=top><p><a href="CL_RichEdit__sig_draw_from_changed.html">sig_draw_from_changed</a></p></td><td valign=top><p> This signal is emitted when draw_from variable is changed</p></td></tr><tr><td width=30% valign=top><p><a href="CL_RichEdit__sig_clear.html">sig_clear</a></p></td><td valign=top><p> This signal is emitted when the richedit is cleared.</p></td></tr></table> <a name="#description"><p><b>Detailed description:</b></p> !group=GUI/Controls! !header=gui.h! <!-- clanlib footer begin --> <center><br><br><font color="#a0a0a0"> Questions or comments, write to the <a href="http://clanlib.org/contact.html">ClanLib mailing list</a>. </font></center> </body> </html> <!-- clanlib footer end -->