Mercurial > minori
diff src/include/statistics.h @ 2:23d0d9319a00
Update
Also converted everything to LF from CRLF
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sat, 12 Aug 2023 03:16:26 -0400 |
parents | 1ae666fdf9e2 |
children | 07a9095eaeed |
line wrap: on
line diff
--- a/src/include/statistics.h Tue Aug 08 19:49:15 2023 -0400 +++ b/src/include/statistics.h Sat Aug 12 03:16:26 2023 -0400 @@ -1,40 +1,40 @@ -#ifndef __statistics_h -#define __statistics_h -class Statistics; - -class StatisticsTimer : public wxTimer { - public: - StatisticsTimer(Statistics* caller); - virtual void Notify(); - - private: - Statistics* statistics; -}; - -class Statistics { - public: - Statistics(page_t* page, wxPanel* frame); - void UpdateStatistics(); - - private: - std::string MinutesToDateString(int minutes); - - wxPanel* panel; - AnimeListPage* anime_list; - wxStaticText* anime_list_data; - - wxStaticText* score_distribution_title; - wxStaticText* score_distribution_labels; - //wxStaticText* score_distribution_graph; // how am I gonna do this - - /* we don't HAVE a local database (yet ;)) */ - //wxStaticText* local_database_title; - //wxStaticText* local_database_labels; - //wxStaticText* local_database_data; - - wxStaticText* application_title; - wxStaticText* application_labels; - wxStaticText* application_data; - StatisticsTimer* timer; -}; +#ifndef __statistics_h +#define __statistics_h +class Statistics; + +class StatisticsTimer : public wxTimer { + public: + StatisticsTimer(Statistics* caller); + virtual void Notify(); + + private: + Statistics* statistics; +}; + +class Statistics { + public: + Statistics(page_t* page, wxPanel* frame); + void UpdateStatistics(); + + private: + std::string MinutesToDateString(int minutes); + + wxPanel* panel; + AnimeListPage* anime_list; + wxStaticText* anime_list_data; + + wxStaticText* score_distribution_title; + wxStaticText* score_distribution_labels; + //wxStaticText* score_distribution_graph; // how am I gonna do this + + /* we don't HAVE a local database (yet ;)) */ + //wxStaticText* local_database_title; + //wxStaticText* local_database_labels; + //wxStaticText* local_database_data; + + wxStaticText* application_title; + wxStaticText* application_labels; + wxStaticText* application_data; + StatisticsTimer* timer; +}; #endif // __statistics_h \ No newline at end of file