/**********************************************************************/
/* 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               */
/*   MESSAGES  - Debug terminal messages in generic VGA driver DLL    */
/*                                                                    */
/* Created 9-Jun-1992   David A Kerr                                  */
/**********************************************************************/
#define INCL_32

#include <pmwin.h>
#include <pmwinx.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 */

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

/**********************************************************************/
/* 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   */
/**********************************************************************/
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  */


