ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/Protocol.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/Protocol.pm (file contents):
Revision 1.203 by elmex, Sun Sep 21 12:34:14 2008 UTC vs.
Revision 1.204 by elmex, Fri Oct 17 11:21:55 2008 UTC

1543} 1543}
1544 1544
1545sub send { 1545sub send {
1546 my ($self, $msg) = @_; 1546 my ($self, $msg) = @_;
1547 1547
1548 $self->{textview}->add_paragraph ({ markup => "\n" . DC::asxml $msg }); 1548 $self->{textview}->add_paragraph ({
1549 markup =>
1550 "\n<span foreground='#ffff00'><b>"
1551 . (DC::asxml $msg)
1552 . "</b></span>"
1553 });
1549 $self->{textview}->scroll_to_bottom; 1554 $self->{textview}->scroll_to_bottom;
1550 1555
1551 $self->{conn}->send_ext_msg (npc_dialog_tell => $self->{id}, $msg); 1556 $self->{conn}->send_ext_msg (npc_dialog_tell => $self->{id}, $msg);
1552} 1557}
1553 1558

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines