jdk/src/windows/native/sun/windows/awt.rc
author lana
Thu, 09 Apr 2009 13:12:58 -0700
changeset 2477 f6d72be571ab
parent 2186 53da56fa3bf9
parent 2472 b7aba00cabb6
child 3111 fefdeafb7ab9
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
// 
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
// Copyright 1997-2004 Sun Microsystems, Inc.  All Rights Reserved.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
// DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
//
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
// This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
// under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
// published by the Free Software Foundation.  Sun designates this
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
// particular file as subject to the "Classpath" exception as provided
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
// by Sun in the LICENSE file that accompanied this code.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
//
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
// This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
// version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
// accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
//
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
// You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
// 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
// Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
//
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
// Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
// CA 95054 USA or visit www.sun.com if you need additional information or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
// have any questions.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
//
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
2186
53da56fa3bf9 6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents: 2
diff changeset
    26
#include "windows.h"
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
// Need 2 defines so macro argument to XSTR will get expanded before quoting.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
#define XSTR(x) STR(x)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
#define STR(x)  #x
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
HAND_CURSOR  CURSOR  DISCARDABLE "hand.cur"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
AWT_ICON     ICON    DISCARDABLE "awt.ico"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
CHECK_BITMAP BITMAP  DISCARDABLE "check.bmp"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
2472
b7aba00cabb6 6693253: Security Warning appearance requires enhancements
anthony
parents: 2
diff changeset
    38
// Note: the number of icons used is specified in the
b7aba00cabb6 6693253: Security Warning appearance requires enhancements
anthony
parents: 2
diff changeset
    39
// securityWarningIconCounter constant in awt_Toolkit.cpp.
b7aba00cabb6 6693253: Security Warning appearance requires enhancements
anthony
parents: 2
diff changeset
    40
SECURITY_WARNING_0  ICON    DISCARDABLE "security_warning_bw.ico"
b7aba00cabb6 6693253: Security Warning appearance requires enhancements
anthony
parents: 2
diff changeset
    41
SECURITY_WARNING_1  ICON    DISCARDABLE "security_warning_int.ico"
b7aba00cabb6 6693253: Security Warning appearance requires enhancements
anthony
parents: 2
diff changeset
    42
SECURITY_WARNING_2  ICON    DISCARDABLE "security_warning.ico"
b7aba00cabb6 6693253: Security Warning appearance requires enhancements
anthony
parents: 2
diff changeset
    43
b7aba00cabb6 6693253: Security Warning appearance requires enhancements
anthony
parents: 2
diff changeset
    44
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
/////////////////////////////////////////////////////////////////////////////
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
//
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
// Version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
//
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
VS_VERSION_INFO VERSIONINFO
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
 FILEVERSION    J2SE_FVER
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
 PRODUCTVERSION J2SE_FVER
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
 FILEFLAGSMASK 0x3fL
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
#ifdef _DEBUG
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
 FILEFLAGS 0x1L
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
#else
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
 FILEFLAGS 0x0L
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
#endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
 // FILEOS 0x4 is Win32, 0x40004 is Win32 NT only
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
 FILEOS 0x4L
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
 // FILETYPE should be 0x1 for .exe and 0x2 for .dll
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
 FILETYPE J2SE_FTYPE
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
 FILESUBTYPE 0x0L
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
BEGIN
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
    BLOCK "StringFileInfo"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
    BEGIN
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
        BLOCK "040904b0"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
        BEGIN
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
            VALUE "CompanyName",      XSTR(J2SE_COMPANY)       "\0"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
            VALUE "FileDescription",  XSTR(J2SE_COMPONENT)     "\0"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
            VALUE "FileVersion",      XSTR(J2SE_VER)           "\0"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
            VALUE "Full Version",     XSTR(J2SE_BUILD_ID)      "\0"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
	    VALUE "InternalName",     XSTR(J2SE_INTERNAL_NAME) "\0"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
            VALUE "LegalCopyright",   XSTR(J2SE_COPYRIGHT)     "\0"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
            VALUE "OriginalFilename", XSTR(J2SE_FNAME)         "\0"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
            VALUE "ProductName",      XSTR(J2SE_NAME)          "\0"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
            VALUE "ProductVersion",   XSTR(J2SE_VER)           "\0"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
        END
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
    END
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
    BLOCK "VarFileInfo"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
    BEGIN
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
        VALUE "Translation", 0x409, 1200
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
    END
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
END