|
rtop
|
2nd level UI object. Responsible for switching between panels and resolving key input More...
#include <view2.h>
Public Member Functions | |
| View (int) | |
| View Constructor. More... | |
| int | uUid () const |
| void | resolveKey (int) |
| resolves the key input at View level More... | |
| void | refresh () |
| refreshes view More... | |
| void | show () |
| sets view to visible More... | |
| void | hide () |
| sets view to hidden More... | |
Private Attributes | |
| int | uuid |
| WINDOW * | win |
| pointer to window associated with the view, contained panels' windows are derived from it More... | |
| SimplePanelData * | curr_panel |
| pointer to current panel's (Browse/Edit Panel) data structure More... | |
| std::vector< SimplePanelData * > | panels |
| vector of pointers to panel data structures corresponding to panels contained in the view More... | |
| std::vector< std::pair< int, int > > | panels_yx |
| vector of contained panels' window positions within view window More... | |
| StateMachine | smKeys |
| Keys statemachine. More... | |
| StateMachine | smPanels |
| Panel statemachine. More... | |
| bool | hidden |
| indicates if view is hidden/visible More... | |
| int | editing_color_pair = 0 |
| index of color_pair used for selected menu item in edit mode More... | |
| int | selection_color_pair = 0 |
| index of color_pair used for selected menu item in non-edit mode More... | |
| int | basic_color_pair = 0 |
| index of color_pair used for non-selected menu items More... | |
| int | header_color_pair = 0 |
| index of color_pair used for panel header More... | |
| std::map< SimplePanelData *, std::pair< SimplePanelData *, SimplePanelData * > > | neighbourhood |
| dictionary storing pair of pointers to panel data structures corresponding to left/right neighbour panels of each panel in the view More... | |
| std::mutex | view_mutex |
| mutex for accessing View::refresh More... | |
Friends | |
| class | XMLTree |
2nd level UI object. Responsible for switching between panels and resolving key input
Tasks
| void rtop::View::refresh | ( | ) |
| void rtop::View::resolveKey | ( | int | ch | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
mutex for accessing View::refresh
|
private |
1.8.15