Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » RichText,QTF,RTF... » Scrollable log window with colour text
Re: Scrollable log window with colour text [message #2582 is a reply to message #2581] Tue, 18 April 2006 04:31 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
ok. There are 3 big problems. The 1st, as I understand, is coloring some text?
One of I my editor experiments.
void DEditor::HighlightLine(int line, Vector<LineEdit::Highlight>& hl, int pos)
{

	HlSt hls(hl);  //highlights

int posW0=5;
int posW1=20;

		if(line ==  0 ) {
			hls.SetPaper(posW0, posW1, Red);
			hls.SetInk(posW0, posW1, Yellow);
}

If that is usefull...

[Updated on: Tue, 18 April 2006 04:34]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to get Text Size from controls like EditString?
Next Topic: QTF Justification
Goto Forum:
  


Current Time: Sat Aug 02 04:08:54 CEST 2025

Total time taken to generate the page: 0.09103 seconds