Feature #774 » 0010-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-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_request_action_confirmation(const char *expl, 
   | 
||
| 
                                          struct act_confirmation_data *data); 
   | 
||
| 
     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 (*request_action_confirmation)(const char *expl, 
   | 
||
| 
                                           struct act_confirmation_data *data); 
   | 
||
| 
       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); 
   | 
||
| 
     } 
   | 
||
| 
     /************************************************************************//** 
   | 
||
- « Previous
 - 1
 - 2
 - Next »