#include <getContext.h>
Definition at line 31 of file getContext.h.
 
◆ NSContext() [1/3]
      
        
          | minsky::NSContext::NSContext | ( | void * | nativeHandle, | 
        
          |  |  | int | xoffs, | 
        
          |  |  | int | yoffs, | 
        
          |  |  | int | width, | 
        
          |  |  | int | height, | 
        
          |  |  | WindowInformation & | winfo | 
        
          |  | ) |  |  | 
      
 
Definition at line 71 of file getContext.cc.
References minsky::WindowInformation::hasScrollBars, and impl.
   75     NSView* view=
reinterpret_cast<NSView*
>(nativeHandle);
    83         throw runtime_error(
"Different process space not supported on MacOSX");
    86     impl=make_unique<ViewImpl>();
    89     if (winfo.hasScrollBars)
    93     [
impl->cairoView setFrameSize: NSMakeSize(width,height)];
    94     [
impl->cairoView setWinfo: &winfo];
    95     [view addSubview: 
impl->cairoView];
 std::unique_ptr< ViewImpl > impl
 
 
◆ ~NSContext()
  
  | 
        
          | minsky::NSContext::~NSContext | ( |  | ) |  |  | default | 
 
 
◆ NSContext() [2/3]
  
  | 
        
          | minsky::NSContext::NSContext | ( | const NSContext & |  | ) |  |  | delete | 
 
 
◆ NSContext() [3/3]
  
  | 
        
          | minsky::NSContext::NSContext | ( | NSContext && |  | ) |  |  | default | 
 
 
◆ operator=()
  
  | 
        
          | void minsky::NSContext::operator= | ( | const NSContext & |  | ) |  |  | delete | 
 
 
◆ requestRedraw()
      
        
          | void minsky::NSContext::requestRedraw | ( |  | ) |  | 
      
 
Definition at line 100 of file getContext.cc.
References impl.
  102    [
impl->cairoView setNeedsDisplay: 
true];
 std::unique_ptr< ViewImpl > impl
 
 
◆ impl
      
        
          | std::unique_ptr<ViewImpl> minsky::NSContext::impl | 
      
 
 
The documentation for this struct was generated from the following files: