First version of statistics (very ugly code)
This commit is contained in:
@@ -27,13 +27,16 @@ along with KissCount. If not, see <http://www.gnu.org/licenses/>.
|
||||
#include "UsersDialog.h"
|
||||
#include "GenerateDialog.h"
|
||||
#include "SearchPanel.h"
|
||||
#include "StatsPanel.h"
|
||||
#include <controller/KissCount.h>
|
||||
|
||||
class KissCount;
|
||||
class AccountPanel;
|
||||
class PreferencesPanel;
|
||||
class StatsPanel;
|
||||
|
||||
extern wxString months[12];
|
||||
extern wxColour categoryColors[12];
|
||||
|
||||
class wxUI: public wxFrame
|
||||
{
|
||||
@@ -48,6 +51,7 @@ class wxUI: public wxFrame
|
||||
void LoadUser();
|
||||
|
||||
void ShowAccount();
|
||||
void ShowStats();
|
||||
void ShowSearch();
|
||||
void ShowPreferences();
|
||||
void GenerateMonth(int month, int year);
|
||||
@@ -63,6 +67,7 @@ class wxUI: public wxFrame
|
||||
KissCount *_kiss;
|
||||
wxBoxSizer *_hbox;
|
||||
AccountPanel *_accountPanel;
|
||||
StatsPanel *_statsPanel;
|
||||
SearchPanel *_searchPanel;
|
||||
PreferencesPanel *_preferencesPanel;
|
||||
wxPanel *_curPanel;
|
||||
|
Reference in New Issue
Block a user