home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pentlk11.zip / WPDISPLY.SC < prev    next >
Text File  |  1994-01-13  |  3KB  |  136 lines

  1.  
  2. # This file was generated by the SOM Compiler.
  3. # FileName: wpdisply.sc.
  4. # Generated using:
  5. #     SOM Precompiler spc: 1.22
  6. #     SOM Emitter emitcsc: 1.10
  7.  
  8. /*
  9.  *  SCC: @(#) 37 2/26/93 15:56:43 1.7 @(#)
  10.  *  Module Header
  11.  * 
  12.  *  Module Name: WPDISPLY
  13.  * 
  14.  *  OS/2 Presentation Manager Workplace class definitions
  15.  * 
  16.  *  Copyright (c) International Business Machines Corporation 1992
  17.  * 
  18.  */
  19.  
  20. #include "penbtndv.sc"
  21.  
  22. class: PenDisplay, 
  23.     external stem = Pendsp, local, external prefix = dsp_, 
  24.     classprefix = dspM_, major version = 1, minor version = 1, 
  25.     file stem = wpdisply;
  26.  
  27.     -- 
  28.     --  CLASS: PenDisplay
  29.     -- 
  30.     --  CLASS HIERARCHY:
  31.     --     SOMObject
  32.     --       └── WPObject
  33.     --             └── WPAbstract
  34.     --                   └── PenDisplay
  35.     -- 
  36.     --  DESCRIPTION:
  37.     --     This is the LCD display for pen object class.
  38.     -- 
  39.     --     An instance of this class can be created as a Workplace object.
  40.     -- 
  41.  
  42.  
  43. parent class: PenButtonDevice;
  44.  
  45.  
  46. release order:
  47.     penAddDisplayBacklightPage;
  48.  
  49.  
  50. passthru: C.h;
  51.  
  52. endpassthru;
  53. methods:
  54.  
  55.  
  56.     ULONG    penAddDisplayBacklightPage(HWND hwndNotebook);
  57.  
  58.     -- 
  59.     --  METHOD: penAddDisplayBacklightPage                     ( ) PRIVATE
  60.     --                                                         (X) PUBLIC
  61.     --  PURPOSE:
  62.     --    Add the backlight configuration page to the display settings
  63.     -- 
  64.  
  65.     override wpOpen;
  66.  
  67.     -- 
  68.     --  METHOD: wpOpen                                         ( ) PRIVATE
  69.     --                                                         (X) PUBLIC
  70.     --  PURPOSE:
  71.     --    Do not open the object if there is no device support
  72.     -- 
  73.  
  74.     override wpAddSettingsPages;
  75.  
  76.     -- 
  77.     --  METHOD: wpAddSettingsPages                             ( ) PRIVATE
  78.     --                                                         (X) PUBLIC
  79.     --  PURPOSE:
  80.     --    Add our own settings page to let the user change the backlight
  81.     --    timeout.
  82.     -- 
  83.  
  84.     override wpAddObjectWindowPage;
  85.  
  86.     -- 
  87.     --  REMARKS:
  88.     --    This object doesn't get a window page because it doesn't
  89.     --    have any open views other than settings
  90.     -- 
  91.  
  92.     override wpFilterPopupMenu;
  93.  
  94.     -- 
  95.     --  REMARKS:
  96.     --    Filter out any options from the context that don't apply.
  97.     -- 
  98.     -- 
  99.  
  100.     override wpclsQueryTitle, class;
  101.  
  102.     -- 
  103.     --  REMARKS:
  104.     --    Returns the LCD Display Title.
  105.     -- 
  106.  
  107.     override wpclsQueryDefaultHelp, class;
  108.  
  109.     -- 
  110.     --  REMARKS:
  111.     --    Process input from the extra menu option that we added.
  112.     -- 
  113.  
  114.     override wpclsQueryDefaultView, class;
  115.  
  116.     -- 
  117.     --  REMARKS:
  118.     --    Returns the default view for a new instance of this object.
  119.     -- 
  120.  
  121.     override wpclsQueryStyle, class;
  122.  
  123.     -- 
  124.     --  REMARKS:
  125.     --   give styles to prevent deletion, copying and templates
  126.     -- 
  127.     -- 
  128.  
  129.     override wpclsQueryIconData, class;
  130.  
  131.     -- 
  132.     --  REMARKS:
  133.     --    Return the class icon
  134.     -- 
  135.  
  136.