Minor updates to ASSIMP Viewer

pull/4511/head
U-DESKTOP-0R560PH\George 2022-04-30 08:10:47 -07:00
parent 461370946c
commit 63183a048c
4 changed files with 29 additions and 30 deletions

View File

@ -96,7 +96,7 @@ IF ( MSVC )
ENDIF ()
# Link the executable to the assimp + dx libs.
TARGET_LINK_LIBRARIES ( assimp_viewer assimp ${DirectX_LIBRARY} ${DirectX_D3DX9_LIBRARY} comctl32.lib winmm.lib )
TARGET_LINK_LIBRARIES ( assimp_viewer assimp ${DirectX_LIBRARY} ${DirectX_D3DX9_LIBRARY} comctl32 winmm )
INSTALL( TARGETS assimp_viewer
DESTINATION "${ASSIMP_BIN_INSTALL_DIR}" COMPONENT assimp-dev

View File

@ -1710,13 +1710,13 @@ INT_PTR CALLBACK MessageProc(HWND hwndDlg,UINT uMsg, WPARAM wParam,LPARAM lParam
} else if (ID_TOOLS_LOGWINDOW == LOWORD(wParam)) {
CLogWindow::Instance().Show();
} else if (ID__WEBSITE == LOWORD(wParam)) {
ShellExecute(nullptr,"open","http://assimp.sourceforge.net","","",SW_SHOW);
} else if (ID__WEBSITESF == LOWORD(wParam)) {
ShellExecute(nullptr,"open","https://sourceforge.net/projects/assimp","","",SW_SHOW);
ShellExecute(nullptr,"open","http://assimp.org","","",SW_SHOW);
} else if (ID__WEBSITEGH == LOWORD(wParam)) {
ShellExecute(nullptr,"open","https://github.com/assimp/assimp","","",SW_SHOW);
} else if (ID_REPORTBUG == LOWORD(wParam)) {
ShellExecute(nullptr,"open","https://sourceforge.net/tracker/?func=add&group_id=226462&atid=1067632","","",SW_SHOW);
ShellExecute(nullptr,"open","https://github.com/assimp/assimp/issues/new?assignees=&labels=Bug&template=bug_report.md&title=Bug%3A","","",SW_SHOW);
} else if (ID_FR == LOWORD(wParam)) {
ShellExecute(nullptr,"open","https://sourceforge.net/forum/forum.php?forum_id=817653","","",SW_SHOW);
ShellExecute(nullptr,"open","https://github.com/assimp/assimp/issues/new?assignees=&labels=Feature-Request&template=feature_request.md","","",SW_SHOW);
} else if (ID_TOOLS_CLEARLOG == LOWORD(wParam)) {
CLogWindow::Instance().Clear();
} else if (ID_TOOLS_SAVELOGTOFILE == LOWORD(wParam)) {

View File

@ -1,6 +1,7 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#include "revision.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
@ -15,10 +16,10 @@
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// Deutsch (Deutschland) resources
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU)
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
/////////////////////////////////////////////////////////////////////////////
@ -187,35 +188,33 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,1,700,0
PRODUCTVERSION 1,1,700,1
FILEFLAGSMASK 0x17L
FILEVERSION VER_FILEVERSION
PRODUCTVERSION VER_FILEVERSION
FILEFLAGSMASK VS_FF_DEBUG
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
FILEFLAGS VS_FF_DEBUG
#endif
FILEOS 0x4L
FILETYPE 0x0L
FILESUBTYPE 0x0L
FILEOS VOS_NT
FILETYPE VFT_APP
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040704b0"
BLOCK "040904B0"
BEGIN
VALUE "CompanyName", "assimp team"
VALUE "Comments", "Licensed under a 3-clause BSD license"
VALUE "CompanyName", "ASSIMP Team"
VALUE "FileDescription", "ASSIMP Viewer Application"
VALUE "FileVersion", "1, 1, SVNRevision, 0"
VALUE "FileVersion", VER_FILEVERSION_STR
VALUE "InternalName", "assimp_view"
VALUE "LegalCopyright", "Licensed under the LGPL"
VALUE "OriginalFilename", "assimpview32.exe"
VALUE "LegalCopyright", VER_COPYRIGHT_STR
VALUE "OriginalFilename", "assimp_viewer.exe"
VALUE "ProductName", "ASSIMP Viewer Application"
VALUE "ProductVersion", "1, 1, SVNRevision, 0"
VALUE "ProductVersion", VER_FILEVERSION_STR
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x407, 1200
VALUE "Translation", 0x409, 65001
END
END
@ -381,14 +380,14 @@ BEGIN
POPUP "Feedback"
BEGIN
MENUITEM "Report bug", ID_REPORTBUG
MENUITEM "Feature request/discuss", ID_FR
MENUITEM "Feature request", ID_FR
END
MENUITEM "Help", ID__HELP
MENUITEM SEPARATOR
MENUITEM "About", ID__ABOUT
MENUITEM SEPARATOR
MENUITEM "Website", ID__WEBSITE
MENUITEM "SF.net Project Page", ID__WEBSITESF
MENUITEM "GitHub Repository", ID__WEBSITEGH
END
END
@ -451,7 +450,7 @@ IDR_HUD RCDATA "HUD.png"
IDR_HUDMASK RCDATA "HUDMask.png"
#endif // Deutsch (Deutschland) resources
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////

View File

@ -209,7 +209,7 @@
#define ID__WEBSITE 32867
#define ID__SF 32868
#define ID__ 32869
#define ID__WEBSITESF 32870
#define ID__WEBSITEGH 32870
#define ID_IMPORTSETTINGS_CALCULATETANGENTSPACE 32871
#define ID_VIEWER_CTS 32872
#define ID_VIEWER_PP_CTS 32873