mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
GrabYourScreen: Updated to last U++ changes
git-svn-id: svn://ultimatepp.org/upp/trunk@10527 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
3435a9af5d
commit
e1d653a12c
1 changed files with 3 additions and 3 deletions
|
|
@ -95,11 +95,11 @@ void GrabScreen::ButGrab_Push() {
|
|||
|
||||
bool ret;
|
||||
if (swGrabMode.GetData() == 0)
|
||||
ret = Record_Desktop(editFileNameGrab, editTime, editFrameRate, opGrabMouse);
|
||||
ret = Record_Desktop(~editFileNameGrab, editTime, editFrameRate, opGrabMouse);
|
||||
else if (swGrabMode.GetData() == 1)
|
||||
ret = Record_Window(editFileNameGrab, editTime, GetWindowIdFromCaption(~editWindowTitle, false), editFrameRate, opGrabMouse);
|
||||
ret = Record_Window(~editFileNameGrab, editTime, GetWindowIdFromCaption(~editWindowTitle, false), editFrameRate, opGrabMouse);
|
||||
else if (swGrabMode.GetData() == 2)
|
||||
ret = Record_DesktopRectangle(editFileNameGrab, editTime, editLeft, editTop, editWidth, editHeight, editFrameRate, opGrabMouse);
|
||||
ret = Record_DesktopRectangle(~editFileNameGrab, editTime, editLeft, editTop, editWidth, editHeight, editFrameRate, opGrabMouse);
|
||||
else
|
||||
throw Exc("Unexpected value");
|
||||
if (!ret)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue