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

Comparing deliantra/Deliantra-Client/DC/UI.pm (file contents):
Revision 1.47 by root, Sun Apr 9 22:24:43 2006 UTC vs.
Revision 1.49 by root, Sun Apr 9 22:26:51 2006 UTC

80 80
81 glPushMatrix; 81 glPushMatrix;
82 glTranslate $self->{x}, $self->{y}, 0; 82 glTranslate $self->{x}, $self->{y}, 0;
83 $self->_draw; 83 $self->_draw;
84 if ($self == $::HOVER) { 84 if ($self == $::HOVER) {
85 glColor 1, 1, 1, 1; 85 glColor 1, 1, 1, 0.4;
86 glBegin GL_LINES; 86 glBegin GL_QUADS;
87 glVertex 0, 0; 87 glVertex 0, 0;
88 glVertex $self->{w} - 1, 0; 88 glVertex $self->{w} - 1, 0;
89 glVertex $self->{w} - 1, $self->{h} - 1; 89 glVertex $self->{w} - 1, $self->{h} - 1;
90 glVertex 0, $self->{h} - 1; 90 glVertex 0, $self->{h} - 1;
91 glVertex 0, 0;
92 glEnd; 91 glEnd;
93 } 92 }
94 glPopMatrix; 93 glPopMatrix;
95} 94}
96 95

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines