home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
wvis0626.zip
/
warpvision_20020626.zip
/
wvision.rc
< prev
Wrap
Text File
|
2002-06-19
|
3KB
|
102 lines
/*
OS/2 DIVE class library: resource file
Copyright (C) 1997 by Andrew Zabolotny <bit@eltech.ru>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "os2.h"
#include "libDIVE.h"
#include "wvision.h"
// Define DIVE window menu
MENU idDive DISCARDABLE
BEGIN
SUBMENU "Window", idDive
BEGIN
SUBMENU "~Align", cmdAlign
BEGIN
MENUITEM "~Top", cmdAlignTop
MENUITEM "~Bottom", cmdAlignBottom
MENUITEM "~Left", cmdAlignLeft
MENUITEM "~Right", cmdAlignRight
MENUITEM SEPARATOR
MENUITEM "~Center\tCtrl+Alt+`", cmdAlignCenter
END
END
END
// Define an accelerator table for DIVE window
ACCELTABLE idDive DISCARDABLE
BEGIN
"1", cmdSnap1to1, ALT, CONTROL
"2", cmdSnap2to1, ALT, CONTROL
"3", cmdSnap3to1, ALT, CONTROL
"4", cmdSnap4to1, ALT, CONTROL
"`", cmdAlignCenter, ALT, CONTROL
VK_HOME, cmdFullScreen, VIRTUALKEY, ALT
END
MENU idDiveMenu DISCARDABLE
BEGIN
MENUITEM "~Full screen" , cmdFullScreen2
MENUITEM "~Keep aspect ratio" , cmdToggleAspect
MENUITEM "~Pause" , cmdPause2
MENUITEM "Gamma Correction" , cmdGamma
SUBMENU "S~eek", -1
BEGIN
MENUITEM "Seek 10s forward" , cmdSeek10sFwd
MENUITEM "Seek 60s forward" , cmdSeek60sFwd
MENUITEM "Seek 10min forward" , cmdSeek60sFwd
MENUITEM "Seek 10s backward" , cmdSeek10sBack
MENUITEM "Seek 60s backward" , cmdSeek60sBack
MENUITEM "Seek 10min backward", cmdSeek60sBack
END
SUBMENU "~Snap", -1
BEGIN
MENUITEM "Snap to\t~1:1", cmdSnap1to1
MENUITEM "Snap to\t~2:1", cmdSnap2to1
MENUITEM "Snap to\t~3:1", cmdSnap3to1
MENUITEM "Snap to\t~4:1", cmdSnap4to1
END
SUBMENU "~Align", -1
BEGIN
MENUITEM "~Top" , cmdAlignTop
MENUITEM "~Bottom", cmdAlignBottom
MENUITEM "~Left" , cmdAlignLeft
MENUITEM "~Right" , cmdAlignRight
MENUITEM SEPARATOR
MENUITEM "~Center\tCtrl+Alt+`", cmdAlignCenter
END
MENUITEM SEPARATOR
MENUITEM "~Close", cmdClose
END
DLGTEMPLATE ID_SET_DLG
BEGIN
DIALOG "Gamma correction", ID_SET_DLG, 81, 58, 152, 53, WS_VISIBLE,
FCF_NOBYTEALIGN | FCF_DLGBORDER | FCF_TITLEBAR | FCF_SYSMENU | FCF_TASKLIST | FCF_ICON | FCF_NOMOVEWITHOWNER
BEGIN
SLIDER ID_GAMMA, 6, 22, 140, 16, WS_GROUP
CTLDATA 12, 0, 33, 0, 33, 0
PUSHBUTTON "~Close", ID_CLOSE, 59, 1, 40, 14
END
END