Vuo  1.2.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros | Functions | Variables
VuoInputEditorFont.mm File Reference

Description

VuoInputEditorFont implementation.

Classes

class  VuoInputEditorFontTextEdit
 A text edit widget that receives the changes from the font panel. More...
 
class  VuoInputEditorFontPanelDelegate
 Intercepts events from NSFontPanel and passes them to the parent QDialog. More...
 
class  VuoInputEditorFontAccessoryDelegate
 Receives events changing the font's alignment and spacing. More...
 

Functions

static VuoFont getCurrentVuoFont (void)
 Returns the currently-selected font.
 
static NSDictionary * getCurrentAttributes (void)
 Returns the currently-selected attributes.
 

Variables

static VuoInputEditorFontcurrentEditor
 The current font editor.
 
static NSString * currentFontName
 The current font name (PostScript format).
 
static double currentPointSize
 The current font size (in typographic points).
 
static bool currentUnderline
 Does the current font have an underline?
 
static NSColor * currentColor
 The current font's color.
 
static VuoHorizontalAlignment currentAlignment
 The current font's horizontal alignment.
 
static double currentCharacterSpacing
 The current font's character spacing.
 
static double currentLineSpacing
 The current font's line spacing.
 

Function Documentation

static NSDictionary* getCurrentAttributes ( void  )
static

Returns the currently-selected attributes.

static VuoFont getCurrentVuoFont ( void  )
static

Returns the currently-selected font.

Variable Documentation

VuoHorizontalAlignment currentAlignment
static

The current font's horizontal alignment.

double currentCharacterSpacing
static

The current font's character spacing.

NSColor* currentColor
static

The current font's color.

VuoInputEditorFont* currentEditor
static

The current font editor.

Todo:
make these non-global — how can we pass them through to changeFont and changeAttributes?
NSString* currentFontName
static

The current font name (PostScript format).

double currentLineSpacing
static

The current font's line spacing.

double currentPointSize
static

The current font size (in typographic points).

bool currentUnderline
static

Does the current font have an underline?