mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-04 08:42:07 +00:00
Seems we no longer need to explicitly set an icon -- and with hi-dpi
displays it's doing more harm than good, causing the icon to render blurry.
This commit is contained in:
parent
7d1193b4d7
commit
2424d2e534
@ -143,7 +143,7 @@ int main(int argc, char* argv[]) {
|
||||
App app("musikcube"); /* must be before layout creation */
|
||||
|
||||
#ifdef WIN32
|
||||
app.SetIcon(IDI_ICON1);
|
||||
//app.SetIcon(IDI_ICON1);
|
||||
app.SetSingleInstanceId("musikcube");
|
||||
#endif
|
||||
|
||||
|
@ -211,8 +211,8 @@ namespace cursespp {
|
||||
const HWND hwnd = GetMainWindow();
|
||||
icon16 = loadIcon(resourceId, 16);
|
||||
icon32 = loadIcon(resourceId, 48);
|
||||
SendMessage(hwnd, WM_SETICON, ICON_SMALL, (LPARAM) icon16);
|
||||
SendMessage(hwnd, WM_SETICON, ICON_BIG, (LPARAM) icon32);
|
||||
PostMessage(hwnd, WM_SETICON, ICON_SMALL, (LPARAM) icon16);
|
||||
PostMessage(hwnd, WM_SETICON, ICON_BIG, (LPARAM) icon32);
|
||||
}
|
||||
|
||||
void InterceptWndProc() {
|
||||
|
Loading…
Reference in New Issue
Block a user