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

Comparing deliantra/Deliantra-Client/DC/UI/ChatView.pm (file contents):
Revision 1.13 by elmex, Sun Jan 6 16:28:49 2008 UTC vs.
Revision 1.14 by root, Thu Mar 20 22:28:34 2008 UTC

1package DC::UI::ChatView; 1package DC::UI::ChatView;
2use Deliantra::Protocol::Constants; 2
3use strict; 3use strict;
4use utf8; 4use utf8;
5
6use Deliantra::Protocol::Constants;
5 7
6our @ISA = DC::UI::Dockable::; 8our @ISA = DC::UI::Dockable::;
7 9
8sub new { 10sub new {
9 my $class = shift; 11 my $class = shift;
171 my ($self, $size) = @_; 173 my ($self, $size) = @_;
172 $self->{txt}->set_fontsize ($size); 174 $self->{txt}->set_fontsize ($size);
173} 175}
174 176
175# sets the maximum of paragraphs shown 177# sets the maximum of paragraphs shown
176sub set_max_para { 178sub set_max_par {
177 my ($self, $max_par) = @_; 179 my ($self, $max_par) = @_;
178 $self->{txt}{max_par} = $max_par; 180 $self->{txt}{max_par} = $max_par;
179} 181}
180 182
181# clears the text log 183# clears the text log

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines