comparison scn2k/scn2k_text.cc @ 17:a95c130b567b

Shows name in backlog
author thib
date Tue, 12 Aug 2008 18:37:52 +0000
parents 223b71206888
children 4d7486cb20a9
comparison
equal deleted inserted replaced
16:92765a5661f7 17:a95c130b567b
630 text_stream.Clear(); 630 text_stream.Clear();
631 AddText(cmd.Str(cmd.args[0])); 631 AddText(cmd.Str(cmd.args[0]));
632 item.text = text_stream; 632 item.text = text_stream;
633 text_stream = saved_text; 633 text_stream = saved_text;
634 } 634 }
635 char namestr[1024];
636 namestr[0] = 0;
637 item.text.RemoveName(namestr, 1024);
638 text->SetName(namestr);
639 item.text.InsertColor(0, item.text.container.size(), 0xff,0xff,0); 635 item.text.InsertColor(0, item.text.container.size(), 0xff,0xff,0);
640 text->wid->Clear(); 636 text->StartText(item.text);
641 text->wid->stream = item.text;
642 text->wid->Start();
643 text->wid->Flush(); 637 text->wid->Flush();
644 if (item.face.empty()) text->ResetFace(); 638 if (item.face.empty()) text->ResetFace();
645 else text->ShowFace(item.face.c_str()); 639 else text->ShowFace(item.face.c_str());
646 if (kcursor) kcursor->hide(); 640 if (kcursor) kcursor->hide();
647 } 641 }