src/window.h
changeset 7502 71f5d2c6a605
parent 7226 a8650d6ecb53
child 7505 94a7391e0377
equal deleted inserted replaced
7501:bf3ce5bc4117 7502:71f5d2c6a605
   319 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(tree_d));
   319 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(tree_d));
   320 
   320 
   321 struct tooltips_d {
   321 struct tooltips_d {
   322 	StringID string_id;
   322 	StringID string_id;
   323 	byte paramcount;
   323 	byte paramcount;
   324 	uint32 params[5];
   324 	uint64 params[5];
   325 };
   325 };
   326 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(tooltips_d));
   326 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(tooltips_d));
   327 
   327 
   328 struct buildvehicle_d {
   328 struct buildvehicle_d {
   329 	VehicleType vehicle_type;
   329 	VehicleType vehicle_type;
   762 void CDECL SetWindowWidgetsDisabledState(Window *w, bool disab_stat, int widgets, ...);
   762 void CDECL SetWindowWidgetsDisabledState(Window *w, bool disab_stat, int widgets, ...);
   763 void CDECL SetWindowWidgetsHiddenState(Window *w, bool hidden_stat, int widgets, ...);
   763 void CDECL SetWindowWidgetsHiddenState(Window *w, bool hidden_stat, int widgets, ...);
   764 void CDECL SetWindowWidgetsLoweredState(Window *w, bool lowered_stat, int widgets, ...);
   764 void CDECL SetWindowWidgetsLoweredState(Window *w, bool lowered_stat, int widgets, ...);
   765 
   765 
   766 /* misc_gui.cpp */
   766 /* misc_gui.cpp */
   767 void GuiShowTooltipsWithArgs(StringID str, uint paramcount, const uint params[]);
   767 void GuiShowTooltipsWithArgs(StringID str, uint paramcount, const uint64 params[]);
   768 static inline void GuiShowTooltips(StringID str)
   768 static inline void GuiShowTooltips(StringID str)
   769 {
   769 {
   770 	GuiShowTooltipsWithArgs(str, 0, NULL);
   770 	GuiShowTooltipsWithArgs(str, 0, NULL);
   771 }
   771 }
   772 
   772