Rev 18 | Rev 45 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 18 | Rev 23 | ||
---|---|---|---|
Line 73... | Line 73... | ||
73 | return i == ok; |
73 | return i == ok; |
74 | } |
74 | } |
75 | 75 | ||
76 | pascal void preview_item(DialogRef dp,DialogItemIndex item){ |
76 | pascal void preview_item(DialogRef dp,DialogItemIndex item){ |
77 | GrafPtr port; |
77 | GrafPtr port; |
78 | extern int recalcpreview; |
- | |
79 | 78 | ||
80 | ENTERCALLBACK(); |
79 | ENTERCALLBACK(); |
81 | 80 | ||
82 | GetPort(&port); |
81 | GetPort(&port); |
83 | SetPortDialogPort(dp); |
82 | SetPortDialogPort(dp); |
Line 103... | Line 102... | ||
103 | must pass a ControlActionUPP in when tracking the indicator as well. This functionality |
102 | must pass a ControlActionUPP in when tracking the indicator as well. This functionality |
104 | is available in Appearance 1.0 or later. |
103 | is available in Appearance 1.0 or later. |
105 | */ |
104 | */ |
106 | 105 | ||
107 | pascal void slideraction(ControlRef theControl,short partCode){ |
106 | pascal void slideraction(ControlRef theControl,short partCode){ |
108 | int old,delta; // [] = {-10,10,-143,143}; |
107 | int old,delta = 0; |
109 | 108 | ||
110 | ENTERCALLBACK(); |
109 | ENTERCALLBACK(); |
111 | 110 | ||
112 | if(partCode){ |
111 | if(partCode){ |
113 | if(partCode != kControlIndicatorPart){ |
112 | if(partCode != kControlIndicatorPart){ |