comparison src/gui/pages/statistics.cc @ 83:d02fdf1d6708

*: huuuge update 1. make the now playing page function correctly 2. de-constructorfy many of our custom widgets, allowing them to be changed on-the-fly from the Now Playing page 3. ... :)
author Paper <mrpapersonic@gmail.com>
date Tue, 24 Oct 2023 22:01:02 -0400
parents 9b2b41f83a5e
children d5efb81540b3
comparison
equal deleted inserted replaced
82:8b65c417c225 83:d02fdf1d6708
23 setAutoFillBackground(true); 23 setAutoFillBackground(true);
24 24
25 TextWidgets::LabelledSection* anime_list_paragraph = new TextWidgets::LabelledSection( 25 TextWidgets::LabelledSection* anime_list_paragraph = new TextWidgets::LabelledSection(
26 tr("Anime list"), 26 tr("Anime list"),
27 tr("Anime count:\nEpisode count:\nTime spent watching:\nTime to complete:\nAverage score:\nScore deviation:"), 27 tr("Anime count:\nEpisode count:\nTime spent watching:\nTime to complete:\nAverage score:\nScore deviation:"),
28 "\n\n\n\n\n\n", this); 28 "", this);
29 anime_list_data = anime_list_paragraph->GetParagraph(); 29 anime_list_data = anime_list_paragraph->GetParagraph();
30 30
31 TextWidgets::LabelledSection* application_paragraph = 31 TextWidgets::LabelledSection* application_paragraph =
32 new TextWidgets::LabelledSection(tr("Minori"), tr("Uptime:\nRequests made:"), "\n\n", this); 32 new TextWidgets::LabelledSection(tr("Minori"), tr("Uptime:\nRequests made:"), "\n\n", this);
33 application_data = application_paragraph->GetParagraph(); 33 application_data = application_paragraph->GetParagraph();