#include <fontDisplay.h>
|  | 
| void | requestRedraw () | 
|  | 
|  | FontDisplay ()=default | 
|  | 
|  | FontDisplay (const FontDisplay &)=default | 
|  | 
| FontDisplay & | operator= (const FontDisplay &) | 
|  | 
| const RenderFrameArgs & | frameArgs () 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 () | 
|  | 
| RenderNativeWindow & | operator= (const RenderNativeWindow &x) | 
|  | 
|  | RenderNativeWindow ()=default | 
|  | 
|  | RenderNativeWindow (const RenderNativeWindow &)=default | 
|  | 
| virtual bool | hasScrollBars () const | 
|  | return whether this window has scrollbars (needed for MacOSX).  More... 
 | 
|  | 
| 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... 
 | 
|  | 
Definition at line 29 of file fontDisplay.h.
 
◆ FontDisplay() [1/2]
  
  | 
        
          | minsky::FontDisplay::FontDisplay | ( |  | ) |  |  | default | 
 
 
◆ FontDisplay() [2/2]
  
  | 
        
          | minsky::FontDisplay::FontDisplay | ( | const FontDisplay & |  | ) |  |  | default | 
 
 
◆ CLASSDESC_ACCESS()
◆ operator=()
◆ redraw()
  
  | 
        
          | bool minsky::FontDisplay::redraw | ( | int | , |  
          |  |  | int | , |  
          |  |  | int | width, |  
          |  |  | int | height |  
          |  | ) |  |  |  | inlineoverrideprivate | 
 
Definition at line 31 of file fontDisplay.h.
   32       cairo_move_to(surface->cairo(),0,0);
    33       ecolab::Pango pango(surface->cairo());
    34       pango.setFontSize(10);
    35       pango.setText(
"←→↑↓—▼αΣ∫√⊗≤");
  
 
◆ requestRedraw()
  
  | 
        
          | void minsky::FontDisplay::requestRedraw | ( |  | ) |  |  | inline | 
 
Definition at line 41 of file fontDisplay.h.
   41 {
if (surface.get()) surface->requestRedraw();}
  
 
The documentation for this class was generated from the following file: