mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-05-09 13:11:40 -04:00
Fixed blurry UI when using display scaling.
Removed showing startup tips. Removed daily tips.
This commit is contained in:
parent
6abf0f5574
commit
2531c8f609
4 changed files with 8 additions and 28 deletions
|
@ -67,6 +67,8 @@ void __cdecl term_func()
|
|||
|
||||
CFinalSunApp::CFinalSunApp()
|
||||
{
|
||||
BOOL SetProcessDPIAware(); //YR Redux: fixed blurry UI when using display scaling
|
||||
|
||||
m_cf = RegisterClipboardFormat("FINAL*FORMAT");
|
||||
|
||||
if (!m_cf) MessageBox(0, "Failed to register clipboard format, clipboard functions not available", "", 0);
|
||||
|
@ -394,22 +396,6 @@ void CFinalSunApp::ParseCommandLine()
|
|||
#endif
|
||||
}
|
||||
|
||||
void CFinalSunApp::ShowTipAtStartup(void)
|
||||
{
|
||||
CTipDlg dlg;
|
||||
if (dlg.m_bStartup)
|
||||
dlg.DoModal();
|
||||
|
||||
|
||||
}
|
||||
|
||||
void CFinalSunApp::ShowTipOfTheDay(void)
|
||||
{
|
||||
CTipDlg dlg;
|
||||
dlg.DoModal();
|
||||
|
||||
}
|
||||
|
||||
int CFinalSunApp::Run()
|
||||
{
|
||||
return CWinApp::Run();
|
||||
|
|
|
@ -116,9 +116,6 @@ public:
|
|||
UINT m_cf;
|
||||
HACCEL m_hAccel;
|
||||
void ParseCommandLine();
|
||||
void ShowTipAtStartup(void);
|
||||
void ShowTipOfTheDay(void);
|
||||
|
||||
private:
|
||||
std::string m_u8LogFileName;
|
||||
};
|
||||
|
|
|
@ -381,10 +381,8 @@ BOOL CFinalSunDlg::OnInitDialog()
|
|||
if(strlen(currentMapFile)==0) // no map file specified
|
||||
{
|
||||
// ok, let the user choose a map!
|
||||
// hmm... no, don´t let him. we already have our tips dialog.
|
||||
// OnFileOpenmap();
|
||||
|
||||
theApp.ShowTipAtStartup();
|
||||
OnFileOpenmap();
|
||||
//YR Redux: removed startup tips.
|
||||
}
|
||||
else // yah, map file specified
|
||||
{
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#undef APSTUDIO_READONLY_SYMBOLS
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Deutsch (Deutschland) resources
|
||||
// German (Germany) resources
|
||||
|
||||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_DEU)
|
||||
LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
|
||||
|
@ -57,12 +57,12 @@ END
|
|||
|
||||
#endif // APSTUDIO_INVOKED
|
||||
|
||||
#endif // Deutsch (Deutschland) resources
|
||||
#endif // German (Germany) resources
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Englisch (USA) resources
|
||||
// English (United States) resources
|
||||
|
||||
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
|
||||
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
|
||||
|
@ -3355,7 +3355,6 @@ BEGIN
|
|||
MENUITEM "Manual\tF1", ID_HELP
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Info", ID_HELP_INFO
|
||||
MENUITEM "Tip of the day", ID_HELP_TIPOFTHEDAY
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Show logs", ID_HELP_SHOWLOGS
|
||||
END
|
||||
|
@ -3585,7 +3584,7 @@ BEGIN
|
|||
ID_MARBLEMADNESS "Switch Framework Mode"
|
||||
END
|
||||
|
||||
#endif // Englisch (USA) resources
|
||||
#endif // English (United States) resources
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue