home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: SysTools / SysTools.zip / sysba021.zip / SRC.ZIP / sysbar2 / CD_Player / sb2_cd.dlg < prev    next >
Text File  |  2003-01-03  |  6KB  |  126 lines

  1. /*
  2.  
  3.   SysBar/2 Utility Set  version 0.21
  4.  
  5.   CD Player dialogs
  6.  
  7.   ..................................................................
  8.  
  9.   Copyright (c) 1995-1999  Dmitry I. Platonoff <dip@platonoff.com>
  10.   Copyright (c) 2002,03    Max Alekseyev       <relf@os2.ru>
  11.  
  12.                            All rights reserved
  13.  
  14.   ..................................................................
  15.  
  16.   LICENSE
  17.   ~~~~~~~
  18.   Redistribution and use in source and binary forms, with or without
  19.   modification, are permitted provided that the following conditions
  20.   are met:
  21.  
  22.   1. Redistributions of source code must retain the above copyright
  23.      notice, this list of conditions and the following disclaimer.
  24.  
  25.   2. Redistributions in binary form must reproduce the above
  26.      copyright notice, this list of conditions and the following
  27.      disclaimer in the documentation and/or other materials provided
  28.      with the distribution.
  29.  
  30.   3. Redistributions of any form whatsoever, as well as all
  31.      advertising materials mentioning features or use of this
  32.      software (if any), must include the following acknowledgment:
  33.      "This product includes software developed by Dmitry I. Platonoff".
  34.  
  35.   4. The names "SysBar/2" and "Dmitry I. Platonoff" must not be
  36.      used to endorse or promote products derived from this software
  37.      without prior written permission. For such permission, please
  38.      contact dplatonoff@canada.com.
  39.  
  40.   5. Products derived from this software may not be called
  41.      "SysBar/2" nor may "Dmitry I. Platonoff" appear in their
  42.      contributor lists without prior written permission.
  43.  
  44.   ..................................................................
  45.  
  46.   DISCLAIMER
  47.   ~~~~~~~~~~
  48.   THIS SOFTWARE IS PROVIDED BY THE AUTHOR OR CONTRIBUTORS "AS IS"
  49.   AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  50.   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  51.   FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  52.   AUTHOR OR THE CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  53.   INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  54.   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  55.   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  56.   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  57.   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  58.   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
  59.   ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  60.  
  61. */
  62.  
  63. #ifndef OS2_INCLUDED
  64.    #include <os2.h>
  65. #endif
  66. DLGINCLUDE 1 "sb2_cd_res.h"
  67.  
  68. DLGTEMPLATE DLG_ABOUT LOADONCALL MOVEABLE DISCARDABLE
  69. BEGIN
  70.     DIALOG  "About SysBar/2 CD Player", DLG_ABOUT, 0, 0, 180, 85, NOT 
  71.             FS_DLGBORDER
  72.             PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
  73.     BEGIN
  74.         GROUPBOX        "", D_Version, 4, 29, 132, 50
  75.         LTEXT           "SysBar/2 CD Player", 401, 10, 58, 120, 10, 
  76.                         DT_VCENTER | DT_WORDBREAK
  77.         LTEXT           "", D_Copyright, 10, 47, 120, 10, DT_VCENTER | 
  78.                         DT_WORDBREAK
  79.         RTEXT           "", D_Email, 10, 31, 120, 16, DT_WORDBREAK
  80.         ICON            ICO_MAIN, ICO_MAIN, 146, 60, 21, 16, WS_GROUP
  81.         ICON            ICO_REDALLIGATOR, ICO_REDALLIGATOR, 7, 5, 21, 16, 
  82.                         WS_GROUP
  83.         LTEXT           "Special thanks to Andrew Ter±shechkin\012AKA ""Red Alligator""  (ra@promex.ru)", 411, 34, 4, 132, 16, DT_WORDBREAK
  84.     END
  85. END
  86.  
  87. DLGTEMPLATE DLG_SETTINGS LOADONCALL MOVEABLE DISCARDABLE
  88. BEGIN
  89.     DIALOG  "SysBar/2 CD player settings", DLG_SETTINGS, 0, 0, 168, 102, NOT 
  90.             FS_DLGBORDER
  91.             PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
  92.     BEGIN
  93.         GROUPBOX        "Display on top", D_Display, 4, 52, 57, 49
  94.         AUTORADIOBUTTON "~No", D_Display_None, 11, 82, 45, 10, WS_GROUP
  95.         AUTORADIOBUTTON "~Always", D_Display_OnTop, 11, 73, 45, 10
  96.         AUTORADIOBUTTON "Pop-~up", D_Display_Popup, 11, 64, 45, 10
  97.         AUTORADIOBUTTON "Pop/~hide", D_Display_Popup2, 11, 55, 45, 10
  98.         GROUPBOX        "Bind to corner", D_Bind_Corner, 64, 71, 57, 30
  99.         AUTORADIOBUTTON "Of~f", D_Bind_Off, 83, 79, 22, 10, WS_GROUP
  100.         AUTORADIOBUTTON "", D_Bind_NW, 69, 84, 10, 10
  101.         AUTORADIOBUTTON "", D_Bind_NE, 107, 84, 10, 10
  102.         AUTORADIOBUTTON "", D_Bind_SW, 69, 72, 10, 10
  103.         AUTORADIOBUTTON "", D_Bind_SE, 107, 72, 10, 10
  104.         GROUPBOX        "Size", D_Size, 124, 71, 42, 30
  105.         AUTORADIOBUTTON "~Small", D_Size_Small, 130, 83, 32, 10, WS_GROUP
  106.         AUTORADIOBUTTON "~Large", D_Size_Large, 130, 74, 31, 10
  107.         AUTOCHECKBOX    "~Monochrome", D_Display_Mono, 65, 60, 60, 10, 
  108.                         WS_GROUP
  109.         AUTOCHECKBOX    "Loc~k position", D_Lock_Position, 65, 50, 60, 10
  110.         GROUPBOX        "Player", D_Player, 4, 8, 162, 42
  111.         LTEXT           "Drive", D_Player_DriveT, 10, 32, 24, 8
  112.         CONTROL         "", D_Player_Drive, 30, 1, 32, 40, WC_COMBOBOX, 
  113.                         CBS_DROPDOWN | WS_GROUP | WS_TABSTOP | WS_VISIBLE
  114.         PUSHBUTTON      "S~et", D_Player_DriveS, 64, 31, 26, 11, WS_GROUP
  115.         AUTOCHECKBOX    "Au~todetect drive", D_Player_Autodetect, 10, 21, 67, 
  116.                         10, WS_GROUP
  117.         AUTOCHECKBOX    "Auto ~play inserted CD", D_Player_AutoPlay, 10, 11, 
  118.                         84, 10
  119.         AUTORADIOBUTTON "N~ormal order", D_Order_Continuous, 95, 31, 66, 10, 
  120.                         WS_GROUP | WS_TABSTOP
  121.         AUTORADIOBUTTON "~Random order", D_Order_Random, 95, 21, 66, 10, 
  122.                         WS_TABSTOP
  123.         AUTOCHECKBOX    "Loop ~disc", D_Loop_Disc, 95, 11, 66, 10, WS_GROUP
  124.     END
  125. END
  126.