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.1 - (hide annotations) (download) (as text)
Thu Jul 28 03:25:06 2005 UTC (18 years, 7 months ago) by maloninc
Branch: MAIN
Branch point for: vendor
File MIME type: text/x-chdr
Initial revision

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    
15     #define LABEL_ITEM_TREE "Item Tree"
16     #define LABEL_NEW_ITEM "[Editing...]"
17     #define APP_ICON_NAME "mnICON_APP_SMALL"
18    
19     class mnFrame: public wxFrame {
20     public:
21     // begin wxGlade: mnFrame::ids
22     // end wxGlade
23    
24     mnFrame(wxWindow* parent, int id, const wxString& title, const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE);
25     void addSearchResult(wxString* searchStr, WikiList* wikiList);
26     void showSearchResult(mnModel* wiki);
27     void showSelectedItemText(wxTreeEvent& event);
28     wxTreeItemData* getSelectedItem();
29     wxString getSelectedLabel();
30     void removeSelectedItem();
31     wxString getPlainText();
32     void showNewItem(WikiData* data);
33     bool isEditableTreeLabel(wxTreeItemId id);
34     bool isNewItem(wxTreeItemId id);
35    
36     private:
37     // begin wxGlade: mnFrame::methods
38     void set_properties();
39     void do_layout();
40     // end wxGlade
41     wxTreeItemId searchItemRoot;
42     wxTreeItemId newItemRoot;
43     wxEvtHandler* controller;
44    
45     protected:
46     // begin wxGlade: mnFrame::attributes
47     wxStaticText* searchLaebl;
48     wxPanel* panel;
49     wxTextCtrl* searchTextCtrl;
50     wxTreeCtrl* searchTree;
51     wxPanel* leftPanel;
52     wxTextCtrl* wikiPlainTextCtrl;
53     wxPanel* rightPanel;
54     wxSplitterWindow* splitWindow;
55    
56     // begin add by hand
57     wxMenuBar* menuBar;
58     // end add by hand
59    
60     // end wxGlade
61     };
62    
63    
64     #endif // MNFRAME_H

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