Minsky
minsky::PubTabBase Struct Reference

#include <pubTab.h>

Inheritance diagram for minsky::PubTabBase:
Inheritance graph
Collaboration diagram for minsky::PubTabBase:
Collaboration graph

Public Attributes

float offsx =0
 
float offsy =0
 
float m_zoomFactor =1
 
bool panning =false
 
- Public Attributes inherited from minsky::EventInterface
ItemPtr item
 item or wire obtained by get*At() calls More...
 
WirePtr wire
 item or wire obtained by get*At() calls More...
 

Additional Inherited Members

- Public Member Functions inherited from minsky::RenderNativeWindow
const RenderFrameArgsframeArgs () const
 
 ~RenderNativeWindow () override
 
virtual void init ()
 perform any initialisation of any subclasses of this More...
 
void renderFrame (const RenderFrameArgs &args)
 
void destroyFrame ()
 
void draw ()
 
void requestRedraw ()
 
void macOSXRedraw ()
 
RenderNativeWindowoperator= (const RenderNativeWindow &x)
 
 RenderNativeWindow ()=default
 
 RenderNativeWindow (const RenderNativeWindow &)=default
 
virtual bool hasScrollBars () const
 return whether this window has scrollbars (needed for MacOSX). More...
 
- Public Member Functions inherited from minsky::EventInterface
virtual void mouseDown (float x, float y)
 
virtual void controlMouseDown (float x, float y)
 
virtual void mouseUp (float x, float y)
 
virtual void mouseMove (float x, float y)
 
virtual void zoom (double x, double y, double z)
 
virtual void moveTo (float x, float y)
 move this so that (x,y) is centred More...
 
virtual std::vector< float > position () const
 current centre coordinates More...
 
virtual double zoomFactor () const
 
virtual bool keyPress (const KeyPressArgs &)
 handle key press over current itemFocus, More...
 
virtual bool getItemAt (float x, float y)
 item or wire obtained by get*At() calls More...
 
virtual bool getWireAt (float x, float y)
 item or wire obtained by get*At() calls More...
 
- Static Public Member Functions inherited from minsky::RenderNativeWindow
static double scaleFactor ()
 
- Static Public Attributes inherited from minsky::RenderNativeWindow
static ecolab::cairo::Colour backgroundColour {0.8,0.8,0.8,1}
 

Detailed Description

Definition at line 44 of file pubTab.h.

Member Data Documentation

◆ m_zoomFactor

float minsky::PubTabBase::m_zoomFactor =1

Definition at line 47 of file pubTab.h.

◆ offsx

float minsky::PubTabBase::offsx =0

Definition at line 46 of file pubTab.h.

◆ offsy

float minsky::PubTabBase::offsy =0

Definition at line 46 of file pubTab.h.

◆ panning

bool minsky::PubTabBase::panning =false

Definition at line 48 of file pubTab.h.

Referenced by minsky::PubTab::controlMouseDown().


The documentation for this struct was generated from the following file: