I am looking for a way to highlight some tiles.
As starting point I am searching on how the "edit line" option of the line_management window colors the current stops red.
Any hints where to find that in the code ?
FOr schedules, it is done in gui/schedule_gui.cc, schedule_gui_stats_t::highlight_schedule.
It uses obj->set_flag( obj_t::highlight ) and gr->set_flag( grund_t::marked );
Thanks,
Exactly what I was looking for.