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.14 by root, Thu Mar 20 22:28:34 2008 UTC vs.
Revision 1.15 by elmex, Fri Mar 21 11:17:12 2008 UTC

39 expand => 1, 39 expand => 1,
40 tooltip => $self->{entry_tooltip}, 40 tooltip => $self->{entry_tooltip},
41 on_focus_in => sub { 41 on_focus_in => sub {
42 my ($input, $prev_focus) = @_; 42 my ($input, $prev_focus) = @_;
43 43
44 $::MESSAGE_WINDOW->set_visibility (1);
44 delete $input->{refocus_map}; 45 delete $input->{refocus_map};
45 46
46 if ($prev_focus == $::MAPWIDGET && $input->{auto_activated}) { 47 if ($prev_focus == $::MAPWIDGET && $input->{auto_activated}) {
47 $input->{refocus_map} = 1; 48 $input->{refocus_map} = 1;
48 } 49 }
129sub message { 130sub message {
130 my ($self, $para) = @_; 131 my ($self, $para) = @_;
131 132
132 if ($self->is_docked && !$self->is_docked_active) { 133 if ($self->is_docked && !$self->is_docked_active) {
133 if (($para->{color_flags} & NDI_COLOR_MASK) == NDI_RED) { 134 if (($para->{color_flags} & NDI_COLOR_MASK) == NDI_RED) {
134 $self->set_inactive_fg ([0, 0, 1]); 135 $self->set_inactive_fg ([1, 0, 0]);
135 } else { 136 } else {
136 $self->set_inactive_fg ([0.6, 0.6, 1]); 137 $self->set_inactive_fg ([0.6, 0.6, 1]);
137 } 138 }
138 } 139 }
139 140

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines