|
// CaseInput.h -------------------------------------------------
...
private: // User declarations
int Case_flag; // 0: 앞면, 1: 뒷면
int ROI_flag1, ROI_flag2, ROI_flag3; // 선택영역 내부인지
bool IsDrawing;
double STX, STY; // 영역 확대율
int StartX[3];
int StartY[3];
int EndX[3];
int EndY[3];
...
// CaseInout.cpp -----------------------------------------------
...
void __fastcall TFormCaseInput::Shape1MouseUp(TObject *Sender,
TMouseButton Button, TShiftState Shift, int X, int Y)
{
...
StartX[0] = Shape1->Left; // 여기서 에러: Undefined Symbol 'StartX'
StartY[0] = Shape1->Top;
EndX[0] = Shape1->Width+StartX[0];
EndY[0] = Shape1->Height+StartY[0];
}
|