src/window_gui.h
changeset 9781 31e0e461d7bf
parent 9773 fd7309d22bc6
child 9834 7474149531c1
equal deleted inserted replaced
9780:bb23abff1107 9781:31e0e461d7bf
   522 }
   522 }
   523 
   523 
   524 void RelocateAllWindows(int neww, int newh);
   524 void RelocateAllWindows(int neww, int newh);
   525 
   525 
   526 /* misc_gui.cpp */
   526 /* misc_gui.cpp */
   527 void GuiShowTooltipsWithArgs(StringID str, uint paramcount, const uint64 params[]);
   527 void GuiShowTooltips(StringID str, uint paramcount = 0, const uint64 params[] = NULL, bool use_left_mouse_button = false);
   528 static inline void GuiShowTooltips(StringID str)
       
   529 {
       
   530 	GuiShowTooltipsWithArgs(str, 0, NULL);
       
   531 }
       
   532 
   528 
   533 /* widget.cpp */
   529 /* widget.cpp */
   534 int GetWidgetFromPos(const Window *w, int x, int y);
   530 int GetWidgetFromPos(const Window *w, int x, int y);
   535 
   531 
   536 /* window.cpp */
   532 /* window.cpp */