add pButtonUp method to State
add MainWindow::pButtonUp method
fix MainWindow::DiscardGraphicsResources
Revert "add MainWindow::pButtonUp method"

This reverts commit 8235ef8d9d7f083d1922e79e5db26bb327c97836.
Revert "add pButtonUp method to State"

This reverts commit 31d685b195019e1704a1997ac74dc0f71da58130.
add State::OnLBUTTONDOWN func
add State::OnMouseMove func
fix MainWindow::OnLBUTTONDOWN
add State::OnLBUTTONUP func
add State::keyUp func
add State::keyDown func