/**********************************************************************/
/* 2.0 PM Display Driver resource file                                */
/*                                                                    */
/* Copyright (c) IBM Corporation 1992                                 */
/*                                                                    */
/* This resource file contains all the resources that are specific to */
/* a given display adapter at a specific resolution. Pointers and     */
/* bitmaps may need to be of a different size depending on the device */
/* resolution.                                                        */
/*                                                                    */
/* Resource types included here are:                                  */
/*   MARKERS   - Dingbats for use in graphics charts etc              */
/*   POINTERS  - Arrows, I-beam, etc for both PM and Seamless Win-OS2 */
/*   BITMAPS   - Program, folder, etc. Hardly ever used now but kept  */
/*               to ensure compatibility with old applications.       */
/*                                                                    */
/* Other resource types are packaged separately:                      */
/*   FONTS     - Display driver fonts in a separate DLL - see below   */
/*   MESSAGES  - Debug terminal messages in generic VGA driver DLL    */
/*                                                                    */
/**********************************************************************/
#define INCL_32

#include <pmwin.h>
#define INCL_GPIERRORS
#include <pmgpi.h>
#define INCL_DOSRESOURCES
#include <bsedos.h>
#define INCL_DDIMISC
#include "pmddi.h"

CODEPAGE 850    /* Set the Default CodePage for Resources */

/**********************************************************************/
/* DISPLAYINFO window manager constants                               */
/*                                                                    */
/* This is a binary file built from DISPINFO.ASM. It contains device  */
/* specific information related to the adaptor and resolution. For    */
/* example whether icons are 40x40 or 32x32. If this single DLL is    */
/* capable of supporting multiple resolutions then you may want to    */
/* include multiple DISPLAYINFO structures and then in the display    */
/* driver ensure that the correct one is loaded depending on the mode */
/* of operation. This would be done in QueryDevResource.              */
/**********************************************************************/
RESOURCE RT_DISPLAYINFO     1   PRELOAD dispinfo.bin

/**********************************************************************/
/* System pointers.                                                   */
/*                                                                    */
/* Certain of these are rarely used, so are not given PRELOAD         */
/* You may want to edit these (with icon editor) to change their size */
/* depending on the resolution that this driver is going to support.  */
/**********************************************************************/
POINTER SPTR_ARROW              PRELOAD arrow.ptr
POINTER SPTR_TEXT               PRELOAD text.ptr
POINTER SPTR_WAIT               PRELOAD wait.ptr
POINTER SPTR_MOVE                       move.ptr
POINTER SPTR_SIZENWSE           PRELOAD sizenwse.ptr
POINTER SPTR_SIZENESW           PRELOAD sizenesw.ptr
POINTER SPTR_SIZEWE             PRELOAD sizewe.ptr
POINTER SPTR_SIZENS             PRELOAD sizens.ptr
POINTER SPTR_APPICON                    appicon.ptr
POINTER SPTR_ICONINFORMATION    PRELOAD iconinfo.ptr
POINTER SPTR_ICONQUESTION       PRELOAD iconques.ptr
POINTER SPTR_ICONERROR          PRELOAD iconerr.ptr
POINTER SPTR_ICONWARNING        PRELOAD iconwarn.ptr
POINTER SPTR_ILLEGAL            PRELOAD illegal.ptr
POINTER SPTR_MULTFILE                   multfile.ptr
POINTER SPTR_PROGRAM                    program.ptr
POINTER SPTR_FILE                       file.ptr
POINTER SPTR_FOLDER                     folder.ptr

/**********************************************************************/
/* HACK HACK HACK. These used for plasma/LCD screens as replacements  */
/* for SPTR_ARROW and SPTR_TEXT. See QueryDevResource in VGA driver   */
/**********************************************************************/
POINTER 291                             lcdarrow.ptr
POINTER 292                             lcdtext.ptr

/**********************************************************************/
/* Special MS Windows pointers if driver supports seamless WIN-OS/2   */
/* These #define's should be in a header file but they are missing!   */
/**********************************************************************/
#define WPTR_ARROW          32512
#define WPTR_UPARROW        32516
#define WPTR_CROSS          32515
#define WPTR_IBEAM          32513
#define WPTR_ICON           32641
#define WPTR_SIZE           32640
#define WPTR_SIZENS         32645
#define WPTR_SIZEWE         32644
#define WPTR_SIZENWSE       32642
#define WPTR_SIZENESW       32643
#define WPTR_WAIT           32514

