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

Comparing deliantra/Deliantra-Client/DC/UI/Canvas.pm (file contents):
Revision 1.2 by root, Tue Jul 24 18:24:05 2007 UTC vs.
Revision 1.6 by root, Sat Apr 3 02:58:25 2010 UTC

1package CFPlus::UI::Canvas; 1package DC::UI::Canvas;
2 2
3use strict; 3use common::sense;
4use utf8;
5 4
6use List::Util qw(max min); 5use List::Util qw(max min);
7 6
8use CFPlus::OpenGL; 7use DC::OpenGL;
9 8
10our @ISA = CFPlus::UI::Fixed::; 9our @ISA = DC::UI::Fixed::;
11 10
12sub new { 11sub new {
13 my ($class, %arg) = @_; 12 my ($class, %arg) = @_;
14 13
15 my $items = delete $arg{items}; 14 my $items = delete $arg{items};
85 glEnd; 84 glEnd;
86 } 85 }
87 86
88 glPopMatrix; 87 glPopMatrix;
89 } 88 }
89
90 glLineWidth 1;
91 glPointSize 1;
90} 92}
91 93
921 941
93 95

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines