home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wpentk.zip / WBPENTK2.DSK / WPDISPLY.SC < prev    next >
Text File  |  1994-10-07  |  3KB  |  137 lines

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