diff options
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-02-21 21:42:01 +0000 |
---|---|---|
committer | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> | 2010-02-21 21:42:01 +0000 |
commit | ee618d7540107aef543a0b252509b3005a15409c (patch) | |
tree | 8a05089b72f6146e36dd22f3fc31b4e41a77fff7 /ui.h | |
parent | 6ff4388ffa56fcf2fb398bd893a79f008af7efdc (diff) |
transaction filter tabs instead of view->show generated
-- version 0.2.5
Diffstat (limited to 'ui.h')
-rw-r--r-- | ui.h | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -8,7 +8,6 @@ DECLARE_EVENT_TYPE(wxEVT_UITHREADCALL, -1) extern map<string, string> mapArgs;
// Settings
-extern int fShowGenerated;
extern int fMinimizeToTray;
extern int fMinimizeOnClose;
@@ -31,6 +30,7 @@ class CMainFrame : public CMainFrameBase {
protected:
// Event handlers
+ void OnNotebookPageChanged(wxNotebookEvent& event);
void OnClose(wxCloseEvent& event);
void OnIconize(wxIconizeEvent& event);
void OnMouseEvents(wxMouseEvent& event);
@@ -39,8 +39,6 @@ protected: void OnPaint(wxPaintEvent& event);
void OnPaintListCtrl(wxPaintEvent& event);
void OnMenuFileExit(wxCommandEvent& event);
- void OnMenuViewShowGenerated(wxCommandEvent& event);
- void OnUpdateUIViewShowGenerated(wxUpdateUIEvent& event);
void OnMenuOptionsGenerate(wxCommandEvent& event);
void OnUpdateUIOptionsGenerate(wxUpdateUIEvent& event);
void OnMenuOptionsChangeYourAddress(wxCommandEvent& event);
@@ -64,6 +62,18 @@ public: ~CMainFrame();
// Custom
+ enum
+ {
+ ALL = 0,
+ SENTRECEIVED = 1,
+ SENT = 2,
+ RECEIVED = 3,
+ };
+ int nPage;
+ wxListCtrl* m_listCtrl;
+ bool fShowGenerated;
+ bool fShowSent;
+ bool fShowReceived;
bool fRefreshListCtrl;
bool fRefreshListCtrlRunning;
bool fOnSetFocusAddress;
|