#include <CampaignTreeView.h>
Public Methods | |
| void | drop_mission (int m, CPoint point) |
| int | add_link (int from, int to) |
| void | remove_mission (int m) |
| void | delete_link (int num) |
| int | get_root_mission () |
| void | horizontally_align_mission (int num, int dir) |
| void | correct_position (int num) |
| void | free_links () |
| void | sort_elements () |
| int | query_alternate_pos (const CPoint &p) |
| int | query_pos (const CPoint &p) |
| int | query_level (const CPoint &p) |
| void | sort_links () |
| void | realign_tree () |
| void | construct_tree () |
| void | initialize () |
| virtual void | OnInitialUpdate () |
Public Attributes | |
| int | total_levels |
| int | total_width |
| campaign_tree_link * | first_link |
Protected Methods | |
| campaign_tree_view () | |
| virtual void | OnDraw (CDC *pDC) |
| virtual | ~campaign_tree_view () |
| afx_msg void | OnLButtonDown (UINT nFlags, CPoint point) |
| afx_msg void | OnMouseMove (UINT nFlags, CPoint point) |
| afx_msg void | OnLButtonUp (UINT nFlags, CPoint point) |
| afx_msg int | OnCreate (LPCREATESTRUCT lpCreateStruct) |
| afx_msg void | OnContextMenu (CWnd *pWnd, CPoint point) |
| afx_msg void | OnRemoveMission () |
| afx_msg void | OnDeleteRow () |
| afx_msg void | OnInsertRow () |
| afx_msg void | OnAddRepeat () |
| afx_msg void | OnEndOfCampaign () |
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.16