src/misc_gui.cpp
changeset 7007 d335c6daf964
parent 7006 bfa3974da32b
child 7014 533521754123
equal deleted inserted replaced
7006:bfa3974da32b 7007:d335c6daf964
  1211 };
  1211 };
  1212 
  1212 
  1213 
  1213 
  1214 struct query_d {
  1214 struct query_d {
  1215 	void (*proc)(Window*, bool); ///< callback function executed on closing of popup. Window* points to parent, bool is true if 'yes' clicked, false otherwise
  1215 	void (*proc)(Window*, bool); ///< callback function executed on closing of popup. Window* points to parent, bool is true if 'yes' clicked, false otherwise
       
  1216 	uint64 params[10];           ///< local copy of _decode_parameters
  1216 	StringID message;            ///< message shown for query window
  1217 	StringID message;            ///< message shown for query window
  1217 	uint64 params[10];           ///< local copy of _decode_parameters
       
  1218 	bool calledback;             ///< has callback been executed already (internal usage for WE_DESTROY event)
  1218 	bool calledback;             ///< has callback been executed already (internal usage for WE_DESTROY event)
  1219 };
  1219 };
  1220 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(query_d));
  1220 assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(query_d));
  1221 
  1221 
  1222 
  1222