Archived
1
This repository has been archived on 2022-08-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
mathpad/MathPad/MPExpressionView.h
Kim Wittenburg 19a40c2907 Added Function Chooser as a Popover
Improved Evaluation
Added Parenthesis Function
2014-09-28 23:52:29 +02:00

40 lines
890 B
Objective-C

//
// MPExpressionView.h
// MathPad
//
// Created by Kim Wittenburg on 17.04.14.
// Copyright (c) 2014 Kim Wittenburg. All rights reserved.
//
// TODO: Undo/Redo + Delegate
#import <Cocoa/Cocoa.h>
#import "MPParseError.h"
@class MPExpressionView, MPExpressionStorage, MPExpressionLayout, MPRangePath;
@interface MPExpressionView : NSView
#pragma mark Creation Methods
- (id)initWithFrame:(NSRect)frameRect;
#pragma mark Properties
@property (readonly, nonatomic, strong) MPExpressionStorage *expressionStorage;
// @property (nonatomic, getter = isEditable) BOOL editable;
@property (nonatomic) BOOL allowsIntelligentReplacements;
@property (nonatomic, strong) MPRangePath *selection;
@property (nonatomic, strong) MPParseError *error;
@property (nonatomic, weak) id target;
@property (nonatomic) SEL action;
#pragma mark Actions
- (IBAction)showFunctions:(id)sender;
@end