-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathresources.txt
110 lines (89 loc) · 6.15 KB
/
resources.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
help! - resources I looked at to help me with this program
// win32 basics/misc
http://www.winprog.org/tutorial/start.html
https://stackoverflow.com/questions/45208538/c-string-variable-in-text-macro
https://stackoverflow.com/questions/2382464/win32-full-screen-and-hiding-taskbar
https://stackoverflow.com/questions/1857292/how-do-you-get-the-location-in-x-y-coordinate-pixels-of-a-mouse-click
https://stackoverflow.com/questions/3970066/creating-a-transparent-window-in-c-win32
https://stackoverflow.com/questions/2886609/how-to-make-multiple-windows-using-win32-api
https://stackoverflow.com/questions/30668040/specifying-a-window-procedure-for-child-windows
https://stackoverflow.com/questions/15605655/transparent-win32-window-and-text
https://msdn.microsoft.com/en-us/library/windows/desktop/ms633504(v=vs.85).aspx
https://msdn.microsoft.com/en-us/library/windows/desktop/ms633548(v=vs.85).aspx // show/hide window
https://docs.microsoft.com/en-us/windows/win32/api/commdlg/nf-commdlg-getopenfilenamea
https://docs.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shbrowseforfoldera
https://stackoverflow.com/questions/1953339/how-to-get-full-path-from-shbrowseforfolder-function
// screen capture with GDI
https://github.com/ebonwheeler/Win32GrabScreen/blob/master/capture.cpp
// gif-making
https://github.com/ginsweater/gif-h/blob/master/gif.h
// dragging rectangle / rubberband
http://jdearden.gotdns.org/programming_windows_notebook/how_to_use_win32_api_to_draw_a_dragging_rectangle_on_screen_dc.html
https://stackoverflow.com/questions/13336225/win32-draw-a-dragging-rectangle
http://www.cplusplus.com/forum/beginner/11226/
https://www.codeproject.com/Articles/1988/Guide-to-WIN-Paint-for-Beginners
https://msdn.microsoft.com/en-us/library/windows/desktop/dd162492(v=vs.85).aspx
// creating multiple windows
http://www.cplusplus.com/forum/windows/154449/
// yes/no box, prompt user after area selected
http://forums.codeguru.com/showthread.php?445032-Determine-if-message-box-button-YES-or-NO-was-clicked-(MB_YESNO)
https://msdn.microsoft.com/en-us/library/windows/desktop/ms645505(v=vs.85).aspx
// regarding gif making and bmp files
https://stackoverflow.com/questions/9296059/read-pixel-value-in-bmp-file
https://stackoverflow.com/questions/29058452/how-to-convert-a-bmp-image-into-byte-array-using-c-program
http://www.cplusplus.com/articles/GwvU7k9E/
http://paulbourke.net/dataformats/bmp/
https://stackoverflow.com/questions/5345803/does-gdi-have-standard-image-encoder-clsids
http://www.dragonwins.com/domains/getteched/bmp/bmpfileformat.htm
http://www.di.unito.it/~marcog/SM/BMPformat-Wiki.pdf
https://www.codeguru.com/cpp/g-m/bitmap/article.php/c4909/Exploring-the-Internal-Structure-of-a-24Bit-Uncompressed-Bitmap-File.htm
// did you know BMP image data is stored upside down!?
https://stackoverflow.com/questions/8346115/why-are-bmps-stored-upside-down
// about resizing bmps
http://colonelpanic.net/2010/11/resizing-an-image-with-gdi-with-cpp/
// make the gui look better
https://www.transmissionzero.co.uk/computing/win32-apps-with-mingw/
http://geekthis.net/post/visual-styles-in-win32-api-c-gcc-mingw/
https://stackoverflow.com/questions/3275989/disable-window-resizing-win32
https://msdn.microsoft.com/en-us/library/windows/desktop/aa374191(v=vs.85).aspx
https://stackoverflow.com/questions/221411/how-can-i-specify-a-font-for-a-window-created-through-createwindow
https://social.msdn.microsoft.com/Forums/en-US/079f74f3-6e40-47d0-a083-0cb6f9b54cdd/sendmessage-to-set-fonts?forum=Vsexpressvc
// string to wchar (i.e. when passing a string for a file path to a gdi function like the Bitmap::Bitmap() constructor)
https://stackoverflow.com/questions/246806/i-want-to-convert-stdstring-into-a-const-wchar-t/246818
// memefying/adding a caption
https://msdn.microsoft.com/en-us/library/windows/desktop/ms535993(v=vs.85).aspx
https://msdn.microsoft.com/en-us/library/windows/desktop/ms536170(v=vs.85).aspx
https://stackoverflow.com/questions/7299196/drawing-text-with-gdi
https://stackoverflow.com/questions/44265273/drawtext-with-outline-using-gdi-c
https://www.codeproject.com/Articles/42529/Outline-Text#singleoutline1 -> very helpful!
// getting current time
https://stackoverflow.com/questions/997512/string-representation-of-time-t
// capturing screen cursor
https://stackoverflow.com/questions/1628919/capture-screen-shot-with-mouse-cursor
// processing might take a while, but Windows thinks application is stuck and not responding. help?
https://stackoverflow.com/questions/402832/avoiding-not-responding-label-in-windows-while-processing-lots-of-data-in-on
https://docs.microsoft.com/en-us/windows/desktop/win7appqual/preventing-hangs-in-windows-applications
// win32 threading basics
https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createthread
https://docs.microsoft.com/en-us/windows/win32/api/handleapi/nf-handleapi-closehandle
// threads can't access the window (i.e. they can't get dialog text)
https://stackoverflow.com/questions/42317343/c-updating-windows-window-from-async-thread
https://stackoverflow.com/questions/8735830/c-multithreaded-windows-gui-accessing-the-forms
https://stackoverflow.com/questions/13505467/best-way-to-update-progress-bar-from-thread
https://docs.microsoft.com/en-us/windows/desktop/winmsg/using-messages-and-message-queues
http://www.cplusplus.com/forum/windows/107251/
https://blogs.msdn.microsoft.com/oldnewthing/20080424-00/?p=22603 // possibly relevant...
// image filtering
https://blog.saush.com/2011/04/20/edge-detection-with-the-sobel-operator-in-ruby/
https://blog.krum.io/k-d-trees/
https://github.com/z2oh/chromatic_confinement/blob/master/src/main.rs
https://stackoverflow.com/questions/1627305/nearest-neighbor-k-d-tree-wikipedia-proof/37107030#37107030
http://blog.ivank.net/fastest-gaussian-blur.html
// using smart ptrs with win32 threads (hint: just don't)
https://stackoverflow.com/questions/31187938/combining-stlc11-with-winapi
// unique ptrs
https://stackoverflow.com/questions/38038158/stdmake-unique-for-gdi-objects
/////////// TODO?
- move filters to separate files? refactor code a bit more
- error checking in thread? if something goes wrong put an error message
- can we check performance, memory leaks?