home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / cset21v1.zip / IBMCPP / IBMCLASS / IFONTDLG.INL < prev    next >
Text File  |  1993-10-22  |  3KB  |  84 lines

  1. #ifndef _IFONTDLG_INL_
  2. #define _IFONTDLG_INL_ 0
  3. /*******************************************************************************
  4. * FILE NAME: ifontdlg.inl                                                      *
  5. *                                                                              *
  6. * DESCRIPTION:                                                                 *
  7. *   This file contains the definition of the inline functions for the          *
  8. *   class(es) declared in ifontdlg.hpp.                                        *
  9. *                                                                              *
  10. * COPYRIGHT:                                                                   *
  11. *   Licensed Materials - Property of IBM                                       *
  12. *   (C) Copyright IBM Corporation 1992, 1993                                   *
  13. *   All Rights Reserved                                                        *
  14. *   US Government Users Restricted Rights - Use, duplication, or               *
  15. *   disclosure                                                                 *
  16. *   restricted by GSA ADP Schedule Contract with IBM Corp.                     *
  17. *                                                                              *
  18. *******************************************************************************/
  19. #ifndef _IFONTDLG_
  20.   #undef  _IFONTDLG_INL_
  21.   #define _IFONTDLG_INL_ 1
  22.   #include <ifontdlg.hpp>
  23. #endif
  24.  
  25.  
  26. #if _IFONTDLG_INL_
  27.   #define inline
  28. #endif
  29.  
  30.  
  31. inline IFontDialog :: IFontDialog(IWindow*    parent,
  32.                            IWindow*    owner,
  33.                            Style       style )
  34.              : IFrameWindow(IFrameWindow::deferCreation)
  35. {
  36.    Settings tempSettings;
  37.    initialize(parent, owner, style, (IHandler*)0, tempSettings );
  38.  
  39. }
  40.  
  41. inline IFontDialog :: IFontDialog(IWindow*    parent,
  42.                            IWindow*    owner,
  43.                            const Settings& settings,
  44.                            Style       style )
  45.              : IFrameWindow(IFrameWindow::deferCreation)
  46. {
  47.  
  48.    initialize(parent, owner, style, (IHandler*)0, settings );
  49. }
  50.  
  51. inline IFontDialog :: IFontDialog(IWindow*    parent,
  52.                            IWindow*    owner,
  53.                            Style       style,
  54.                            const Settings& settings )
  55.              : IFrameWindow(IFrameWindow::deferCreation)
  56. {
  57.    initialize(parent, owner, style, (IHandler*)0, settings );
  58.  
  59. }
  60.  
  61. inline IFontDialog :: IFontDialog(IWindow*    parent,
  62.                            IWindow*    owner,
  63.                            IHandler*   handler,
  64.                            Style       style,
  65.                            const Settings& settings )
  66.              : IFrameWindow(IFrameWindow::deferCreation)
  67. {
  68.    initialize(parent, owner, style, handler, settings );
  69.  
  70. }
  71.  
  72.  
  73.  
  74. inline void  IFontDialog :: setDefaultStyle(IFontDialog::Style newDefault)
  75. /***************************************************************/
  76. /* Replace the default style for new  objects.                 */
  77. /***************************************************************/
  78. {
  79.   currentDefaultStyle = newDefault;
  80. }
  81.  
  82. #endif // _IFONTDLG_INL_
  83.  
  84.