home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 (1993) / nebula.bin / SourceCode / MiniExamples / FindIt / InfoPanel.m < prev    next >
Encoding:
Text File  |  1991-10-09  |  672 b   |  41 lines

  1. /* 
  2.  * InfoPanel.m
  3.  *
  4.  * Purpose:
  5.  *        Deals with the info panel.
  6.  *
  7.  * You may freely copy, distribute, and reuse the code in this example.
  8.  * NeXT disclaims any warranty of any kind, expressed or  implied, as to its
  9.  * fitness for any particular use.
  10.  *
  11.  * Written by: Mary McNabb
  12.  * Created: Apr 91
  13.  *
  14.  */
  15.  
  16. #import "InfoPanel.h"
  17. #import <appkit/Window.h>
  18. #import <appkit/Application.h>
  19.  
  20. @implementation InfoPanel
  21.  
  22. /*
  23.  * When initializing read in the nib file.
  24.  */
  25. - init
  26. {
  27.     [NXApp loadNibSection:"InfoPanel.nib" owner:self];
  28.     return self;
  29. }
  30.  
  31. /*
  32.  * Put the info panel in the front.
  33.  */
  34. - orderInfoPanelFront:sender
  35. {
  36.     [infoPanel orderFront:sender];
  37.     return self;
  38. }
  39.  
  40. @end
  41.