Develop and Download Open Source Software

Browse CVS Repository

Annotation of /malonnote/mnFrame.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.12 - (hide annotations) (download) (as text)
Thu Sep 29 04:15:30 2005 UTC (18 years, 5 months ago) by maloninc
Branch: MAIN
CVS Tags: rel_1_4, dev_1_4-0003, dev_1_4-0002, dev_1_4-0005, dev_1_4-0006
Changes since 1.11: +7 -31 lines
File MIME type: text/x-chdr
use XRC file for mnFrame

1 maloninc 1.1 // -*- C++ -*- generated by wxGlade 0.3.5.1 on Wed Jun 29 12:57:38 2005
2     #ifndef MNFRAME_H
3     #define MNFRAME_H
4    
5     // begin wxGlade: dependencies
6     #include <wx/splitter.h>
7     #include <wx/treectrl.h>
8     // end wxGlade
9    
10     #include <wx/wx.h>
11     #include <wx/image.h>
12    
13     #include "mnModel.h"
14 maloninc 1.6 #include "mnHtmlWindow.h"
15 maloninc 1.4 #include "mnDialog.h"
16 maloninc 1.1
17 maloninc 1.7 #define LABEL_ITEM_TREE "Search Item"
18 maloninc 1.1 #define APP_ICON_NAME "mnICON_APP_SMALL"
19    
20     class mnFrame: public wxFrame {
21     public:
22    
23 maloninc 1.12 mnFrame(wxWindow* parent);
24    
25 maloninc 1.10 void addSearchResult(mnModel* wiki, wxString* searchStr, bool isExpand=true);
26 maloninc 1.11 void updateSearchResult(mnModel* wiki, wxString* searchStr, bool isExpand=true);
27 maloninc 1.8 void makeHtml(WikiData* wikiData, bool highlight);
28     void highlightSelectedItem();
29 maloninc 1.1 void showSelectedItemText(wxTreeEvent& event);
30     wxTreeItemData* getSelectedItem();
31     wxString getSelectedLabel();
32 maloninc 1.11 wxTreeItemId getSelection();
33 maloninc 1.1 void removeSelectedItem();
34     bool isEditableTreeLabel(wxTreeItemId id);
35 maloninc 1.10 void expandAllTree();
36     void collapseAllTree();
37     void clearAllTree();
38 maloninc 1.1
39     private:
40 maloninc 1.12 bool highlight;
41     wxTreeItemId searchItemRoot;
42     wxTextCtrl* searchTextCtrl;
43     wxTreeCtrl* searchTree;
44     mnHtmlWindow* wikiHtmlTextCtrl;
45 maloninc 1.1 };
46    
47    
48     #endif // MNFRAME_H

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26