This repo was created for subject "OOP" and have both labs and lectures
/// <summary>
/// Do something, when LB is unclicked
/// </summary>
/// <param name="hWnd"></param>
void MyEditor::OnLBup(HWND hWnd)
{
POINT pt;
GetCursorPos(&pt);
ScreenToClient(hWnd, &pt);
X2 = pt.x;
Y2 = pt.y;
isPressed = false;
pcshape[size]->Set(X1, Y1, X2, Y2);
size++;
InvalidateRect(hWnd, NULL, TRUE);
pcshape[size] = pcshape[size - 1]->Duplicate();
}
To get started...
- 🍴 Fork this repo!
- HACK AWAY! 🔨🔨🔨
- MIT license
- Copyright 2021 © VsIG.