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

  1. /*
  2.  
  3.   SysBar/2 Utility Set  version 0.21
  4.  
  5.   CD Player resources
  6.  
  7.   ..................................................................
  8.  
  9.   Copyright (c) 1995-99  Dmitry I. Platonoff <dip@platonoff.com>
  10.   Copyright (c) 2002,03  Max Alekseyev       <relf@os2.ru>
  11.  
  12.                          dplatonoff@canada.com
  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. #include <os2.h>
  64. #include "SB2_CD_res.h"
  65.  
  66. ICON ICO_MAIN "sb2_cd.ico"
  67. ICON ICO_REDALLIGATOR "sb2_cd_ra.ico"
  68.  
  69. BITMAP BMP_TIME  "sb2_cd_time.bmp"
  70. BITMAP BMP_LEFT  "sb2_cd_left.bmp"
  71. BITMAP BMP_PLAY  "sb2_cd_play.bmp"
  72. BITMAP BMP_EJECT "sb2_cd_eject.bmp"
  73. BITMAP BMP_RIGHT "sb2_cd_right.bmp"
  74. BITMAP BMP_PAUSE "sb2_cd_pause.bmp"
  75. BITMAP BMP_STOP  "sb2_cd_stop.bmp"
  76. BITMAP BMP_CLOSE  "sb2_cd_close.bmp"
  77. BITMAP BMP_STOPPED "sb2_cd_stopped.bmp"
  78. BITMAP BMP_PLAYING "sb2_cd_playing.bmp"
  79. BITMAP BMP_PAUSED  "sb2_cd_paused.bmp"
  80. BITMAP BMP_STOPPEDBW "sb2_cd_stopped_bw.bmp"
  81. BITMAP BMP_PLAYINGBW "sb2_cd_playing_bw.bmp"
  82. BITMAP BMP_PAUSEDBW  "sb2_cd_paused_bw.bmp"
  83.  
  84. MENU MNU_SB2_CD LOADONCALL DISCARDABLE
  85. BEGIN
  86. /*
  87.   PRESPARAMS PP_MENUBACKGROUNDCOLOR, 0x808080
  88.   PRESPARAMS PP_MENUFOREGROUNDCOLOR, 0xFFFFFF
  89.   PRESPARAMS PP_MENUDISABLEDBGNDCOLOR, 0x808080
  90.   PRESPARAMS PP_MENUDISABLEDFGNDCOLOR, 0xCCCCCC
  91.   PRESPARAMS PP_MENUHILITEBGNDCOLOR, 0x000000
  92.   PRESPARAMS PP_MENUHILITEFGNDCOLOR, 0x00FF00
  93.   PRESPARAMS 51, 0xCCCCCC // PP_BORDERLIGHTCOLOR
  94.   PRESPARAMS 52, 0x000000 // PP_BORDERDARKCOLOR
  95.   PRESPARAMS 53, 0xCCCCCC // PP_BORDER2LIGHTCOLOR
  96.   PRESPARAMS 54, 0x000000 // PP_BORDER2DARKCOLOR
  97.   PRESPARAMS 61, 0xCCCCCC // PP_ARROWCOLOR
  98.   PRESPARAMS 62, 0xFFFFFF // PP_ARROWBORDERLIGHTCOLOR
  99.   PRESPARAMS 63, 0x000000 // PP_ARROWBORDERDARKCOLOR
  100.   PRESPARAMS 64, 0xA0A0A0 // PP_ARROWDISABLEDCOLOR
  101.   PRESPARAMS 65, 0xCCCCCC // PP_CHECKLIGHTCOLOR
  102.   PRESPARAMS 66, 0x808080 // PP_CHECKMIDDLECOLOR
  103.   PRESPARAMS 67, 0x000000 // PP_CHECKDARKCOLOR
  104. */
  105.   MENUITEM "~Properties", MNU_CD_PROPERTIES, MIS_TEXT
  106.   MENUITEM SEPARATOR
  107.   SUBMENU "~Jump to", MNU_CD_PLAYMENU, MIS_TEXT, MIA_DISABLED
  108.     BEGIN
  109.     END
  110.   MENUITEM SEPARATOR
  111.   MENUITEM "~Close", MNU_CD_CLOSE, MIS_TEXT
  112. END
  113.  
  114. RCINCLUDE SB2_CD.DLG
  115.  
  116.