KissCount/view/AccountPanel.h

44 lines
883 B
C
Raw Normal View History

#ifndef ACCOUNTPANEL_H
#define ACCOUNTPANEL_H
#include <wx/wx.h>
#include <wx/grid.h>
#include <wx/treectrl.h>
#include <wx/pie/pieplot.h>
#include <wx/chartpanel.h>
2010-05-16 20:09:18 +02:00
#define OWN_CYAN wxColour(0x99, 0xCC, 0xFF)
#define OWN_YELLOW wxColour(0xFF, 0xFF, 0x99)
#define OWN_GREEN wxColour(0x3D, 0xEB, 0x3D)
#define DEFAULT_FONT _("Liberation Sans")
#define DEFAULT_FONT_SIZE 12
enum {DESCRIPTION, DATE, DEBIT, CREDIT, CATEGORY, ACCOUNT, VIEW, NUMBER_COLS};
#include <controller/KissCount.h>
#include "wxUI.h"
2010-05-16 10:35:34 +02:00
#include <model/model.h>
#include "GridAccount.h"
class wxUI;
class KissCount;
class AccountPanel: public wxPanel
{
public:
AccountPanel(KissCount* kiss, wxUI *parent);
2010-05-16 10:35:34 +02:00
void ChangeUser();
void LoadYear(int year);
void ShowMonth(int year, int month);
private:
KissCount* _kiss;
wxUI* _wxUI;
wxTreeCtrl _tree;
2010-05-16 20:09:18 +02:00
GridAccount* _grid;
PiePlot* _pie;
};
#endif