CubicSDR/src/forms/Bookmark/BookmarkView.h

37 lines
1.2 KiB
C
Raw Normal View History

#pragma once
#include "BookmarkPanel.h"
2016-09-14 19:46:57 -04:00
#include "BookmarkMgr.h"
class BookmarkView : public BookmarkPanel {
public:
BookmarkView( wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( -1, -1 ), long style = wxTAB_TRAVERSAL );
void updateActiveList();
2016-09-28 20:37:39 -04:00
void activeSelection(DemodulatorInstance *dsel);
protected:
2016-09-28 20:37:39 -04:00
void hideProps();
2016-09-14 22:49:32 -04:00
void onUpdateTimer( wxTimerEvent& event );
void doUpdateActiveList();
void onTreeBeginLabelEdit( wxTreeEvent& event );
void onTreeEndLabelEdit( wxTreeEvent& event );
void onTreeActivate( wxTreeEvent& event );
void onTreeCollapse( wxTreeEvent& event );
void onTreeExpanded( wxTreeEvent& event );
void onTreeSelect( wxTreeEvent& event );
void onTreeSelectChanging( wxTreeEvent& event );
void onLabelText( wxCommandEvent& event );
void onBookmark( wxCommandEvent& event );
void onActivate( wxCommandEvent& event );
void onRemove( wxCommandEvent& event );
2016-09-14 19:46:57 -04:00
bool doUpdateActive;
wxTreeItemId activeBranch;
std::map<wxTreeItemId, DemodulatorInstance *> activeItems;
2016-09-28 20:37:39 -04:00
DemodulatorInstance *activeSel;
};