Skip to content

Commit

Permalink
Added icon - subject to change
Browse files Browse the repository at this point in the history
  • Loading branch information
fuelsoft committed Mar 6, 2020
1 parent b940550 commit b37e315
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
10 changes: 8 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,7 @@ int main(int argc, char * argv[]) {
return 0;
}

/*
TODO:
/* TODO:
* Remember window size and position
* Add key to set zoom to 1:1 pixel ratio
* Add key to change sampling mode
Expand All @@ -341,4 +340,11 @@ int main(int argc, char * argv[]) {
* Animated GIFs -> https://stackoverflow.com/questions/36267833/c-sdl2-how-do-i-play-a-gif-in-sdl2/36410301#36410301
* Zoom on mouse instead of window center
* Stop image from being moved off-screen
* Possible: Image deletion?
* Possible: Image rotation?
*/

/* KNOWN PROBLEMS:
* ICO: Files stored as "NEW PNG" type do not load with SDL_image
* ICO: Files with partial transparent pixels do not render correctly.
*/
24 changes: 24 additions & 0 deletions meta/meta.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
1 VERSIONINFO
FILEVERSION 0,1,0,0
PRODUCTVERSION 0,1,0,0
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904E4"
BEGIN
VALUE "CompanyName", "Fuelsoft Development"
VALUE "FileDescription", "Image Viewer"
VALUE "FileVersion", "0.1.0"
VALUE "InternalName", "viewer"
VALUE "LegalCopyright", "Nick Wilson OSS - 2020"
VALUE "OriginalFilename", "Viewer.exe"
VALUE "ProductName", "Image Viewer"
VALUE "ProductVersion", "0.1.0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x0409, 1252
END
END
2 ICON "viewer.ico"
Binary file added meta/viewer.ico
Binary file not shown.

0 comments on commit b37e315

Please sign in to comment.