Update of /cvsroot/adobe-source/sandbox/adobe-source/adobe/test/visual/resources
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31751/adobe-source/adobe/test/visual/resources
Added Files:
aqua_button.ico resources.h resources.rc visual.exe.manifest
Log Message:
Visual Styles are enabled by default on Windows XP, and controls appear correctly on tabs, etc. A resource file has been added, and the generated exe now has the Adobe Begin icon.
The following items still need to be completed on the Windows implementation of ui-core before it reaches parity with the Mac implementation:
- slider_t needs to report changes, and actually set it's value.
- progress_bar_t also needs work.
- link_t's event mechanism should be looked at, it may not be painting when required.
--- NEW FILE: visual.exe.manifest ---
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity processorArchitecture="*" version="5.1.0.0" type="win32"
name="Microsoft.Windows.Shell.shell32" />
<description>Windows Shell</description>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls"
version="6.0.0.0" publicKeyToken="6595b64144ccf1df" language="*"
processorArchitecture="*" />
</dependentAssembly>
</dependency>
</assembly>
--- NEW FILE: resources.h ---
/*
Copyright 2005 Ralph Thomas
Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
or a copy at http://opensource.adobe.com/licenses.html)
*/
//
/// This file defines the integer IDs for all of the resources
/// which are built into visual.exe.
//
/****************************************************************************************************/
//
/// The main application icon.
//
#define RES_APP_ICON 2
/****************************************************************************************************/
--- NEW FILE: aqua_button.ico ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: resources.rc ---
#include "windows.h"
//
// Include the visual styles manifest.
//
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "resources\\visual.exe.manifest"
//
// Include some icons. The icon with the lowest number seems to be
// the one which the Windows shell shows.
//
2 ICON "resources\\aqua_button.ico"
|