aboutsummaryrefslogtreecommitdiffstats
path: root/w3mimg/fb/fb.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-03-29Fix invalid braces when not Linux or FreeBSDTatsuya Kinoshita1-1/+14
2014-12-03Support FreeBSD framebufferYusuke Baba1-0/+418
Origin: http://www.ac.auone-net.jp/~baba/w3m-img/index.html Bug-FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=122673
2011-05-04Adding upstream version 0.5.1upstream/0.5.1Tatsuya Kinoshita1-0/+663
2003-07-13[w3m-dev 03938] clear region marginFumitoshi UKAI1-1/+7
* w3mimgdisplay.c (clearMargin): added (GetOption): add -margin (ClearImage): clear margin * w3mi,g/w3mimg.h (w3mimg_op): clear_margin * w3mimg/fb/fb.c (fb_clear): x,y must be >= 0 * w3mimg/x11/x11_w3mimg.c (x11_clear): x,y must be >= 0 From: Hiroyuki Ito <hito@crl.go.jp>
2003-07-09* w3mimg/fb/fb_img.h (get_image_size): add missing prototypesFumitoshi UKAI1-2/+2
* w3mimg/fb/fb.c (fb_clear): unused variable `j' From: Fumitoshi UKAI <ukai@debian.or.jp>
2003-07-09[w3m-dev 03935] Re: clear imageFumitoshi UKAI1-29/+39
* w3mimg/fb/fb.c (fb_get_packed_color): added (fb_image_pset): use fb_get_packed_color (fb_image_fill): use fb_get_packed_color (fb_clear): use tmp to store pixels From: Hiroyuki Ito <hito@crl.go.jp>
2003-07-08fix indentFumitoshi UKAI1-3/+3
2003-07-08[w3m-dev 03931] Re: clear imageFumitoshi UKAI1-7/+8
* w3mimgdisplay.c (ClearImage): offset * w3mimg/fb/fb.c (fb_clear): memcpy by pixel_size From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2003-07-07fix indentFumitoshi UKAI1-3/+3
2003-07-07[w3m-dev 03929] clear imageFumitoshi UKAI1-1/+25
* image.c (syncImage): added (drawImage): rewrite using syncImage() (clearImage): use clear image command (6) * w3mimgdisplay.c: change protocol 2 => terminate drawing 6 => clear image (main): '2' calls TermImage() '6' calls ClearImage() TermImage() when exit (TermImage): renamed from ClearImage (ClearImage): rewritten to call w_op->clear() * w3mimg.h/w3mimg.h (w3mimg_op): add clear() * w3mimg/fb/fb.c (fb_clear): added * w3mimg/fb/fb.h (fb_clear): added * w3mimg/fb/fb_img.c (fb_image_clear): added * w3mimg/fb/fb_w3mimg.c (w3mfb_clear): added (w3mimg_fbopen): initialize wop->clear * w3mimg/x11/x11_w3mimg.c (x11_clear): added (w3mimg_x11open): initialize wop->clear From: Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
2002-10-31fix compilation warningsFumitoshi UKAI1-1/+2
* w3mimgdisplay.c: add #include <string.h> for strlen, strcmp * w3mimg/fb/fb.c: add #include <string.h> for memset * w3mimg/fb/fb_w3mimg.c: add #include <string.h> for memset From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-10-10* [w3m-dev 03337] delete unused functions in fb.c etc. (Re: canna patch)Fumitoshi UKAI1-428/+15
* w3mimg/fb/fb.c (fb_image_rotate): delete (fb_frame_rotate): delete (fb_pset): delete (fb_get_color): delete (fb_clear): delete (fb_cmap_disp): delete (fb_fscrn_disp): delete (fb_vscrn_disp): delete * w3mimg/fb/fb.h (fb_image_rotate): delete (fb_frame_rotate): delete (fb_pset): delete (fb_get_color): delete (fb_clear): delete (fb_cmap_disp): delete (fb_fscrn_disp): delete (fb_vscrn_disp): delete * w3mimg/fb/fb_img.c (fb_image_draw_simple): delete * w3mimg/fb/fb_img.h (fb_image_draw_simple): delete From: Hiroyuki Ito <hito@crl.go.jp>
2002-09-09[w3m-dev 03300] framebuffer: 8bit color supportFumitoshi UKAI1-38/+189
* w3mimg/fb/fb.c: support FB_VISUAL_PSEUDOCOLOR 256 colors From: Hiroyuki Ito <hito@crl.go.jp>
2002-07-30Debian Bug#154766: w3m-img: support DirectColor framebuffer visuals?Fumitoshi UKAI1-2/+3
from Colin Watson <cjwatson@debian.org> * w3mimg/fb/fb.c (fb_open): accept FB_VISUAL_DIRECTCOLOR From: Fumitoshi UKAI <ukai@debian.or.jp>
2002-07-29[w3m-dev 03282] Re: w3m-img for framebuffer updateFumitoshi UKAI1-8/+110
* w3mimg/fb/fb.c (fb_image_new): ignore no image calloc multiple images (fb_image_fill): added (fb_image_draw): width, height fix (fb_image_rotate): fix typo (fb_image_copy): added (fb_frame_new): added (fb_freme_free): added (fb_frame_rotate): added * w3mimg/fb/fb.h (FB_IMAGE): add num, id, delay (fb_frame_new): added (fb_frame_free): added (fb_frame_rotate): added * w3mimg/fb/fb_gdkpixbuf.c (get_image_size): animation support (fb_image_load): animation support (draw): add bg, x, y, w, h args * w3mimg/fb/fb_img.h (fb_image_load): return FB_IMAGE** * w3mimg/fb/fb_imlib2.c (fb_image_load): return FB_IMAGE** * w3mimg/fb/fb_w3mimg.c (w3mfb_show_image): animation support From: Hiroyuki Ito <hito@crl.go.jp>
2002-07-22[w3m-dev 03279] w3m-img for framebuffer updateFumitoshi UKAI1-58/+145
http://homepage3.nifty.com/slokar/fb/w3mfb.patch.gz * w3mimg/fb/readme.txt: update * w3mimg/fb/fb.c: update * w3mimg/fb/fb.h: update * w3mimg/fb/fb_gdkpixbuf.c: update * w3mimg/fb/fb_img.c: update * w3mimg/fb/fb_img.h: update * w3mimg/fb/fb_imlib2.c: update * w3mimg/fb/fb_w3mimg.c: update * w3mimg/fb/fb_gdkpixbuf.h: deleted * w3mimg/fb/fb_imlib2.h: deleted * w3mimg/w3mimg.h (w3mimg_op): add get_image_size() * w3mimg/x11/x11_w3mimg.c: update * w3mimgdisplay.c (main): use get_image_size() * w3mimgsize.c (main): use get_image_size() From: Hiroyuki Ito <hito@crl.go.jp>
2002-07-18indentFumitoshi UKAI1-476/+568
2002-07-18rcsid commentFumitoshi UKAI1-0/+1
2002-07-17merge w3m-img for framebuffer supportFumitoshi UKAI1-0/+600
* w3mimg/w3mimg.h: created * w3mimg/x11/x11_w3mimg.c: created * w3mimg/fb/fb_w3mimg.c: created * w3mimgsize.c w3mimgdisplay.c: modified * configure: modified * XMakefile: modified * config.h.dist: updated From: Fumitoshi UKAI <ukai@debian.or.jp> w3m-img for framebuffer support * http://homepage3.nifty.com/slokar/fb/ * w3mimg/fb/fb.c w3mimg/fb/fb.h w3mimg/fb/fb_img.c w3mimg/fb/fb_img.h w3mimg/fb/fb_gdkpixbuf.c w3mimg/fb/fb_gdkpixbuf.h w3mimg/fb/fb_imlib2.c w3mimg/fb/fb_imlib.h w3mimg/fb/readme.txt w3mimg/fb/license.txt: added From: Hiroshi Kawashima <kei@sm.sony.co.jp>