home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / PowerPlant / AGA Classes 1.2 / Buttons / LAGADefaultOutline.h < prev    next >
Encoding:
Text File  |  1996-06-30  |  2.4 KB  |  67 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //    LAGADefaultOutline.h
  3. // ===========================================================================
  4. //    “Apple Grayscale Appearance” compliant default button outline
  5. //    Copyright © 1996 Chrisoft (Christophe ANDRES)  All rights reserved.
  6. //
  7. //    You may use this source code in any application (commercial, shareware, freeware,
  8. //    postcardware, etc), but not remove this notice (no need to acknowledge the use of
  9. //    this class in the about box)
  10. //    You may not sell this source code in any form. This source code may be placed on 
  11. //    publicly accessable archive sites and source code disks. It may not be placed on 
  12. //    profit archive sites and source code disks without the permission of the author, 
  13. //    Christophe ANDRES.
  14. //    
  15. //        This source code is distributed in the hope that it will be useful,
  16. //        but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. //        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  18. //
  19. //    If you make any change or improvement on this class, please send the improved/changed
  20. //    version to : chrisoft@calva.net or Christophe ANDRES
  21. //                                     20, rue Prosper Mérimée
  22. //                                     67100 STRASBOURG
  23. //                                     FRANCE
  24. //
  25. // ===========================================================================
  26. //    LAGADefaultOutline.cp            <- double-click + Command-D to see class implementation
  27. //
  28. //    LAGADefaultOutline is my implementation of the “Apple Grayscale Appearance for System 7.5”
  29. //        default button outline (used by LAGADialogBox)
  30. //
  31. //        This class requires AGAColors.cp to be present in your project
  32. //
  33. //        Version : 1.2
  34. //
  35. //        Change History (most recent first, date in US form : mm/dd/yy):
  36. //
  37. //                        06/30/96    ca        Public release of version 1.2
  38. //                        06/04/96    ca        Added guard macros in header files
  39. //                                                        Increased version to 1.2
  40. //                        05/11/96    ca        Increased version to 1.1
  41. //                                                        Added change history
  42. //                        04/22/96    ca        class made available by Christophe ANDRES <chrisoft@calva.net>
  43. //                                                        (version 1.0)
  44. //
  45. //        To Do:
  46. //
  47.  
  48. #ifndef _H_LAGADefaultOutline
  49. #define _H_LAGADefaultOutline
  50. #pragma once
  51.  
  52. #include    <LStdControl.h>
  53.  
  54. class    LAGADefaultOutline : public LDefaultOutline
  55. {
  56.     public:
  57.         LAGADefaultOutline (LPane *inHostPane);
  58.         
  59.     protected:
  60.         virtual void DrawSelf ();
  61.     
  62.     private:
  63.         static char mCorners[4][5][5];
  64. };
  65.  
  66. #endif
  67.