home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / lib / mac / UserInterface / UTearOffPalette.r < prev   
Encoding:
Text File  |  1998-04-08  |  2.2 KB  |  73 lines

  1. /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18.  
  19. /* The standard window resource for palette windows */
  20.  
  21. #define SystemSevenOrLater 1
  22.  
  23. #include <Types.r>
  24.  
  25. #include <PowerPlant.r>
  26.  
  27. #define FLOAT_ID -19844
  28. #define SIDE_FLOAT_ID -19845
  29.  
  30. resource 'WIND' (FLOAT_ID , "", purgeable) {
  31.     {22, 380, 72, 680},
  32.     1989, invisible, goAway,
  33.     0x0,    // refCon
  34.     "Floater",
  35.     noAutoCenter
  36. };
  37.  
  38. resource 'PPob' (FLOAT_ID, "Floater") { {
  39.     ClassAlias { 'DRFW' },
  40.     ObjectData { Window {
  41.         FLOAT_ID, floating,
  42.         hasCloseBox, hasTitleBar, noResize, noSizeBox, noZoom, noShowNew,
  43.         enabled, noTarget, hasGetSelectClick, hasHideOnSuspend, noDelaySelect,
  44.         hasEraseOnUpdate,
  45.         0, 0,                        //    Minimum width, height
  46.         screenSize, screenSize,        //    Maximum width, height
  47.         screenSize, screenSize,        //    Standard width, height
  48.         0                            //    UserCon
  49.     } }
  50. } };
  51.  
  52. resource 'WIND' (SIDE_FLOAT_ID , "", purgeable) {
  53.     {22, 380, 72, 680},
  54.     1997, invisible, goAway,
  55.     0x0,    // refCon
  56.     "Floater",
  57.     noAutoCenter
  58. };
  59.  
  60. resource 'PPob' (SIDE_FLOAT_ID, "Floater") { {
  61.     ClassAlias { 'DRFW' },
  62.     ObjectData { Window {
  63.         SIDE_FLOAT_ID, floating,
  64.         hasCloseBox, hasTitleBar, noResize, noSizeBox, noZoom, noShowNew,
  65.         enabled, noTarget, hasGetSelectClick, hasHideOnSuspend, noDelaySelect,
  66.         hasEraseOnUpdate,
  67.         0, 0,                        //    Minimum width, height
  68.         screenSize, screenSize,        //    Maximum width, height
  69.         screenSize, screenSize,        //    Standard width, height
  70.         0                            //    UserCon
  71.     } }
  72. } };
  73.