Skip to content

Commit 6901132

Browse files
author
Kodp
committed
initial commit/init release
1 parent 0e86369 commit 6901132

46 files changed

Lines changed: 2010 additions & 6 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,6 @@
3939

4040
# debug information files
4141
*.dwo
42+
43+
# Config files
44+
.ini

Makefile

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
CXX = g++
2+
WINDRES = windres
3+
4+
CXXFLAGS = -std=c++17 -O2 -Wall -Wextra -pedantic -Iinclude -MMD -MP
5+
LDFLAGS = -mwindows
6+
7+
SRCS = $(wildcard src/*.cpp)
8+
OBJS = $(SRCS:src/%.cpp=obj/%.o)
9+
DEPS = $(OBJS:.o=.d)
10+
11+
RES = resources.o manifest.o
12+
NAME = SimpleOverlay.exe
13+
14+
LIBS = -lcomctl32 -lcomdlg32 -lgdi32 -lgdiplus -luser32 -ldwmapi
15+
16+
all: $(NAME)
17+
18+
$(NAME): $(OBJS) $(RES)
19+
$(CXX) $(OBJS) $(RES) -o $(NAME) $(LDFLAGS) $(LIBS)
20+
21+
resources.o: resources.rc include/resource.h
22+
$(WINDRES) -Iinclude resources.rc -O coff -o resources.o
23+
24+
manifest.o: app.rc app.manifest
25+
$(WINDRES) app.rc -O coff -o manifest.o
26+
27+
obj/%.o: src/%.cpp
28+
if not exist obj mkdir obj
29+
$(CXX) $(CXXFLAGS) -c $< -o $@
30+
31+
clean:
32+
if exist obj rmdir /S /Q obj
33+
if exist resources.o del /Q resources.o
34+
if exist manifest.o del /Q manifest.o
35+
36+
fclean: clean
37+
if exist $(NAME) del /Q $(NAME)
38+
39+
re: fclean all
40+
41+
-include $(DEPS)
42+
43+
.PHONY: all clean fclean re

README.md

Lines changed: 34 additions & 6 deletions

app.manifest

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2+
3+
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
4+
5+
<assemblyIdentity
6+
version="1.0.0.0"
7+
processorArchitecture="*"
8+
name="SimpleOverlay"
9+
type="win32"/>
10+
11+
<description>SimpleOverlay</description>
12+
13+
<dependency>
14+
<dependentAssembly>
15+
<assemblyIdentity
16+
type="win32"
17+
name="Microsoft.Windows.Common-Controls"
18+
version="6.0.0.0"
19+
processorArchitecture="*"
20+
publicKeyToken="6595b64144ccf1df"
21+
language="*"/>
22+
</dependentAssembly>
23+
</dependency>
24+
25+
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
26+
<security>
27+
<requestedPrivileges>
28+
<requestedExecutionLevel
29+
level="asInvoker"
30+
uiAccess="false"/>
31+
</requestedPrivileges>
32+
</security>
33+
</trustInfo>
34+
35+
<application xmlns="urn:schemas-microsoft-com:asm.v3">
36+
<windowsSettings>
37+
<dpiAwareness>PerMonitorV2</dpiAwareness>
38+
</windowsSettings>
39+
</application>
40+
41+
</assembly>

app.rc

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
1 RT_MANIFEST "app.manifest"
2+
3+
VS_VERSION_INFO VERSIONINFO
4+
FILEVERSION 1,0,0,0
5+
PRODUCTVERSION 1,0,0,0
6+
FILEFLAGSMASK 0x3fL
7+
#ifdef _DEBUG
8+
FILEFLAGS 0x1L
9+
#else
10+
FILEFLAGS 0x0L
11+
#endif
12+
FILEOS 0x40004L
13+
FILETYPE 0x1L
14+
FILESUBTYPE 0x0L
15+
BEGIN
16+
BLOCK "StringFileInfo"
17+
BEGIN
18+
BLOCK "040904E4"
19+
BEGIN
20+
VALUE "CompanyName", "Kodp Company"
21+
VALUE "FileDescription", "Simple Overlay"
22+
VALUE "FileVersion", "1.0.0"
23+
VALUE "InternalName", "SimpleOverlay"
24+
VALUE "LegalCopyright", "Copyright (C) 2026 Kodp Company"
25+
VALUE "OriginalFilename", "SimpleOverlay.exe"
26+
VALUE "ProductName", "Simple Overlay"
27+
VALUE "ProductVersion", "1.0.0"
28+
END
29+
END
30+
31+
BLOCK "VarFileInfo"
32+
BEGIN
33+
VALUE "Translation", 0x0409, 1200
34+
END
35+
END

icons/BL.ico

3.7 KB
Binary file not shown.

icons/BR.ico

3.69 KB
Binary file not shown.

icons/TL.ico

3.63 KB
Binary file not shown.

icons/TR.ico

3.65 KB
Binary file not shown.

icons/app.ico

62.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)