Diff for /np2/macosx/Attic/dialogutils.cpp between versions 1.1 and 1.2

version 1.1, 2003/10/24 19:19:58 version 1.2, 2003/10/28 16:44:44
Line 7 Line 7
  */   */
   
 #include        "compiler.h"  #include        "compiler.h"
   #include        "dialogutils.h"
   
 enum {kTabMasterSig = 'ScrT',kTabMasterID = 1000,kTabPaneSig= 'ScTb'};  enum {kTabMasterSig = 'ScrT',kTabMasterID = 1000,kTabPaneSig= 'ScTb'};
   
Line 53  short changeTab(WindowRef window, UInt16 Line 54  short changeTab(WindowRef window, UInt16
           
     return(0);      return(0);
 }  }
   
   pascal OSStatus changeSlider(ControlRef theControl, WindowRef theWindow, short base) {
       ControlRef  conRef;
       ControlID   conID;
       Str255              title;
       SInt32              value;
       
       value = GetControl32BitValue(theControl) - base; 
       NumToString(value, title);
       if (GetControlID(theControl, &conID) == noErr) {
           conRef = getControlRefByID(conID.signature, conID.id+1000, theWindow);
           SetControlData(conRef, kControlNoPart, kControlStaticTextTextTag, *title, title+1);
           Draw1Control(conRef);
       }
       return( eventNotHandledErr );
   }
   

Removed from v.1.1  
changed lines
  Added in v.1.2


RetroPC.NET-CVS <cvs@retropc.net>