-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sala Carlo <info@carlosala.net>
- Loading branch information
Showing
9 changed files
with
675 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> | ||
<assemblyIdentity | ||
version="0.64.1.0" | ||
processorArchitecture="amd64" | ||
name="Controls" | ||
type="win32" | ||
/> | ||
<description>wxWindows application</description> | ||
<dependency> | ||
<dependentAssembly> | ||
<assemblyIdentity | ||
type="win32" | ||
name="Microsoft.Windows.Common-Controls" | ||
version="6.0.0.0" | ||
processorArchitecture="amd64" | ||
publicKeyToken="6595b64144ccf1df" | ||
language="*" | ||
/> | ||
</dependentAssembly> | ||
</dependency> | ||
<application xmlns="urn:schemas-microsoft-com:asm.v3"> | ||
<windowsSettings> | ||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness> | ||
</windowsSettings> | ||
</application> | ||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> | ||
<assemblyIdentity | ||
version="0.64.1.0" | ||
processorArchitecture="IA64" | ||
name="Controls" | ||
type="win32" | ||
/> | ||
<description>wxWindows application</description> | ||
<dependency> | ||
<dependentAssembly> | ||
<assemblyIdentity | ||
type="win32" | ||
name="Microsoft.Windows.Common-Controls" | ||
version="6.0.0.0" | ||
processorArchitecture="IA64" | ||
publicKeyToken="6595b64144ccf1df" | ||
language="*" | ||
/> | ||
</dependentAssembly> | ||
</dependency> | ||
<application xmlns="urn:schemas-microsoft-com:asm.v3"> | ||
<windowsSettings> | ||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness> | ||
</windowsSettings> | ||
</application> | ||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> | ||
<assemblyIdentity | ||
version="0.64.1.0" | ||
processorArchitecture="x86" | ||
name="Controls" | ||
type="win32" | ||
/> | ||
<description>wxWindows application</description> | ||
<dependency> | ||
<dependentAssembly> | ||
<assemblyIdentity | ||
type="win32" | ||
name="Microsoft.Windows.Common-Controls" | ||
version="6.0.0.0" | ||
processorArchitecture="X86" | ||
publicKeyToken="6595b64144ccf1df" | ||
language="*" | ||
/> | ||
</dependentAssembly> | ||
</dependency> | ||
<application xmlns="urn:schemas-microsoft-com:asm.v3"> | ||
<windowsSettings> | ||
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2, PerMonitor</dpiAwareness> | ||
</windowsSettings> | ||
</application> | ||
|
||
|
||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
///////////////////////////////////////////////////////////////////////////// | ||
// Name: samples/samples.rc | ||
// Purpose: a standard Win32 .rc file for the wxWindows samples | ||
// Author: Vadim Zeitlin | ||
// Modified by: | ||
// Created: 04.08.03 | ||
// RCS-ID: $Id$ | ||
// Copyright: (c) 2003 Vadim Zeitlin <vadim@wxwindows.org> | ||
// Licence: wxWindows licence | ||
///////////////////////////////////////////////////////////////////////////// | ||
|
||
// this minimal resource file is all what is needed for most of the wxWindows | ||
// samples | ||
|
||
// note that the icon used by the Explorer (i.e. the programs icon) is the | ||
// first icon in the executable and the icons are sorted both by their order | ||
// (Win9x) and by alphabetically (!) (NT), so put this icon first and give it | ||
// a name starting with "a" | ||
//#define CREATEPROCESS_MANIFEST_RESOURCE_ID 1 | ||
//#define RT_MANIFEST 24 | ||
//CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "Hello.manifest" | ||
aaaaa ICON "Bilancia.ico" | ||
|
||
// this icon is used with wxFrame::SetIcon() | ||
iconFrame ICON "Bilancia.ico" | ||
|
||
// set this to 1 if you don't want to use manifest resource (manifest resource | ||
// is needed to enable visual styles on Windows XP - see docs/msw/winxp.txt | ||
// for more information) | ||
// this is not always needed but doesn't hurt (except making the executable | ||
// very slightly larger): this file contains the standard icons, cursors, ... | ||
#define wxUSE_NO_MANIFEST 0 | ||
#include <windows.h> | ||
|
||
#include "wx/msw/rcdefs.h" | ||
|
||
////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// This is the MDI Window menu | ||
// | ||
|
||
wxWindowMenu MENU DISCARDABLE | ||
BEGIN | ||
POPUP "&Window" | ||
BEGIN | ||
MENUITEM "&Cascade", 4002 | ||
MENUITEM "Tile &Horizontally", 4001 | ||
MENUITEM "Tile &Vertically", 4005 | ||
MENUITEM "", -1 | ||
MENUITEM "&Arrange Icons", 4003 | ||
MENUITEM "&Next", 4004 | ||
END | ||
END | ||
|
||
////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Standard wxWindows Cursors | ||
// | ||
|
||
WXCURSOR_HAND CURSOR DISCARDABLE "wx/msw/hand.cur" | ||
WXCURSOR_BULLSEYE CURSOR DISCARDABLE "wx/msw/bullseye.cur" | ||
WXCURSOR_PENCIL CURSOR DISCARDABLE "wx/msw/pencil.cur" | ||
WXCURSOR_MAGNIFIER CURSOR DISCARDABLE "wx/msw/magnif1.cur" | ||
WXCURSOR_ROLLER CURSOR DISCARDABLE "wx/msw/roller.cur" | ||
WXCURSOR_PBRUSH CURSOR DISCARDABLE "wx/msw/pbrush.cur" | ||
WXCURSOR_PLEFT CURSOR DISCARDABLE "wx/msw/pntleft.cur" | ||
WXCURSOR_PRIGHT CURSOR DISCARDABLE "wx/msw/pntright.cur" | ||
WXCURSOR_BLANK CURSOR DISCARDABLE "wx/msw/blank.cur" | ||
WXCURSOR_CROSS CURSOR DISCARDABLE "wx/msw/cross.cur" | ||
|
||
|
||
////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Default Icons | ||
// | ||
|
||
// First wx icon in alphabetical order. | ||
// | ||
// Notice that it also may be used by Explorer as the application icon if the | ||
// main program doesn't define any icons preceding this one in alphabetical | ||
// order (i.e. any icons defined by it start with "wy", "x", "y" or "z") in | ||
// 16*16 or 32*32 sizes. | ||
wxICON_AAA ICON "wx/msw/std.ico" | ||
|
||
//wxDEFAULT_FRAME ICON "wx/msw/std.ico" | ||
//wxDEFAULT_MDIPARENTFRAME ICON "wx/msw/mdi.ico" | ||
//wxDEFAULT_MDICHILDFRAME ICON "wx/msw/child.ico" | ||
|
||
// Standard small icons | ||
wxICON_SMALL_CLOSED_FOLDER ICON "wx/msw/folder1.ico" | ||
wxICON_SMALL_OPEN_FOLDER ICON "wx/msw/folder2.ico" | ||
wxICON_SMALL_FILE ICON "wx/msw/file1.ico" | ||
wxICON_SMALL_COMPUTER ICON "wx/msw/computer.ico" | ||
wxICON_SMALL_DRIVE ICON "wx/msw/drive.ico" | ||
wxICON_SMALL_CDROM ICON "wx/msw/cdrom.ico" | ||
wxICON_SMALL_FLOPPY ICON "wx/msw/floppy.ico" | ||
wxICON_SMALL_REMOVEABLE ICON "wx/msw/removble.ico" | ||
|
||
////////////////////////////////////////////////////////////////////////////// | ||
// | ||
// Bitmaps | ||
// | ||
|
||
// For wxContextHelpButton | ||
csquery BITMAP "wx/msw/csquery.bmp" | ||
|
||
// For obtaining the RGB values of standard colours | ||
wxBITMAP_STD_COLOURS BITMAP "wx/msw/colours.bmp" | ||
|
||
#if !defined(wxUSE_NO_MANIFEST) || (wxUSE_NO_MANIFEST == 0) | ||
|
||
#if defined(wxUSE_RC_MANIFEST) && wxUSE_RC_MANIFEST | ||
|
||
// see "about isolated applications" topic in MSDN | ||
#ifdef ISOLATION_AWARE_ENABLED | ||
#define wxMANIFEST_ID 2 | ||
#else | ||
#define wxMANIFEST_ID 1 | ||
#endif | ||
|
||
#if defined(WX_CPU_AMD64) | ||
wxMANIFEST_ID 24 "wx/msw/CPU_AMD64.manifest" | ||
#elif defined(WX_CPU_IA64) | ||
wxMANIFEST_ID 24 "wx/msw/CPU_IA64.manifest" | ||
#elif defined(WX_CPU_X86) | ||
wxMANIFEST_ID 24 "wx/msw/CPU_X86.manifest" | ||
#else | ||
// Notice that if the manifest is included, WX_CPU_XXX constant corresponding | ||
// to the architecture we're compiling for must be defined. This can be done | ||
// either manually in your make/project file or by configuring the resource | ||
// compiler paths to search in $(WXWIN)/lib/$(COMPILER_PREFIX)_lib/mswu[d] | ||
// directory for its include files, as wx/msw/rcdefs.h file in this directory | ||
// is generated during wxWidgets build and contains the correct definition. | ||
#error "One of WX_CPU_XXX constants must be defined. See comment above." | ||
#endif | ||
|
||
#endif // wxUSE_RC_MANIFEST | ||
|
||
#endif // !defined(wxUSE_NO_MANIFEST) || (wxUSE_NO_MANIFEST == 0) | ||
|
||
|
||
|
||
|
Oops, something went wrong.