Missing Icons

Discussions about the internal structures of the game. You can also post here if you'd like to know how things really work (and don't know how to read C code).
Post Reply
vector
Posts: 449
Joined: Sat Dec 18, 2004 11:26 pm
Location: Australia, Victoria

Missing Icons

Post by vector »

where o where are the icon images (the red and green dots) for the "put player on transfer list" and remove player from list?

I was playing with the source and thought an easy thing would be to introduce my Icons to the game to see how they look.
I found (using grep "png" *) that the pointer were here

Code: Select all

interface.c:  main_window_icon_pixbuf = create_pixbuf ("bygfoot_icon.png");
interface.c:  image32 = create_pixmap (main_window, "transfers.png");
interface.c:  image33 = create_pixmap (main_window, "fin_stad.png");
interface.c:  image36 = create_pixmap (main_window, "preview.png");
interface.c:  image23 = create_pixmap (main_window, "new_week.png");
interface.c:  image104 = create_pixmap (main_window, "fire_player.png");
interface.c:  image105 = create_pixmap (main_window, "football.png");
interface.c:  image96 = create_pixmap (main_window, "inc_cap.png");
interface.c:  image97 = create_pixmap (main_window, "inc_saf.png");
interface.c:  image98 = create_pixmap (main_window, "get_loan.png");
interface.c:  image99 = create_pixmap (main_window, "pay_loan.png");
interface.c:  image42 = create_pixmap (main_window, "preview.png");
I was simply going to copy rename the pointers. this way I could switch between them simply by commenting or uncommenting them out rather than rename the actuall files in /support-files.

However!!
the red and green dots are not here and I have new icons to try for these.

and it says in interface.c dont modify this file as its written with glade.

aghhhhhhh
I guess I dont get cute and just rename the files for now :cry:
"There are two ways to score. Dribble it over the line or smash it into the back of the net."
What type are you?
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Re: Missing Icons

Post by gyboth »

vector wrote:where o where are the icon images (the red and green dots) for the "put player on transfer list" and remove player from list?
those pixmaps are standard gtk pixmaps, so they get loaded from your local gtk installation. not from the game itself.
you'd better learn to use glade 2 (it isn't hard at all, just mouse-clicking) if you'd like to test your images :-)

gyözö
Press any key to continue or any other key to quit.
Post Reply