Add new. Update coordinates.

2003-02-01  Glynn Foster  <glynn.foster@sun.com>

	* data/Makefile.am, data/sunglasses.png: Add new.
	* src/about.c: Update coordinates.
This commit is contained in:
Glynn Foster 2003-02-01 12:13:25 +00:00 committed by Glynn Foster
parent 8f85e68421
commit 9e7cbd647f
4 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2003-02-01 Glynn Foster <glynn.foster@sun.com>
* data/Makefile.am, data/sunglasses.png: Add new.
* src/about.c: Update coordinates.
2003-02-01 Glynn Foster <glynn.foster@sun.com>
* src/about.c: Okay, I'm a glory hunter. Seperate out the

View File

@ -1,7 +1,8 @@
clothesdir = $(datadir)/zenity/clothes
clothes_DATA = \
monk.png \
gnome-tshirt.png
gnome-tshirt.png \
sunglasses.png
imagesdir = $(datadir)/zenity/
images_DATA = \

BIN
data/sunglasses.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -35,8 +35,8 @@
#define ZENITY_HELP_PATH ZENITY_DATADIR "/help/"
#define ZENITY_CLOTHES_PATH ZENITY_DATADIR "/clothes/"
#define ZENITY_CANVAS_X 580.0
#define ZENITY_CANVAS_Y 400.0
#define ZENITY_CANVAS_X 400.0
#define ZENITY_CANVAS_Y 280.0
static GtkWidget *dialog;
static GtkWidget *cred_dialog;
@ -149,7 +149,8 @@ typedef struct
} MonkClothes;
static MonkClothes monk_clothes[] = {
{"gnome-tshirt.png", 10.0, 10.0}
{"gnome-tshirt.png", 30.0, ZENITY_CANVAS_Y - 150.0},
{"sunglasses.png", ZENITY_CANVAS_X - 100.0 , ZENITY_CANVAS_Y - 150.0 }
};
static void
@ -201,8 +202,8 @@ zenity_create_monk (void)
canvas_item = gnome_canvas_item_new (GNOME_CANVAS_GROUP (GNOME_CANVAS (canvas_board)->root),
gnome_canvas_pixbuf_get_type (),
"x", (ZENITY_CANVAS_X / 2.0)/2.0 + 20.0,
"y", (ZENITY_CANVAS_Y / 2.0)/2.0 - 10.0,
"x", (ZENITY_CANVAS_X / 2.0)/2.0 + 10.0,
"y", (ZENITY_CANVAS_Y / 2.0)/2.0 - 50.0,
"pixbuf", pixbuf,
"anchor", GTK_ANCHOR_NW,
NULL);