File:  [NeXTSTEP 3.3 examples] / Examples / AppKit / VideoApp / MyApp.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:29 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3

#import <appkit/Application.h>

@interface MyApp:Application
{
  id videoView;
  id inputBox;		// Inspector for Input
  id outputBox;		// Inspector for Output
  id window;		// Inspector window
  id bufWindow;		// Buffered Video Window
  id nretWindow;		// NonRetained Window
  id ioPopup;		// Popup menu for I/O
  id retainedButton;	// Switch for buffered/nonretained window
  BOOL buffed;		// Boolean for whether the window is buffered 
  int mode;		// NX_FROMINPUT or NX_FROMVIEW
}

- appDidInit:sender;
- setMode:sender;
- setInput:sender;

- setBrightness:sender;
- setGamma:sender;
- setOutGamma:sender;
- setHue:sender;
- setSaturation:sender;
- setSharpness:sender;

- swapWindows:sender;
- openImage:sender;
@end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.