Feature #774 » 0013-Drop-unused-width-height-parameters-from-popup_image.patch
| client/gui-gtk-3.22/dialogs.c | ||
|---|---|---|
|
/**********************************************************************//**
|
||
|
Popup image window
|
||
|
**************************************************************************/
|
||
|
void popup_image(const char *tag, int width, int height)
|
||
|
void popup_image(const char *tag)
|
||
|
{
|
||
|
struct sprite *spr = load_popup_sprite(tag);
|
||
| client/gui-gtk-4.0/dialogs.c | ||
|---|---|---|
|
/**********************************************************************//**
|
||
|
Popup image window
|
||
|
**************************************************************************/
|
||
|
void popup_image(const char *tag, int width_discard, int height_discard)
|
||
|
void popup_image(const char *tag)
|
||
|
{
|
||
|
struct sprite *spr = load_popup_sprite(tag);
|
||
| client/gui-gtk-5.0/dialogs.c | ||
|---|---|---|
|
/**********************************************************************//**
|
||
|
Popup image window
|
||
|
**************************************************************************/
|
||
|
void popup_image(const char *tag, int width_discard, int height_discard)
|
||
|
void popup_image(const char *tag)
|
||
|
{
|
||
|
struct sprite *spr = load_popup_sprite(tag);
|
||
| client/gui-qt/dialogs.cpp | ||
|---|---|---|
|
/**********************************************************************//**
|
||
|
Popup image window
|
||
|
**************************************************************************/
|
||
|
void qtg_popup_image(const char *tag, int width_discard, int height_discard)
|
||
|
void qtg_popup_image(const char *tag)
|
||
|
{
|
||
|
struct sprite *spr = load_popup_sprite(tag);
|
||
| client/gui-qt/qtg_cxxside.h | ||
|---|---|---|
|
void qtg_endgame_report_dialog_start(const struct packet_endgame_report *packet);
|
||
|
void qtg_endgame_report_dialog_player(const struct packet_endgame_player *packet);
|
||
|
void qtg_popup_image(const char *tag, int width, int height);
|
||
|
void qtg_popup_image(const char *tag);
|
||
|
#endif // FC__QTG_CXXSIDE_H
|
||
| client/gui-sdl2/dialogs.c | ||
|---|---|---|
|
/**********************************************************************//**
|
||
|
Popup image window
|
||
|
**************************************************************************/
|
||
|
void popup_image(const char *tag, int width_discard, int height_discard)
|
||
|
void popup_image(const char *tag)
|
||
|
{
|
||
|
if (advanced_image_popup == NULL) {
|
||
|
struct sprite *spr = load_popup_sprite(tag);
|
||
| client/gui-sdl3/dialogs.c | ||
|---|---|---|
|
/**********************************************************************//**
|
||
|
Popup image window
|
||
|
**************************************************************************/
|
||
|
void popup_image(const char *tag, int width_discard, int height_discard)
|
||
|
void popup_image(const char *tag)
|
||
|
{
|
||
|
if (advanced_image_popup == NULL) {
|
||
|
struct sprite *spr = load_popup_sprite(tag);
|
||
| client/gui-stub/dialogs.c | ||
|---|---|---|
|
/**********************************************************************//**
|
||
|
Popup image window
|
||
|
**************************************************************************/
|
||
|
void gui_popup_image(const char *tag, int width, int height)
|
||
|
void gui_popup_image(const char *tag)
|
||
|
{
|
||
|
}
|
||
| client/gui_interface.c | ||
|---|---|---|
|
/**********************************************************************//**
|
||
|
Call popup_image callback
|
||
|
**************************************************************************/
|
||
|
void popup_image(const char *tag, int width, int height)
|
||
|
void popup_image(const char *tag)
|
||
|
{
|
||
|
funcs.popup_image(tag, width, height);
|
||
|
funcs.popup_image(tag);
|
||
|
}
|
||
| client/gui_interface.h | ||
|---|---|---|
|
void (*endgame_report_dialog_start)(const struct packet_endgame_report *packet);
|
||
|
void (*endgame_report_dialog_player)(const struct packet_endgame_player *packet);
|
||
|
void (*popup_image)(const char *tag, int width, int height);
|
||
|
void (*popup_image)(const char *tag);
|
||
|
};
|
||
|
struct gui_funcs *get_gui_funcs(void);
|
||
| client/include/dialogs_g.h | ||
|---|---|---|
|
GUI_FUNC_PROTO(void, update_infra_dialog, void)
|
||
|
GUI_FUNC_PROTO(void, popup_image, const char *tag, int width, int height)
|
||
|
GUI_FUNC_PROTO(void, popup_image, const char *tag)
|
||
|
#endif /* FC__DIALOGS_G_H */
|
||
| client/packhand.c | ||
|---|---|---|
|
****************************************************************************/
|
||
|
void handle_popup_image(const char *tag)
|
||
|
{
|
||
|
popup_image(tag, 500, 500);
|
||
|
popup_image(tag);
|
||
|
}
|
||
|
/************************************************************************//**
|
||