mirror of
https://github.com/ONLYOFFICE/desktop-apps.git
synced 2026-04-07 14:09:22 +08:00
[win] online-installer: migrate to EMF
This commit is contained in:
BIN
win-linux/extras/online-installer/res/icons/welcome.emf
Normal file
BIN
win-linux/extras/online-installer/res/icons/welcome.emf
Normal file
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 1.7 KiB |
@ -4,7 +4,7 @@
|
||||
#include "../src/resource.h"
|
||||
|
||||
IDI_MAINICON ICON DISCARDABLE APP_ICON_PATH
|
||||
IDI_WELCOME PNG "./icons/welcome.png"
|
||||
IDI_WELCOME RCDATA "./icons/welcome.emf"
|
||||
IDT_TRANSLATIONS RCDATA APP_LANG_PATH
|
||||
CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "./manifest/online-installer.exe.manifest"
|
||||
|
||||
|
||||
@ -182,7 +182,7 @@ void MainWindow::initInstallationMode(const std::wstring &url)
|
||||
/* Image section*/
|
||||
Label *wlcLbl = new Label(m_cenPanel);
|
||||
wlcLbl->resize(282, 200);
|
||||
wlcLbl->setImage(IDI_WELCOME, 282, 200);
|
||||
wlcLbl->setEMFIcon(IDI_WELCOME, 282, 200);
|
||||
wlcLbl->palette()->setColor(Palette::Background, Palette::Normal, 0xfefefe);
|
||||
wlcLbl->setProperty(Widget::HSizeBehavior, Widget::Expanding);
|
||||
wlcLbl->setProperty(Widget::VSizeBehavior, Widget::Fixed);
|
||||
|
||||
Reference in New Issue
Block a user