equal
deleted
inserted
replaced
97 WE_CREATE, |
97 WE_CREATE, |
98 WE_DESTROY, |
98 WE_DESTROY, |
99 WE_PAINT, |
99 WE_PAINT, |
100 WE_KEYPRESS, |
100 WE_KEYPRESS, |
101 WE_CLICK, |
101 WE_CLICK, |
|
102 WE_DOUBLE_CLICK, |
102 WE_RCLICK, |
103 WE_RCLICK, |
103 WE_MOUSEOVER, |
104 WE_MOUSEOVER, |
104 WE_MOUSELOOP, |
105 WE_MOUSELOOP, |
105 WE_MOUSEWHEEL, |
106 WE_MOUSEWHEEL, |
106 WE_TICK, |
107 WE_TICK, |
319 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(tree_d)); |
320 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(tree_d)); |
320 |
321 |
321 struct tooltips_d { |
322 struct tooltips_d { |
322 StringID string_id; |
323 StringID string_id; |
323 byte paramcount; |
324 byte paramcount; |
324 uint32 params[5]; |
325 uint64 params[5]; |
325 }; |
326 }; |
326 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(tooltips_d)); |
327 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(tooltips_d)); |
327 |
328 |
328 struct buildvehicle_d { |
329 struct buildvehicle_d { |
329 VehicleType vehicle_type; |
330 VehicleType vehicle_type; |
762 void CDECL SetWindowWidgetsDisabledState(Window *w, bool disab_stat, int widgets, ...); |
763 void CDECL SetWindowWidgetsDisabledState(Window *w, bool disab_stat, int widgets, ...); |
763 void CDECL SetWindowWidgetsHiddenState(Window *w, bool hidden_stat, int widgets, ...); |
764 void CDECL SetWindowWidgetsHiddenState(Window *w, bool hidden_stat, int widgets, ...); |
764 void CDECL SetWindowWidgetsLoweredState(Window *w, bool lowered_stat, int widgets, ...); |
765 void CDECL SetWindowWidgetsLoweredState(Window *w, bool lowered_stat, int widgets, ...); |
765 |
766 |
766 /* misc_gui.cpp */ |
767 /* misc_gui.cpp */ |
767 void GuiShowTooltipsWithArgs(StringID str, uint paramcount, const uint params[]); |
768 void GuiShowTooltipsWithArgs(StringID str, uint paramcount, const uint64 params[]); |
768 static inline void GuiShowTooltips(StringID str) |
769 static inline void GuiShowTooltips(StringID str) |
769 { |
770 { |
770 GuiShowTooltipsWithArgs(str, 0, NULL); |
771 GuiShowTooltipsWithArgs(str, 0, NULL); |
771 } |
772 } |
772 |
773 |