POINTER WPTR_ARROW                      winarrow.ptr
POINTER WPTR_UPARROW                    winup.ptr
POINTER WPTR_CROSS                      wincross.ptr
POINTER WPTR_IBEAM                      winibeam.ptr
POINTER WPTR_ICON                       winicon.ptr
POINTER WPTR_SIZE                       winsize.ptr
POINTER WPTR_SIZENS                     winsns.ptr
POINTER WPTR_SIZEWE                     winswe.ptr
POINTER WPTR_SIZENWSE                   winsnwse.ptr
POINTER WPTR_SIZENESW                   winsnesw.ptr
POINTER WPTR_WAIT                       winwait.ptr

/**********************************************************************/
/* System bitmaps.                                                    */
/*                                                                    */
/* Certain of these are rarely used, so are not given PRELOAD. Many   */
/* of them are here for compatibility with very old applications only.*/
/**********************************************************************/
BITMAP  SBMP_OLD_SYSMENU                osysmenu.bmp
BITMAP  SBMP_OLD_SBUPARROW              osbup.bmp
BITMAP  SBMP_OLD_SBDNARROW              osbdown.bmp
BITMAP  SBMP_OLD_SBRGARROW              osbright.bmp
BITMAP  SBMP_OLD_SBLFARROW              osbleft.bmp
BITMAP  SBMP_MENUCHECK          PRELOAD menuchk.bmp
BITMAP  SBMP_OLD_CHECKBOXES             chkbox.bmp
BITMAP  SBMP_BTNCORNERS         PRELOAD btncorn.bmp
BITMAP  SBMP_OLD_MINBUTTON              ominbtn.bmp
BITMAP  SBMP_OLD_MAXBUTTON              omaxbtn.bmp
BITMAP  SBMP_OLD_RESTOREBUTTON          orestbtn.bmp
BITMAP  SBMP_OLD_CHILDSYSMENU           osyschld.bmp
BITMAP  SBMP_DRIVE                      drive.bmp
BITMAP  SBMP_PROGRAM                    program.bmp
BITMAP  SBMP_TREEPLUS           PRELOAD treeplus.bmp
BITMAP  SBMP_TREEMINUS          PRELOAD treemins.bmp
BITMAP  SBMP_FILE                       file.bmp
BITMAP  SBMP_FOLDER                     folder.bmp
BITMAP  SBMP_MENUATTACHED       PRELOAD menuatt.bmp
BITMAP  SBMP_SIZEBOX                    sizebox.bmp

/**********************************************************************/
/* System bitmaps.                                                    */
/*                                                                    */
/* The following bitmaps are commented out because PMWIN.DLL contains */
/* these in sizes suitable for 640x480 and 1024x768. This was done to */
/* reduce disk space because we needed them in PMWIN anyway to        */
/* support old device drivers.                                        */
/*                                                                    */
/* Drivers with a version of 2.0 or greater however CAN choose to     */
/* include them here and they will be used. This may be appropriate   */
/* to support very large resolutions, for example 1600x1200 because   */
/* the ones in PMWIN will be too small.                               */
/**********************************************************************/
/* BITMAP  SBMP_SYSMENU            PRELOAD sysmenu.bmp   */
/* BITMAP  SBMP_MINBUTTON          PRELOAD minbtn.bmp    */
/* BITMAP  SBMP_MAXBUTTON          PRELOAD maxbtn.bmp    */
/* BITMAP  SBMP_RESTOREBUTTON      PRELOAD restbtn.bmp   */
/* BITMAP  SBMP_CHILDSYSMENU       PRELOAD syschld.bmp   */
/* BITMAP  SBMP_SYSMENUDEP         PRELOAD sysmenud.bmp  */
/* BITMAP  SBMP_MINBUTTONDEP       PRELOAD minbtnd.bmp   */
/* BITMAP  SBMP_MAXBUTTONDEP       PRELOAD maxbtnd.bmp   */
/* BITMAP  SBMP_RESTOREBUTTONDEP   PRELOAD restbtnd.bmp  */
/* BITMAP  SBMP_CHILDSYSMENUDEP    PRELOAD syschldd.bmp  */
/* BITMAP  SBMP_SBUPARROW          PRELOAD sbup.bmp      */
/* BITMAP  SBMP_SBDNARROW          PRELOAD sbdown.bmp    */
/* BITMAP  SBMP_SBLFARROW          PRELOAD sbleft.bmp    */
/* BITMAP  SBMP_SBRGARROW          PRELOAD sbright.bmp   */
/* BITMAP  SBMP_SBUPARROWDEP       PRELOAD sbupd.bmp     */
/* BITMAP  SBMP_SBDNARROWDEP       PRELOAD sbdownd.bmp   */
/* BITMAP  SBMP_SBLFARROWDEP       PRELOAD sbleftd.bmp   */
/* BITMAP  SBMP_SBRGARROWDEP       PRELOAD sbrightd.bmp  */
/* BITMAP  SBMP_SBUPARROWDIS       PRELOAD sbups.bmp     */
/* BITMAP  SBMP_SBDNARROWDIS       PRELOAD sbdowns.bmp   */
/* BITMAP  SBMP_SBLFARROWDIS       PRELOAD sblefts.bmp   */
/* BITMAP  SBMP_SBRGARROWDIS       PRELOAD sbrights.bmp  */
/* BITMAP  SBMP_COMBODOWN          PRELOAD cbdown.bmp    */
/* BITMAP  SBMP_CHECKBOXES         PRELOAD chkbox.bmp    */
/* BITMAP  SBMP_CLOSEBUTTON        PRELOAD hidebtn.bmp   */
/* BITMAP  SBMP_CLOSEBUTTONDEP     PRELOAD hidebtnd.bmp  */

