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 82259f87e2 Model Redesign: Added Reference Frames
Added Inverse Functions
UI Redesign
Cleaned Code
2014-10-07 20:25:54 +02:00

38 lines
815 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, strong) MPRangePath *selection;
@property (nonatomic, strong) MPParseError *error;
@property (nonatomic, weak) id target;
@property (nonatomic) SEL action;
#pragma mark Actions
- (IBAction)switchRadiansDegrees:(id)sender;
- (IBAction)showFunctions:(id)sender;
@end