source: releases/Pester/1.1a1/Source/English.lproj/MainMenu.nib/classes.nib@ 332

Last change on this file since 332 was 41, checked in by Nicholas Riley, 22 years ago

Popup triangle.tiff: Needed display component of NJRFSObjectSelector.
This one appears to use transparency unlike the one I prepared for
Process Exhibits, so it should be preferred.

NSMovie-NJRExtensions: Added -isStatic to identify whether the movie
contains dynamic components. If the movie is static, it most likely
contains only an image and shouldn't be 'played' as such, otherwise
the duration will be so short that the image won't be useful.

NJRFSObjectSelector: Fixed -drawRect: to draw the drag feedback
rectangle inside the bounds of the control, not inside whatever dirty
rectangle is passed to the method (often they are the same, but not
always). Only draw the popup arrow if the control is enabled.
Properly draw the popup arrow with transparency. Display the 'make
alias' cursor as additional drag feedback.

PSMovieAlertController: Only repeat movie and auto-close after movie
finished if it contains time-based media, otherwise just display the
movie (an image) until the window is closed or alarms are cancelled.

NSImage-NJRExtensions: Include code to actually scale icons from
F-Script Anywhere, otherwise the menu ends up with 32x32 (or
potentially larger) icons if smaller variations are not provided.
There's some more code in FSA that chooses which representation to
select; this code may still not be properly handling representations,
but it works better now. A good test case is the icon for Tex-Edit
Plus documents.

NJRQTMediaPopUpButton: Added notification for movie change (needed to
update interface). Changed -_validatePreview to
-_validateWithPreview: - preview is now optional. This will be needed
when I add archiving support for the selected item; we'll need to
validate it before updating the interface, but we don't want sounds to
play. Added some #pragma mark lines to separate methods by
functionality. Call -validateWithPreview: NO in awakeFromNib (again,
this logic will become more sophisticated later). Commented some
debugging logic since I'm pretty happy with the code. Added
-canRepeat accessor and setters, notification support in the
validation method. Added drag feedback.

PSAlarmSetController: Notification support, -setSoundRepetitionCount:
to avoid flashing with repetition text field control as NSStepper is
adjusted

English.lproj/MainMenu.nib: Switched action method for the NSStepper
stuff discussed above.

AM /Users/nicholas/Documents/Development/Cocoa/Pester/Source/Popup triangle.tiff
M /Users/nicholas/Documents/Development/Cocoa/Pester/Source/NSMovie-NJRExtensions.m
M /Users/nicholas/Documents/Development/Cocoa/Pester/Source/NJRFSObjectSelector.m
M /Users/nicholas/Documents/Development/Cocoa/Pester/Source/PSMovieAlertController.m
M /Users/nicholas/Documents/Development/Cocoa/Pester/Source/NSImage-NJRExtensions.m
M /Users/nicholas/Documents/Development/Cocoa/Pester/Source/NJRQTMediaPopUpButton.h
M /Users/nicholas/Documents/Development/Cocoa/Pester/Source/NJRQTMediaPopUpButton.m
M /Users/nicholas/Documents/Development/Cocoa/Pester/Source/.DS_Store
M /Users/nicholas/Documents/Development/Cocoa/Pester/Source/English.lproj/MainMenu.nib/objects.nib
M /Users/nicholas/Documents/Development/Cocoa/Pester/Source/English.lproj/MainMenu.nib/info.nib
M /Users/nicholas/Documents/Development/Cocoa/Pester/Source/English.lproj/MainMenu.nib/classes.nib
M /Users/nicholas/Documents/Development/Cocoa/Pester/Source/Pester.pbproj/nicholas.pbxuser
M /Users/nicholas/Documents/Development/Cocoa/Pester/Source/Pester.pbproj/project.pbxproj
M /Users/nicholas/Documents/Development/Cocoa/Pester/Source/PSAlarmSetController.h
M /Users/nicholas/Documents/Development/Cocoa/Pester/Source/PSAlarmSetController.m
M /Users/nicholas/Documents/Development/Cocoa/Pester/Source/NSMovie-NJRExtensions.h

File size: 3.1 KB
Line 
1{
2 IBClasses = (
3 {CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
4 {CLASS = NJRDateFormatter; LANGUAGE = ObjC; SUPERCLASS = NSDateFormatter; },
5 {
6 ACTIONS = {select = id; };
7 CLASS = NJRFSObjectSelector;
8 LANGUAGE = ObjC;
9 SUPERCLASS = NSButton;
10 },
11 {
12 ACTIONS = {clearAllEntries = id; removeEntry = id; };
13 CLASS = NJRHistoryTrackingComboBox;
14 LANGUAGE = ObjC;
15 SUPERCLASS = NSComboBox;
16 },
17 {CLASS = NJRIntegerFilter; LANGUAGE = ObjC; SUPERCLASS = NSNumberFormatter; },
18 {
19 ACTIONS = {stopSoundPreview = id; };
20 CLASS = NJRQTMediaPopUpButton;
21 LANGUAGE = ObjC;
22 OUTLETS = {preview = NSMovieView; };
23 SUPERCLASS = NSPopUpButton;
24 },
25 {
26 ACTIONS = {stopVoicePreview = id; };
27 CLASS = NJRVoicePopUpButton;
28 LANGUAGE = ObjC;
29 SUPERCLASS = NSPopUpButton;
30 },
31 {CLASS = NSObject; LANGUAGE = ObjC; },
32 {
33 ACTIONS = {
34 dateCompleted = id;
35 doScriptChanged = id;
36 doSpeakChanged = id;
37 inAtChanged = id;
38 playSoundChanged = id;
39 setAlarm = id;
40 setSoundRepetitionCount = id;
41 silence = id;
42 update = id;
43 };
44 CLASS = PSAlarmSetController;
45 LANGUAGE = ObjC;
46 OUTLETS = {
47 bounceDockIcon = NSButton;
48 displayMessage = NSButtonCell;
49 doScript = NSButtonCell;
50 doSpeak = NSButtonCell;
51 inAtMatrix = NSMatrix;
52 messageField = NSTextField;
53 playSound = NSButtonCell;
54 script = NJRFSObjectSelector;
55 scriptSelectButton = NSButton;
56 setButton = NSButton;
57 sound = NJRQTMediaPopUpButton;
58 soundRepetitionStepper = NSStepper;
59 soundRepetitions = NSTextField;
60 soundRepetitionsLabel = NSTextField;
61 timeDate = NSTextField;
62 timeDateCompletions = NSPopUpButton;
63 timeInterval = NSTextField;
64 timeIntervalRepeats = NSButton;
65 timeIntervalUnits = NSPopUpButton;
66 timeOfDay = NSTextField;
67 timeSummary = NSTextField;
68 voice = NJRVoicePopUpButton;
69 };
70 SUPERCLASS = NSWindowController;
71 },
72 {
73 CLASS = PSAlarmsController;
74 LANGUAGE = ObjC;
75 OUTLETS = {tableView = NSTableView; };
76 SUPERCLASS = NSWindowController;
77 },
78 {
79 ACTIONS = {orderFrontAlarmsPanel = id; orderFrontSetAlarmPanel = id; stopAlerts = id; };
80 CLASS = PSApplication;
81 LANGUAGE = ObjC;
82 OUTLETS = {alarmSetController = PSAlarmSetController; };
83 SUPERCLASS = NSApplication;
84 }
85 );
86 IBVersion = 1;
87}
Note: See TracBrowser for help on using the repository browser.