/**********************************************************************/
/* Marker font - all other fonts are in separate .RC file             */
/**********************************************************************/
RESOURCE        2000    100     SHARED SEGALIGN marker.fnt

/**********************************************************************/
/* Fonts used as the 'default system proportional' and for VIO        */
/* windowed command lines are all contained in a separate DLL. It is  */
/* called DSPRES.DLL and the driver will need to do a DosLoadModule   */
/* on this during initialization. The fonts are then obtained using   */
/* DosGetResource. Be sure to make QueryDevResource aware that all    */
/* these fonts need to be loaded from DSPRES.DLL, it can do this      */
/* by detecting all requests for resource types of 1000 decimal.      */
/*                                                                    */
/* The following fonts are included in this DLL currently, others     */
/* may be added in the future. All have a resource type of 1000, the  */
/* number in the first column is the resource ID.                     */
/*                                                                    */
/* 100    System Proportional for 640x480 on any display              */
/* 101    System Proportional for 1024x768 on a 17 inch display       */
/* 102    System Proportional for 1024x768 on a 14 inch display       */
/*        may also be suitable for 1280x1024 on a 17 inch display     */
/*                                                                    */
/* 2001   VIO windowed command line 5 x 12 pixels                     */
/* 2002   VIO windowed command line 5 x 16 pixels                     */
/* 2003   VIO windowed command line 6 x 10 pixels                     */
/* 2004   VIO windowed command line 6 x 14 pixels                     */
/* 2005   VIO windowed command line 7 x 15 pixels                     */
/* 2006   VIO windowed command line 7 x 25 pixels                     */
/* 2007   VIO windowed command line 8 x 8 pixels                      */
/* 2008   VIO windowed command line 8 x 10 pixels                     */
/* 2009   VIO windowed command line 8 x 12 pixels                     */
/* 2010   VIO windowed command line 8 x 14 pixels                     */
/* 2011   VIO windowed command line 8 x 16 pixels                     */
/* 2012   VIO windowed command line 8 x 18 pixels                     */
/* 2013   VIO windowed command line 10 x 18 pixels                    */
/* 2014   VIO windowed command line 12 x 16 pixels                    */
/* 2015   VIO windowed command line 12 x 20 pixels                    */
/* 2016   VIO windowed command line 12 x 22 pixels                    */
/* 2017   VIO windowed command line 12 x 30 pixels                    */
/*                                                                    */
/* Note that while there are 17 windowed command line fonts there     */
/* are some applications that are restricted to a maximum of 15, it   */
/* is therefore recommended that no more than 15 be loaded at any     */
/* one time. It is recommended that                                   */
/*                                                                    */
/* 640x480 drivers included everything up to 8 pels wide.             */
/* 800x600 drivers included everything up to 10 pels wide.            */
/* 1024x768 drivers included everything from 6 pels to 12 pels wide.  */
/*                                                                    */
/**********************************************************************/

