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

Comparing deliantra/Deliantra-Client/DC/MessageDistributor.pm (file contents):
Revision 1.3 by root, Thu Mar 20 22:28:33 2008 UTC vs.
Revision 1.5 by root, Fri Sep 19 01:23:36 2008 UTC

12 $self->{log} = DC::UI::ChatView->new ( 12 $self->{log} = DC::UI::ChatView->new (
13 expand => 1, 13 expand => 1,
14 can_close => 0, 14 can_close => 0,
15 can_undock => 0, 15 can_undock => 0,
16 info => { 16 info => {
17 id => "",
17 title => "Log", 18 title => "Log",
18 tooltip =>
19 "<b>Server Log</b>. This text viewer contains all recent message sent by the server.", 19 tooltip => "<b>Server Log</b>. This text viewer contains all recent message sent by the server.",
20 entry_tooltip =>
21 "<b>Command Entry</b>. If you enter something and press return/enter here, " 20 entry_tooltip => "<b>Command Entry</b>. If you enter something and press return/enter here, "
22 ."the line you entered will be sent to the server as a command.", 21 . "the line you entered will be sent to the server as a command.",
23 reply => '' 22 reply => ''
24 } 23 }
25 ) 24 )
26 ); 25 );
27 26
28 return $self 27 return $self
41 $self->touch_channel ($chaninfo->{id}); 40 $self->touch_channel ($chaninfo->{id});
42} 41}
43 42
44# set max paragraphs 43# set max paragraphs
45sub set_max_par { 44sub set_max_par {
46 # nop 45 my ($self, $par) = @_;
46 for ($self->{log}, values %{$self->{chatview}}) {
47 $_->set_max_par ($par);
48 }
47} 49}
48 50
49# set fontsize for all chatviews 51# set fontsize for all chatviews
50sub set_fontsize { 52sub set_fontsize {
51 my ($self, $s) = @_; 53 my ($self, $s) = @_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines