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.1 by elmex, Sun Jan 6 16:28:49 2008 UTC vs.
Revision 1.4 by elmex, Fri Mar 21 11:17:11 2008 UTC

28 return $self 28 return $self
29} 29}
30 30
31# called by MAPWIDGET activate console event 31# called by MAPWIDGET activate console event
32sub activate_console { 32sub activate_console {
33 # nop
33} 34}
34 35
35# adding channel 36# adding channel
36sub add_channel { 37sub add_channel {
37 my ($self, $chaninfo) = @_; 38 my ($self, $chaninfo) = @_;
39 $self->{info}->{$chaninfo->{id}} = $chaninfo; 40 $self->{info}->{$chaninfo->{id}} = $chaninfo;
40 $self->touch_channel ($chaninfo->{id}); 41 $self->touch_channel ($chaninfo->{id});
41} 42}
42 43
43# set max paragraphs 44# set max paragraphs
44sub set_max_para { 45sub set_max_par {
46 my ($self, $par) = @_;
47 for ($self->{log}, values %{$self->{chatview}}) {
48 $_->set_max_par ($par);
49 }
45} 50}
46 51
47# set fontsize 52# set fontsize for all chatviews
48sub set_fontsize { 53sub set_fontsize {
54 my ($self, $s) = @_;
55
56 for ($self->{log}, values %{$self->{chatview}}) {
57 $_->set_fontsize ($s);
58 }
49} 59}
50 60
51# push message in 61# push message in
52sub message { 62sub message {
53 my ($self, $para) = @_; 63 my ($self, $para) = @_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines