|
|
| version 1.7, 2010/08/16 14:26:55 | version 1.10, 2011/12/21 18:16:25 |
|---|---|
| Line 1 | Line 1 |
| /* $Id$ */ | |
| /* | /* |
| * Copyright (c) 2003 NONAKA Kimihiro | * Copyright (c) 2003 NONAKA Kimihiro |
| * All rights reserved. | * All rights reserved. |
| Line 94 drawmng_create(void *parent, int width, | Line 92 drawmng_create(void *parent, int width, |
| } | } |
| bytes_per_pixel = fmt.bits_per_pixel / 8; | bytes_per_pixel = fmt.bits_per_pixel / 8; |
| hdl->d.dest.x = hdl->d.dest.x = 0; | hdl->d.dest.x = hdl->d.dest.y = 0; |
| hdl->d.src.left = hdl->d.src.top = 0; | hdl->d.src.left = hdl->d.src.top = 0; |
| hdl->d.src.right = width; | hdl->d.src.right = width; |
| hdl->d.src.bottom = height; | hdl->d.src.bottom = height; |
| Line 270 gtkdrawmng_getformat(GtkWidget *w, GtkWi | Line 268 gtkdrawmng_getformat(GtkWidget *w, GtkWi |
| break; | break; |
| default: | default: |
| fprintf(stderr, "No support visual class.\n"); | g_printerr("No support visual class.\n"); |
| return FALSE; | return FALSE; |
| } | } |
| Line 292 gtkdrawmng_getformat(GtkWidget *w, GtkWi | Line 290 gtkdrawmng_getformat(GtkWidget *w, GtkWi |
| default: | default: |
| if (visual->depth < 8) { | if (visual->depth < 8) { |
| fprintf(stderr, "Too few allocable color.\n"); | g_printerr("Too few allocable color.\n"); |
| } | } |
| fprintf(stderr, "No support depth.\n"); | g_printerr("No support depth.\n"); |
| return FALSE; | return FALSE; |
| } | } |