Open up an own newspaper window for the news item */
| 694 | |
| 695 | /** Open up an own newspaper window for the news item */ |
| 696 | static void ShowNewspaper(const NewsItem *ni) |
| 697 | { |
| 698 | SoundFx sound = _news_type_data[to_underlying(ni->type)].sound; |
| 699 | if (sound != 0 && _settings_client.sound.news_full) SndPlayFx(sound); |
| 700 | |
| 701 | new NewsWindow(GetNewsWindowLayout(ni->style), ni); |
| 702 | } |
| 703 | |
| 704 | /** Show news item in the ticker */ |
| 705 | static void ShowTicker(NewsIterator ni) |
no test coverage detected