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 | 0184604aaf21f8279df9ecbee7be4fbf0bbf99c1 (patch) | |
tree | 8a05089b72f6146e36dd22f3fc31b4e41a77fff7 /ui.h | |
parent | 75199de534a590329a3b636d63fade2e4544ce97 (diff) |
transaction filter tabs instead of view->show generated v0.2.5
-- version 0.2.5
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@69 1a98c847-1fd6-4fd8-948a-caf3550aa51b
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;
|