| Revision | 39ad8ca175eb445bb136dafdedfd2d0b8a6fab8c (tree) |
|---|---|
| Time | 2012-03-13 16:21:15 |
| Author | qwerty2501 <qwerty2501@user...> |
| Commiter | qwerty2501 |
ボタン表示処理変更
| @@ -470,10 +470,13 @@ end: | ||
| 470 | 470 | VOID CCommentWriteWindow::ChangeSize(SIZE &size){ |
| 471 | 471 | |
| 472 | 472 | SIZE commentAnonymousButtonSize; |
| 473 | + RECT commentAnonymousButtonRect; | |
| 473 | 474 | SIZE commentWriteButtonSize; |
| 474 | - commentWriteButton.GetIdealSize(&commentWriteButtonSize); | |
| 475 | - anonymousButton.GetIdealSize(&commentAnonymousButtonSize); | |
| 476 | 475 | |
| 476 | + commentWriteButton.GetIdealSize(&commentWriteButtonSize); | |
| 477 | + anonymousButton.GetClientRect(&commentAnonymousButtonRect); | |
| 478 | + commentAnonymousButtonSize.cx = commentAnonymousButtonRect.right - commentAnonymousButtonRect.left; | |
| 479 | + commentAnonymousButtonSize.cy = commentAnonymousButtonRect.bottom - commentAnonymousButtonRect.top; | |
| 477 | 480 | |
| 478 | 481 | UINT_PTR defwindowCount = 0; |
| 479 | 482 | RECT commentPosBoxRect; |
| @@ -1,4 +1,4 @@ | ||
| 1 | 1 | cd /d %nlite% |
| 2 | 2 | |
| 3 | -cmd /c git pull privateForge master | |
| 3 | +cmd /c git pull origin master | |
| 4 | 4 | pause |