Browse CVS Repository
Diff of /malonnote/mnFrame.h
Parent Directory
| Revision Log
| Revision Graph
| Patch
| 10 |
#include <wx/wx.h> |
#include <wx/wx.h> |
| 11 |
#include <wx/image.h> |
#include <wx/image.h> |
| 12 |
|
|
| 13 |
|
#include "mnNotePanel.h" |
| 14 |
#include "mnModel.h" |
#include "mnModel.h" |
| 15 |
#include "mnHtmlWindow.h" |
#include "mnHtmlWindow.h" |
| 16 |
#include "mnDialog.h" |
#include "mnDialog.h" |
| 22 |
public: |
public: |
| 23 |
|
|
| 24 |
mnFrame(wxWindow* parent); |
mnFrame(wxWindow* parent); |
| 25 |
|
void addNotePanel(wxString* dirName); |
| 26 |
void addSearchResult(mnModel* wiki, wxString* searchStr, bool isExpand=true); |
mnNotePanel* getNotePanel(); |
|
void updateSearchResult(mnModel* wiki, wxString* searchStr, bool isExpand=true); |
|
|
void makeHtml(WikiData* wikiData, bool highlight); |
|
|
void highlightSelectedItem(); |
|
|
void showSelectedItemText(wxTreeEvent& event); |
|
|
wxTreeItemData* getSelectedItem(); |
|
|
wxString getSelectedLabel(); |
|
|
wxTreeItemId getSelection(); |
|
|
void removeSelectedItem(); |
|
|
bool isEditableTreeLabel(wxTreeItemId id); |
|
|
void expandAllTree(); |
|
|
void collapseAllTree(); |
|
|
void clearAllTree(); |
|
| 27 |
|
|
| 28 |
private: |
private: |
|
bool highlight; |
|
|
wxTreeItemId searchItemRoot; |
|
| 29 |
wxTextCtrl* searchTextCtrl; |
wxTextCtrl* searchTextCtrl; |
| 30 |
wxTreeCtrl* searchTree; |
wxNotebook* noteBook; |
|
mnHtmlWindow* wikiHtmlTextCtrl; |
|
| 31 |
}; |
}; |
| 32 |
|
|
| 33 |
|
|
|
|
Legend:
| Removed from v.1.12 |
|
| changed lines |
| |
Added in v.1.13 |
|
|
|