summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/UMainForm.h
diff options
context:
space:
mode:
authorRené Schümann <white06tiger@gmail.com>2013-11-05 16:34:51 +0000
committerRené Schümann <white06tiger@gmail.com>2013-11-05 16:34:51 +0000
commit4d110f6db480ccb999e2089aff73a85e6e349ab5 (patch)
tree764613f64f1a0c02da8f324cff10e2824de35efd /plugins/SendScreenshotPlus/src/UMainForm.h
parentaa7f145a48708f577f6386f7aba86470f36cab26 (diff)
// final commit (5 out of 5)
+ added new window selection highlighting (removed old one and functions related to it) + fully added functionality to capture child windows (this also enables to capture singe controls such as buttons or entire groups) hold SHIFT or ALT while selecting a window to capture child windows *+ new target icon (made by me :P better visibility on black and white surfaces) git-svn-id: http://svn.miranda-ng.org/main/trunk@6790 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src/UMainForm.h')
-rw-r--r--plugins/SendScreenshotPlus/src/UMainForm.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/SendScreenshotPlus/src/UMainForm.h b/plugins/SendScreenshotPlus/src/UMainForm.h
index 9ad0a146e7..06c513708a 100644
--- a/plugins/SendScreenshotPlus/src/UMainForm.h
+++ b/plugins/SendScreenshotPlus/src/UMainForm.h
@@ -78,19 +78,18 @@ class TfrmMain{
private:
HWND m_hWnd;
HANDLE m_hContact;
- bool m_bSelectingWindow, m_bDeleteAfterSend;
+ bool m_bDeleteAfterSend;
bool m_bFormAbout, m_bFormEdit;
HWND m_hTargetWindow, m_hLastWin;
+ HWND m_hTargetHighlighter;
LPTSTR m_FDestFolder;
LPTSTR m_pszFile;
LPTSTR m_pszFileDesc;
FIBITMAP* m_Screenshot;//Graphics::TBitmap *Screenshot;
RGBQUAD m_AlphaColor;
- HCURSOR m_hCursor;
CSend* m_cSend;
void chkTimedClick();
- void imgTargetMouseDown();
void imgTargetMouseUp();
void btnAboutClick();
void btnAboutOnCloseWindow(HWND hWnd);
@@ -130,7 +129,6 @@ class TfrmMain{
void UMevent(WPARAM wParam, LPARAM lParam);
void UMClosing(WPARAM wParam, LPARAM lParam);
- LRESULT UMTab1(WPARAM wParam, LPARAM lParam);
static INT_PTR CALLBACK DlgProc_CaptureWindow (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
static INT_PTR CALLBACK DlgProc_CaptureDesktop(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);