diff options
author | cbdev <cb@cbcdn.com> | 2020-01-17 19:43:08 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2020-01-17 19:43:08 +0100 |
commit | fa738ea4a3d78046c100fd953f33bbc902821d67 (patch) | |
tree | e095cf18b8323364902842d83c73502815b9b8de | |
parent | 8c32598449895e506b4d0eab71be0abf219a62da (diff) | |
download | midimonster-fa738ea4a3d78046c100fd953f33bbc902821d67.tar.gz midimonster-fa738ea4a3d78046c100fd953f33bbc902821d67.tar.bz2 midimonster-fa738ea4a3d78046c100fd953f33bbc902821d67.zip |
Add project logo and initial Windows resource data
-rw-r--r-- | MIDIMonster.svg | 1 | ||||
-rw-r--r-- | Makefile | 9 | ||||
-rw-r--r-- | midimonster.ico | bin | 0 -> 5430 bytes | |||
-rw-r--r-- | midimonster.rc | 22 |
4 files changed, 30 insertions, 2 deletions
diff --git a/MIDIMonster.svg b/MIDIMonster.svg new file mode 100644 index 0000000..492feb5 --- /dev/null +++ b/MIDIMonster.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 631.89 593.32"><defs><style>.cls-1,.cls-5,.cls-6,.cls-7,.cls-8{fill:none;}.cls-1,.cls-3,.cls-5,.cls-6,.cls-7,.cls-8{stroke:#000;}.cls-1,.cls-7{stroke-linecap:round;stroke-linejoin:round;}.cls-1{stroke-width:29px;}.cls-2{fill:#fff;}.cls-3,.cls-5,.cls-6,.cls-8{stroke-miterlimit:10;}.cls-3,.cls-6{stroke-width:6px;}.cls-4{fill:#c1272d;}.cls-5{stroke-width:10px;}.cls-7{stroke-width:15px;}.cls-8{stroke-width:17px;}</style></defs><title>Asset 1</title><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><polyline class="cls-1" points="500.86 213.97 541.31 159.53 617.39 159.53"/><line class="cls-1" x1="609.5" y1="286.08" x2="533.42" y2="286.08"/><polyline class="cls-1" points="500.86 362.95 541.31 417.38 617.39 417.38"/><polyline class="cls-1" points="131.03 211.19 90.58 156.75 14.5 156.75"/><line class="cls-1" x1="22.38" y1="283.29" x2="98.46" y2="283.29"/><polyline class="cls-1" points="131.03 360.17 90.58 414.6 14.5 414.6"/><path class="cls-2" d="M314.07,504.05c-58.86,0-109.17-17-145.48-49.09-38.94-34.44-59.52-85.37-59.52-147.29,0-132.13,92-239.62,205-239.62s205,107.49,205,239.62c0,61.92-20.59,112.85-59.53,147.29-36.31,32.11-86.62,49.09-145.47,49.09"/><path class="cls-3" d="M315.94,79.37a174.23,174.23,0,0,1,77.85,18.37c23.81,11.77,45.2,28.63,63.57,50.1a238.46,238.46,0,0,1,42.87,74.31,266.53,266.53,0,0,1,15.71,91c0,31-5.2,59.17-15.48,83.64a161.26,161.26,0,0,1-42.06,59c-17.67,15.63-39,27.68-63.45,35.82-24.08,8-50.66,12.09-79,12.09s-54.92-4.07-79-12.09c-24.43-8.14-45.78-20.19-63.46-35.82a161.49,161.49,0,0,1-42.06-59c-10.27-24.47-15.48-52.61-15.48-83.64a266.54,266.54,0,0,1,15.72-91,238.63,238.63,0,0,1,42.86-74.31c18.37-21.47,39.76-38.33,63.58-50.1a174.22,174.22,0,0,1,77.84-18.37m0-11.69c-116,0-210,109.9-210,245.47s94,202.22,210,202.22,210-66.66,210-202.22-94-245.47-210-245.47"/><path class="cls-2" d="M314.81,481.84c-62.88,0-112-12.3-145.88-36.55a131.19,131.19,0,0,1-43.22-52.12c-10.55-22.74-15.9-50.32-15.9-82a281.52,281.52,0,0,1,2.55-37.78A210.48,210.48,0,0,0,181.71,367C220,396.23,266,411.71,314.81,411.71s94.87-15.48,133.1-44.76a210.42,210.42,0,0,0,69.36-93.55,281.52,281.52,0,0,1,2.54,37.78c0,31.67-5.35,59.25-15.9,82a131.25,131.25,0,0,1-43.21,52.12c-33.92,24.25-83,36.55-145.89,36.55"/><path d="M514.26,293.75c.37,5.79.55,11.61.55,17.43,0,30.68-5.14,57.33-15.29,79.2a125.8,125.8,0,0,1-41.43,49.92C425,464,376.76,476,314.81,476s-110.15-12-143.27-35.7a125.63,125.63,0,0,1-41.43-49.92c-10.15-21.87-15.3-48.52-15.3-79.2,0-5.82.19-11.64.56-17.43a212.31,212.31,0,0,0,15.3,26.77A216.93,216.93,0,0,0,179,371.84a221,221,0,0,0,62.81,33.62,226.65,226.65,0,0,0,146.07,0,220.8,220.8,0,0,0,62.8-33.62A217.18,217.18,0,0,0,499,320.52a212.31,212.31,0,0,0,15.3-26.77M518.65,252C496,340.35,413.33,405.86,314.81,405.86S133.64,340.35,111,252a285.38,285.38,0,0,0-6.17,59.2c0,135.57,94,176.51,210,176.51s210-40.94,210-176.51a285.38,285.38,0,0,0-6.16-59.2"/><path class="cls-4" d="M315,311.62c-37.35,0-67.73-31-67.73-69.09a70.19,70.19,0,0,1,5.35-26.89c17.92,11.43,39.93,17.65,62.91,17.65,22.59,0,44.31-6,62.08-17.12a70.34,70.34,0,0,1,5.13,26.36c0,38.1-30.39,69.09-67.74,69.09"/><path d="M256.52,226.36a129.21,129.21,0,0,0,117,.49,63,63,0,0,1,2,15.68c0,34.06-27.17,61.77-60.56,61.77s-60.55-27.71-60.55-61.77a63.22,63.22,0,0,1,2.11-16.17m-6.7-21.52a77.09,77.09,0,0,0-9.77,37.69c0,42.2,33.54,76.41,74.91,76.41s74.92-34.21,74.92-76.41a77.21,77.21,0,0,0-9.45-37.13c-17,12.75-39.83,20.56-64.94,20.56-25.47,0-48.59-8-65.67-21.12"/><path d="M315,278.33a16,16,0,1,1,15.64-16,15.82,15.82,0,0,1-15.64,16"/><path d="M315,257.82a8.63,8.63,0,1,1-8.46,8.63,8.55,8.55,0,0,1,8.46-8.63m0-14.64a23.28,23.28,0,1,0,22.82,23.27A23.05,23.05,0,0,0,315,243.18"/><path class="cls-5" d="M230.47,190.5c15.74,24.78,47.81,41.77,84.84,41.77s69.1-17,84.84-41.77"/><path d="M464.31,144.62a195.47,195.47,0,0,0,4-65.46,187.08,187.08,0,0,0-20-66.63c.47,34.8-6.42,58.36-13,73.64-4.7,10.93-9.93,19.21-8,29.22,3,15.8,21.66,24.41,37,29.23"/><path class="cls-6" d="M464.31,144.62a195.47,195.47,0,0,0,4-65.46,187.08,187.08,0,0,0-20-66.63c.47,34.8-6.42,58.36-13,73.64-4.7,10.93-9.93,19.21-8,29.22C430.35,131.19,449,139.8,464.31,144.62Z"/><path d="M164.12,148.46a196,196,0,0,1-4-65.46,187.29,187.29,0,0,1,20-66.62c-.46,34.79,6.43,58.36,13,73.64,4.71,10.92,9.93,19.21,8,29.22-3,15.8-21.66,24.41-37,29.22"/><path class="cls-6" d="M164.12,148.46a196,196,0,0,1-4-65.46,187.29,187.29,0,0,1,20-66.62c-.46,34.79,6.43,58.36,13,73.64,4.71,10.92,9.93,19.21,8,29.22C198.08,135,179.46,143.65,164.12,148.46Z"/><path class="cls-2" d="M188.65,456.62c-5.16,16-38.86,50.26-38.39,50.26,0,0-16.81-33.75-21.33-50.26-28.63-104.56-18.44-166.75-18.44-166.75l77.72,83.29s6.52,64.53.44,83.46"/><path class="cls-7" d="M188.65,456.62c-5.16,16-38.86,50.26-38.39,50.26,0,0-16.81-33.75-21.33-50.26-28.63-104.56-18.44-166.75-18.44-166.75l77.72,85.33S194.73,437.69,188.65,456.62Z"/><path class="cls-2" d="M273.88,511.59c-5.45,16.05-41,50.26-40.5,50.26,0,0-35.88-34.08-41.5-50.26-11.07-31.85-.46-140.58-.46-140.58l82,38.57s8.27,79,.46,102"/><path class="cls-7" d="M273.88,511.59c-1.75,5.17-44.7,50.26-40.5,50.26,0,0-35.88-34.08-41.5-50.26-11.07-31.85-.46-137.52-.46-137.52l82,38.57S281.69,488.6,273.88,511.59Z"/><path class="cls-2" d="M441.47,456.65c5.15,16.05,38.86,50.27,38.38,50.27,0,0,16.82-33.75,21.34-50.27,28.62-104.56,21.46-169,21.46-169l-77.72,85.32s-9.55,64.8-3.46,83.72"/><path class="cls-7" d="M441.47,456.65c5.15,16.05,38.86,50.27,38.38,50.27,0,0,16.82-33.75,21.34-50.27,28.62-104.56,18.43-166.74,18.43-166.74L441.9,375.24S435.38,437.73,441.47,456.65Z"/><path class="cls-2" d="M356.59,512.18c5.45,16,41,50.26,40.5,50.26,0,0,35.88-34.08,41.5-50.26,11.07-31.86.46-137.53.46-137.53l-82,38.58s-8.27,76-.46,98.95"/><path class="cls-7" d="M356.59,512.18c2.68,7.88,43.78,50.26,40.5,50.26,0,0,35.88-34.08,41.5-50.26,11.07-31.86.46-140.59.46-140.59l-82,38.58S348.78,489.19,356.59,512.18Z"/><path class="cls-2" d="M280.81,538c5.45,16,33.78,47.87,33.28,47.87,0,0,35.88-34.09,41.5-50.27,11.07-31.85,1.22-125,1.22-125h-80S273,515,280.81,538"/><path class="cls-7" d="M280.81,538c5.45,16,33.78,47.87,33.28,47.87,0,0,35.88-34.09,41.5-50.27,11.07-31.85,1.22-129.09,1.22-129.09h-80S273,515,280.81,538Z"/><path d="M202.77,459.63H170.86c-2.23,0-4-2.38-4-5.3l.53-94.57c0-4.24,3.6-6.76,6.31-4.45l31.86,27.14a6,6,0,0,1,1.86,4.55l-.55,67.34c0,2.93-1.85,5.29-4.09,5.29"/><path d="M291.74,459.63H259.82a3.65,3.65,0,0,1-3-1.17,4.6,4.6,0,0,1-1-1.85l.53-55.07c0-2.41,38.17,12.93,38.17,12.93,1.18.57,1.88-.79,1.86.26l-.54,41.89c0,1.67-1.85,3-4.09,3"/><path d="M428.19,459.45h31.92c2.23,0,4-2.38,4-5.3l-1.31-97.38c0-4.23-2.83-.45-5.54,1.86l-31.85,27.14c-1.18,1-1.62-1.62-1.61.22l.29,68.17c0,2.93,1.85,5.29,4.09,5.29"/><path class="cls-8" d="M113.29,287.61c37.54,70.69,114,119.14,202.34,119.14S480.44,358.3,518,287.61"/><ellipse class="cls-2" cx="314.81" cy="266.23" rx="6.15" ry="6.28"/></g></g></svg>
\ No newline at end of file @@ -18,6 +18,7 @@ midimonster: LDLIBS = -ldl ifneq "$(GITVERSION)" "" midimonster: CFLAGS += -DMIDIMONSTER_VERSION=\"$(GITVERSION)\" midimonster.exe: CFLAGS += -DMIDIMONSTER_VERSION=\"$(GITVERSION)\" +resource.o: RCCFLAGS += -DMIDIMONSTER_VERSION=\\\"$(GITVERSION)\\\" endif # Work around strange linker passing convention differences in Linux and OSX @@ -54,17 +55,21 @@ backends-full: midimonster: midimonster.c portability.h $(OBJS) $(CC) $(CFLAGS) $(LDFLAGS) $< $(OBJS) $(LDLIBS) -o $@ +resource.o: midimonster.rc + x86_64-w64-mingw32-windres $(RCCFLAGS) $< -o $@ --output-format=coff + midimonster.exe: export CC = x86_64-w64-mingw32-gcc midimonster.exe: CFLAGS += -Wno-format midimonster.exe: LDLIBS = -lws2_32 midimonster.exe: LDFLAGS += -Wl,--out-implib,libmmapi.a -midimonster.exe: midimonster.c portability.h $(OBJS) - $(CC) $(CFLAGS) $(LDFLAGS) $< $(OBJS) $(LDLIBS) -o $@ +midimonster.exe: midimonster.c portability.h $(OBJS) resource.o + $(CC) $(CFLAGS) $(LDFLAGS) $< $(OBJS) resource.o $(LDLIBS) -o $@ clean: $(RM) midimonster $(RM) midimonster.exe $(RM) libmmapi.a + $(RM) resource.o $(RM) $(OBJS) $(MAKE) -C backends clean diff --git a/midimonster.ico b/midimonster.ico Binary files differnew file mode 100644 index 0000000..012fef6 --- /dev/null +++ b/midimonster.ico diff --git a/midimonster.rc b/midimonster.rc new file mode 100644 index 0000000..45a88aa --- /dev/null +++ b/midimonster.rc @@ -0,0 +1,22 @@ +#include "midimonster.h" + +0 ICON "midimonster.ico" +1 VERSIONINFO +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904E4" + BEGIN + VALUE "CompanyName", "control8r" + VALUE "FileDescription", "MIDIMonster" + VALUE "InternalName", "MIDIMonster Core (Windows Build)" + VALUE "FileVersion", MIDIMONSTER_VERSION + VALUE "OriginalFilename", "midimonster.exe" + VALUE "ProductName", "MIDIMonster" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0409, 1252 + END +END |