Logo Search packages:      
Sourcecode: wcalc version File versions  Download package

MyTextField.h

/* MyTextField */

#include <Cocoa/Cocoa.h>
#include "WcalcController.h"

#include <gmp.h>
#include <mpfr.h>

@interface MyTextField : NSTextField
{
      IBOutlet WcalcController *mainController;
      IBOutlet NSTextField *AnswerField;

      /* "Simple Calculator" Variables */
      char lastchar;
      char oper;
      mpfr_t cur_number;
      mpfr_t prev_number;
}
- (void)keyDown:(NSEvent*) theEvent;
- (void)keyUp:(NSEvent*) theEvent;
- (BOOL) acceptsFirstResponder;
- (BOOL) refusesFirstResponder;
@end

Generated by  Doxygen 1.6.0   Back to index