mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024355: Compiler Warning level 4 for MFC samples
Some warnings were removed from MFC samples All warnings of sample projects with warning level 4 were fixed on VC9 Warnings level increased to -W4 in projects of MFC samples; sample ReadMe files added to documentation Changes in Viewer2dDoc.cpp and OcafDoc.cpp were restored. Minor corrections in documentation
This commit is contained in:
@@ -24,35 +24,35 @@ public:
|
||||
Handle(V3d_Viewer) GetViewer() { return myViewer; }
|
||||
|
||||
//Events
|
||||
virtual void DragEvent (const Standard_Integer theMouseX,
|
||||
const Standard_Integer theMouseY,
|
||||
const Standard_Integer theState,
|
||||
const Handle(V3d_View)& theView) {}
|
||||
virtual void DragEvent (const Standard_Integer /*theMouseX*/,
|
||||
const Standard_Integer /*theMouseY*/,
|
||||
const Standard_Integer /*theState*/,
|
||||
const Handle(V3d_View)& /*theView*/) {}
|
||||
|
||||
virtual void InputEvent (const Standard_Integer theMouseX,
|
||||
const Standard_Integer theMouseY,
|
||||
const Handle(V3d_View)& theView) {}
|
||||
virtual void InputEvent (const Standard_Integer /*theMouseX*/,
|
||||
const Standard_Integer /*theMouseY*/,
|
||||
const Handle(V3d_View)& /*theView*/) {}
|
||||
|
||||
virtual void MoveEvent (const Standard_Integer theMouseX,
|
||||
const Standard_Integer theMouseY,
|
||||
const Handle(V3d_View)& theView) {}
|
||||
virtual void MoveEvent (const Standard_Integer /*theMouseX*/,
|
||||
const Standard_Integer /*theMouseY*/,
|
||||
const Handle(V3d_View)& /*theView*/) {}
|
||||
|
||||
virtual void ShiftMoveEvent (const Standard_Integer theMouseX,
|
||||
const Standard_Integer theMouseY,
|
||||
const Handle(V3d_View)& theView) {}
|
||||
virtual void ShiftMoveEvent (const Standard_Integer /*theMouseX*/,
|
||||
const Standard_Integer /*theMouseY*/,
|
||||
const Handle(V3d_View)& /*theView*/) {}
|
||||
|
||||
virtual void ShiftDragEvent (const Standard_Integer theMouseX,
|
||||
const Standard_Integer theMouseY,
|
||||
const Standard_Integer theState,
|
||||
const Handle(V3d_View)& theView) {}
|
||||
virtual void ShiftDragEvent (const Standard_Integer /*theMouseX*/,
|
||||
const Standard_Integer /*theMouseY*/,
|
||||
const Standard_Integer /*theState*/,
|
||||
const Handle(V3d_View)& /*theView*/) {}
|
||||
|
||||
virtual void ShiftInputEvent(const Standard_Integer theMouseX,
|
||||
const Standard_Integer theMouseY,
|
||||
const Handle(V3d_View)& theView) {}
|
||||
virtual void ShiftInputEvent(const Standard_Integer /*theMouseX*/,
|
||||
const Standard_Integer /*theMouseY*/,
|
||||
const Handle(V3d_View)& /*theView*/) {}
|
||||
|
||||
virtual void Popup (const Standard_Integer theMouseX,
|
||||
const Standard_Integer theMouseY,
|
||||
const Handle(V3d_View)& theView) {}
|
||||
virtual void Popup (const Standard_Integer /*theMouseX*/,
|
||||
const Standard_Integer /*theMouseY*/,
|
||||
const Handle(V3d_View)& /*theView*/) {}
|
||||
protected:
|
||||
|
||||
Handle(V3d_Viewer) myViewer;
|
||||
|
Reference in New Issue
Block a user