ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtimg.h
(Generate patch)

Comparing rxvt-unicode/src/rxvtimg.h (file contents):
Revision 1.19 by root, Thu Jun 7 08:36:09 2012 UTC vs.
Revision 1.21 by root, Thu Jun 7 11:34:09 2012 UTC

35 Pixmap pm; 35 Pixmap pm;
36 pixref *ref; // shared refcnt 36 pixref *ref; // shared refcnt
37 int x, y, w, h, repeat; 37 int x, y, w, h, repeat;
38 XRenderPictFormat *format; 38 XRenderPictFormat *format;
39 39
40 rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int x, int y, int width, int height); 40 rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int x, int y, int width, int height, int repeat = RepeatNormal);
41 rxvt_img (const rxvt_img &img); 41 rxvt_img (const rxvt_img &img);
42 42
43 //rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height, Pixmap pixmap); 43 //rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height, Pixmap pixmap);
44 static rxvt_img *new_from_root (rxvt_screen *s); // get root pixmap 44 static rxvt_img *new_from_root (rxvt_screen *s); // get root pixmap
45 static rxvt_img *new_from_file (rxvt_screen *s, const char *filename); // from pixbuf 45 static rxvt_img *new_from_file (rxvt_screen *s, const char *filename); // from pixbuf
53 } 53 }
54 54
55 // inplace 55 // inplace
56 void move (int dx, int dy) 56 void move (int dx, int dy)
57 { 57 {
58 x += dx; 58 x -= dx;
59 y += dy; 59 y -= dy;
60 } 60 }
61 61
62 void repeat_mode (int repeat) 62 void repeat_mode (int repeat)
63 { 63 {
64 this->repeat = repeat; 64 this->repeat = repeat;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines