; --------------------------------------------------------------------------------------------; Copyright (c) Fantaisie Software. All rights reserved.; Dual licensed under the GPL and Fantaisie Software licenses.; See LICENSE and LICENSE-FANTAISIE in the project root for license information.; --------------------------------------------------------------------------------------------;; All this is much easier with 4.40 where a PB image is actually a GdkPixbuf with; full alpha information, so we can just use the gtk function directly.;CompilerIf #CompileLinuxCompilerIf #CompileLinuxQtImportC "Build/QtHelpers.a"QT_SetDefaultWindowIcon(*Image)EndImportCompilerEndIfUsePNGImageDecoder()If CatchImage(#IMAGE_LinuxWindowIcon, ?Image_LinuxWindowIcon); This applies the icon to all new windows, so no need to patch the OpenWindow() evenCompilerIf #CompileLinuxGtkgtk_window_set_default_icon_(ImageID(#IMAGE_LinuxWindowIcon))CompilerElseQT_SetDefaultWindowIcon(ImageID(#IMAGE_LinuxWindowIcon))CompilerEndIfEndIfDataSectionImage_LinuxWindowIcon:CompilerIf #SpiderBasicIncludeBinary "../PureBasicIDE/data/SpiderBasic/Logo_48x48.png"CompilerElseIncludeBinary "../PureBasicIDE/data/logo/PBLogoLinux.png"CompilerEndIfEndDataSectionCompilerEndIf
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。