VuoInputEditorFont implementation.
- Copyright
- Copyright © 2012–2014 Kosada Incorporated. This code may be modified and distributed under the terms of the MIT License. For more information, see http://vuo.org/license.
|
static unsigned long | validateFontPanelModes (id self, SEL _cmd, NSFontPanel *fontPanel) |
| Returns a value indicating which font panel widgets should be displayed.
|
|
static VuoFont | getCurrentVuoFont (void) |
| Returns the currently-selected font.
|
|
static NSDictionary * | getCurrentAttributes (void) |
| Returns the currently-selected attributes.
|
|
static void | userChangedFont (id self, SEL _cmd, NSFontManager *fm) |
| Updates the composition's constant value when the user changes the selected font.
|
|
static void | userChangedAttributes (id self, SEL _cmd, NSFontManager *fm) |
| Updates the composition's constant value when the user changes the selected attributes.
|
|
static NSDictionary* getCurrentAttributes |
( |
void |
| ) |
|
|
static |
Returns the currently-selected attributes.
static VuoFont getCurrentVuoFont |
( |
void |
| ) |
|
|
static |
Returns the currently-selected font.
static void userChangedAttributes |
( |
id |
self, |
|
|
SEL |
_cmd, |
|
|
NSFontManager * |
fm |
|
) |
| |
|
static |
Updates the composition's constant value when the user changes the selected attributes.
static void userChangedFont |
( |
id |
self, |
|
|
SEL |
_cmd, |
|
|
NSFontManager * |
fm |
|
) |
| |
|
static |
Updates the composition's constant value when the user changes the selected font.
static unsigned long validateFontPanelModes |
( |
id |
self, |
|
|
SEL |
_cmd, |
|
|
NSFontPanel * |
fontPanel |
|
) |
| |
|
static |
Returns a value indicating which font panel widgets should be displayed.
The current font's horizontal alignment.
double currentCharacterSpacing |
|
static |
The current font's character spacing.
The current font's color.
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.
The current font size (in typographic points).
Does the current font have an underline?