Source

gdt / SpriteEd / spriteed.rc

Full commit
/****************************************************************************


SPRITEED.RC

produced by Borland Resource Workshop


*****************************************************************************/
#include "SpriteEd.RH"

IDI_APPICON ICON 
{
 '00 00 01 00 01 00 20 20 10 00 00 00 00 00 E8 02'
 '00 00 16 00 00 00 28 00 00 00 20 00 00 00 40 00'
 '00 00 01 00 04 00 00 00 00 00 80 02 00 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
 '00 00 00 00 80 00 00 80 00 00 00 80 80 00 80 00'
 '00 00 80 00 80 00 80 80 00 00 C0 C0 C0 00 80 80'
 '80 00 00 00 FF 00 00 FF 00 00 00 FF FF 00 FF 00'
 '00 00 FF 00 FF 00 FF FF 00 00 FF FF FF 00 00 0C'
 'CD DD DD CC 00 00 00 00 00 00 00 00 00 00 00 0C'
 'CD DD DD CC 00 00 00 00 00 00 00 00 00 00 00 0C'
 'CD DD DD CC 00 00 00 00 00 00 00 00 00 00 00 0C'
 'CD DD DD CC 00 00 00 00 00 00 00 00 00 00 00 0C'
 'CD DD DD CC 00 00 00 00 00 00 00 00 00 00 00 0C'
 'CD DD DD CC 00 00 00 00 00 00 00 00 00 00 00 0C'
 'CD DD DD CC 00 00 00 00 00 00 00 00 00 00 00 0B'
 'CD DD DD CC C0 00 00 00 00 00 00 00 00 00 00 B0'
 'CD DD DD CC CC 00 00 00 00 00 00 00 00 00 00 0B'
 'CD DD DD CC CC C0 00 00 00 00 00 00 00 00 00 B0'
 'CD DD DD CC CC C0 00 00 00 00 00 00 00 00 00 0B'
 'CD DD DD CC CC 00 00 00 00 00 00 00 00 00 00 B0'
 'CD DD DD CC C0 00 00 00 00 00 00 00 00 00 00 0B'
 'CD DD DD CC 00 00 00 00 00 00 00 00 00 00 00 B0'
 'CC DD DC C0 00 00 00 00 00 00 00 00 00 00 00 0B'
 'CC CC CC 00 00 00 00 00 00 00 00 00 00 00 00 B0'
 '00 0D D0 00 00 00 00 00 00 00 00 00 00 00 00 0B'
 '00 0D D0 00 00 00 00 00 00 00 00 00 00 00 00 B0'
 '00 0D D0 00 00 00 00 00 00 00 00 00 00 00 00 0B'
 '00 0D D0 00 00 00 00 00 00 00 00 00 00 00 00 B0'
 'DD DD DD D0 00 00 00 00 00 00 00 00 00 00 00 0B'
 '70 70 70 7D 00 00 00 00 00 00 00 00 00 00 00 B0'
 '07 07 09 99 D0 00 00 00 00 00 00 00 00 00 00 0B'
 '70 70 90 70 D0 00 00 00 00 00 00 00 00 00 00 B0'
 '07 09 07 07 D0 00 00 00 00 00 00 00 00 00 00 3B'
 '70 70 70 70 D0 00 00 00 00 00 00 00 00 00 00 B3'
 'B7 07 EE 07 D0 00 00 00 00 00 00 00 00 00 00 3B'
 '3B 70 70 7B B0 00 00 00 00 00 00 00 00 00 00 B3'
 'B3 B7 07 0B B0 00 00 00 00 00 00 00 00 00 00 3B'
 '3B 3B 3B 33 D0 00 00 00 00 00 00 00 00 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 E0 0F'
 'FF FF E0 0F FF FF E0 0F FF FF E0 0F FF FF E0 0F'
 'FF FF E0 0F FF FE E0 0F FF FC E0 07 FF F8 D0 03'
 'FF F0 E0 01 FF E0 D0 01 FF C0 E0 03 FF 80 D0 07'
 'FF 01 E0 0F FE 03 D0 1F FC 07 E0 3F F8 0F DE 7F'
 'F0 1F EE 7F E0 3F DE 7F C0 7F EE 7F 80 FF D0 1F'
 '01 FF E5 4E 03 FF DA 86 07 FF E5 54 0F FF DA A4'
 '1F FF C5 50 3F FF C2 20 7F FF C1 41 FF FF C0 A7'
 'FF FF C0 07 FF FF FF FF FF FF FF FF FF FF'
}

MENU_MAIN MENU 
{
 POPUP "&File"
 {
  MENUITEM "&New", CM_FILE_NEW
  MENUITEM "&Open", CM_FILE_OPEN
  MENUITEM "&Save", CM_FILE_SAVE
  MENUITEM "Save &As...", CM_FILE_SAVEAS
  MENUITEM SEPARATOR
  MENUITEM "E&xit", CM_FILE_EXIT
 }

 POPUP "&Tools"
 {
  MENUITEM "&Item", CM_POPUPITEM
 }

 POPUP "&Image"
 {
  MENUITEM "Attributes...", CM_IMAGE_ATTRIBS, GRAYED
 }

 POPUP "&Formats"
 {
  MENUITEM "TheCopps", CM_FORMATS_COPPS, GRAYED, CHECKED
 }

 POPUP "&Window"
 {
  MENUITEM "&Cascade", CM_WINDOW_CASCADE
  MENUITEM "Tile &horizontal", CM_WINDOW_HTILE
  MENUITEM "&Tile vertical", CM_WINDOW_VTILE
  MENUITEM "Arrange &icons", CM_WINDOW_ARRANGEICONS
  MENUITEM SEPARATOR
  MENUITEM "Close &all", CM_WINDOW_CLOSEALL
  MENUITEM "Mi&nimize all", CM_WINDOW_MINIMIZEALL
  MENUITEM "&Restore all", CM_WINDOW_RESTOREALL
  MENUITEM SEPARATOR
 }

 POPUP "&Help"
 {
  MENUITEM "&About...", CM_HELP_ABOUT
 }

}


