![]()  | 
  
    Scope
    
   | 
 
#include <ScopeFOVDiagram.h>
Inherits CWindowImpl< CScopeFOVDiagram >, and COwnerDraw< CScopeFOVDiagram >.
Public Member Functions | |
| CScopeFOVDiagram (const uint32_t &_area, const parameters::Scope *_params) | |
| *bool | AttachToDlgItem (HWND hWnd) | 
| void | UpdateDiagram () | 
| void | DrawItem (LPDRAWITEMSTRUCT lpdis) | 
Protected Attributes | |
| const uint32_t | area | 
| const parameters::Scope *const | params | 
| std::vector< boost::signals2::connection > | connections | 
Owner-drawn control that displays the total FOV and the smaller FOV of the areas.
Definition at line 14 of file ScopeFOVDiagram.h.
| scope::gui::CScopeFOVDiagram::CScopeFOVDiagram | ( | const uint32_t & | _area, | 
| const parameters::Scope * | _params | ||
| ) | 
| [in] | _area | for which area's FOV is this (this area's FOV will be drawn white, the others gray) | 
| [in] | _params | pointer to the parameters to use for FOV calculations | 
Definition at line 9 of file ScopeFOVDiagram.cpp.
| bool scope::gui::CScopeFOVDiagram::AttachToDlgItem | ( | HWND | hWnd | ) | 
| void scope::gui::CScopeFOVDiagram::UpdateDiagram | ( | ) | 
Connected to scope parameters, called upon their change.
Definition at line 32 of file ScopeFOVDiagram.cpp.
| void scope::gui::CScopeFOVDiagram::DrawItem | ( | LPDRAWITEMSTRUCT | lpdis | ) | 
Called from COwnerDraw.
Definition at line 37 of file ScopeFOVDiagram.cpp.
      
  | 
  protected | 
the area of this FPU
Definition at line 20 of file ScopeFOVDiagram.h.
      
  | 
  protected | 
Pointer to the scope parameters to use for calculations.
Definition at line 23 of file ScopeFOVDiagram.h.
      
  | 
  protected | 
Stores connections to ScopeValues that are then disconnected on destruction.
Definition at line 26 of file ScopeFOVDiagram.h.