Skip to content

Commit cd914be

Browse files
committed
add an icon for the win exe
1 parent fb5651b commit cd914be

File tree

5 files changed

+18
-5
lines changed

5 files changed

+18
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- fix tile edges with gtk_snapshot_set_snap() [kleisauke]
55
- better fallback if gtk snap is not there
66
- high-dpi support
7+
- icon for windows exe
78

89
## 9.0.11 2025/07/21
910

TODO

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
21
- try:
32

4-
load DICOM
5-
image / petterns / text
3+
image / patterns / text
4+
A1.font has no caption
65

7-
crash!
6+
tries to look up Workspaces.Preferences.PAINTBOX_FONT, not computed yet,
7+
backtracks?
88

9-
new classmodel_class_member_new() code
9+
Workspaces.Preferences.PAINTBOX_FONT evals to "Sans 12"
1010

1111
- get judder with rotate and images smaller than the window
1212

@@ -37,6 +37,8 @@
3737
hicolor/apps/256x256/org.libvips.nip4.png
3838
hicolor/apps/512x512/org.libvips.nip4.png
3939

40+
works for flatpak
41+
4042
# menu redesign
4143

4244
- maxpos, then create mark from coordinate should be two clicks

src/meson.build

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ resources = gnome.compile_resources(
1010
source_dir: 'gtk',
1111
)
1212

13+
# compile in an icon for a windows exe
14+
if host_machine.system() == 'windows'
15+
windows = import('windows')
16+
resources += windows.compile_resources(
17+
'nip4.rc',
18+
depend_files: 'nip4.ico',
19+
)
20+
endif
21+
1322
# headers for enum scanning
1423
headers = files(
1524
'tilesource.h',

src/nip4.ico

87.7 KB
Binary file not shown.

src/nip4.rc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
org.libvips.nip4 ICON "nip4.ico"

0 commit comments

Comments
 (0)