src/player_gui.h
author rubidium
Wed, 07 May 2008 21:45:27 +0000
changeset 10457 ea18877d8eba
parent 8750 fdd6054e7bae
permissions -rw-r--r--
(svn r12999) -Fix [FS#1995]: when a Window got deleted on a double click event, we should not send a click event to the now non-existant Window as that causes segfaults.
/* $Id$ */

/** @file player_gui.h GUI Functions related to players. */

#ifndef PLAYER_GUI_H
#define PLAYER_GUI_H

#include "player_type.h"

uint16 GetDrawStringPlayerColor(PlayerID player);
void DrawPlayerIcon(PlayerID p, int x, int y);

void ShowPlayerStations(PlayerID player);
void ShowPlayerFinances(PlayerID player);
void ShowPlayerCompany(PlayerID player);

void InvalidatePlayerWindows(const Player *p);
void DeletePlayerWindows(PlayerID pi);

#endif /* PLAYER_GUI_H */