STRINGTABLE 
{
 CM_FILE_NEW, "Clears the current file from memory so you can start afresh"
 CM_FILE_OPEN, "Opens another file, the current one will be closed"
 CM_FILE_SAVE, "Saves your current data (it is wise to do this occasionally)"
 CM_FILE_SAVEAS, "Saves your file to disk with a new name.  Don't use in place of copying the file please"
 CM_FILE_EXIT, "Exits the SpriteEditor"
 CM_FORMATS_COPPS, "The Copps game resource format"
 CM_HELP_ABOUT, "Program version and copyright information"
 IDS_APPNAME, "SpriteEditor"
 CM_WINDOW_CASCADE, "Cascades child windows"
 CM_WINDOW_HTILE, "Tiles windows horizontally"
 CM_WINDOW_VTILE, "Tiles windows vertically"
 CM_WINDOW_ARRANGEICONS, "Arrange all iconized windows"
 CM_WINDOW_CLOSEALL, "Close all edit windows"
 CM_WINDOW_MINIMIZEALL, "Minimize all editor windows to icons"
 CM_WINDOW_RESTOREALL, "Restore editor windows"
}


ACCELERATORS_MAIN ACCELERATORS 
{
 "^N", CM_FILE_NEW, ASCII
 "^O", CM_FILE_OPEN, ASCII
 "^S", CM_FILE_SAVE, ASCII
 VK_F5, CM_WINDOW_CASCADE, VIRTKEY, SHIFT
 VK_F4, CM_WINDOW_HTILE, VIRTKEY, SHIFT
}


IDD_ABOUTBOX DIALOG 0, 0, 212, 120
STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "About SpriteEditor"
FONT 8, "MS Sans Serif"
{
 CONTROL "OK", IDOK, "BUTTON", BS_DEFPUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 81, 100, 50, 14
 CONTROL "", IDC_INFOTEXT, "static", SS_CENTER | SS_SUNKEN | WS_CHILD | WS_VISIBLE, 36, 4, 168, 88
 CONTROL IDI_APPICON, IDC_STATICICON, "static", SS_ICON | SS_REALSIZEIMAGE | WS_CHILD | WS_VISIBLE, 4, 4, 21, 20
}

IDI_SPRITE ICON 
{
 '00 00 01 00 01 00 10 10 10 00 00 00 00 00 28 01'
 '00 00 16 00 00 00 28 00 00 00 10 00 00 00 20 00'
 '00 00 01 00 04 00 00 00 00 00 C0 00 00 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00'
 '00 00 00 00 80 00 00 80 00 00 00 80 80 00 80 00'
 '00 00 80 00 80 00 80 80 00 00 C0 C0 C0 00 80 80'
 '80 00 00 00 FF 00 00 FF 00 00 00 FF FF 00 FF 00'
 '00 00 FF 00 FF 00 FF FF 00 00 FF FF FF 00 00 0B'
 '00 CD DC 00 00 00 00 B0 00 CC CC 00 00 00 00 0B'
 '00 CC CC 00 00 00 00 B0 00 DD DD 00 00 00 00 0B'
 '0D 70 70 D0 00 00 00 B0 D7 07 07 9D 00 00 00 0B'
 'D0 70 79 7D 00 00 00 B0 D7 07 97 0D 00 00 00 0B'
 'D0 70 70 7D 00 00 00 B0 D7 07 EE 0D 00 00 00 0B'
 'D0 70 70 7D 00 00 00 B0 BD 07 07 D0 00 00 00 0B'
 '0B DB 0B 0B 00 00 00 00 B0 B0 B0 B0 00 00 00 00'
 '00 00 00 00 00 00 00 00 00 00 00 00 00 00 EC 3F'
 '00 00 DC 3F 00 00 EC 3F 00 00 DC 3F 00 00 E9 5F'
 '00 00 D2 8F 00 00 E5 0F 00 00 D2 2F 00 00 E5 4F'
 '00 00 D2 2F 00 00 E5 4F 00 00 D2 9F 00 00 E8 AF'
 '00 00 F5 5F 00 00 FF FF 00 00 FF FF 00 00'
}

IDD_IMAGEDIMS DIALOG 0, 0, 183, 73
STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Image dimensions"
FONT 8, "MS Sans Serif"
{
 CONTROL "OK", IDOK, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 128, 6, 50, 14
 CONTROL "Cancel", IDCANCEL, "BUTTON", BS_PUSHBUTTON | BS_CENTER | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 128, 26, 50, 14
 CONTROL "Height in pixels:", IDC_STATICTEXT1, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 8, 6, 56, 11
 CONTROL "Width in pixels:", IDC_STATICTEXT2, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 8, 25, 56, 8
 CONTROL "Bits per pixel:", IDC_STATICTEXT3, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 12, 41, 56, 8
 CONTROL "0", IDC_HEIGHTEDIT, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 64, 4, 52, 12
 CONTROL "0", IDC_WIDTHEDIT, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 64, 22, 52, 13
 CONTROL "0", IDC_BPPEDIT, "edit", ES_LEFT | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 64, 40, 52, 12
 CONTROL "Resulting colors: 0, image size: 0 bytes", IDC_SIZERESULT, "static", SS_LEFT | WS_CHILD | WS_VISIBLE, 4, 60, 176, 9
}