mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0031939: Coding - correction of spelling errors in comments [part 6]
Fix various typos Fixed via `codespell v2.1.dev
This commit is contained in:
@@ -75,7 +75,7 @@ public: //! @name Tcl variables management tools
|
||||
//! variable exist.
|
||||
Standard_EXPORT static Standard_Boolean Get (const Standard_CString Name, Standard_Real& val);
|
||||
|
||||
//! Sets a TCL sting variable
|
||||
//! Sets a TCL string variable
|
||||
Standard_EXPORT static void Set (const Standard_CString Name, const Standard_CString val);
|
||||
|
||||
public: //! @name argument parsing tools
|
||||
|
@@ -87,7 +87,7 @@ static Standard_Integer chronom(Draw_Interpretor& di,
|
||||
Draw_Chrono = (*a[1] == '1');
|
||||
|
||||
if (Draw_Chrono) di << "Chronometers activated.\n";
|
||||
else di << "Chronometers desactivated.\n";
|
||||
else di << "Chronometers deactivated.\n";
|
||||
}
|
||||
else {
|
||||
Handle(Draw_Drawable3D) D = Draw::Get(a[1]);
|
||||
@@ -155,7 +155,7 @@ static Standard_Integer dchronom(Draw_Interpretor& theDI,
|
||||
Draw_Chrono = (*a[1] == '1');
|
||||
|
||||
if (Draw_Chrono) theDI << "Chronometers activated.\n";
|
||||
else theDI << "Chronometers desactivated.\n";
|
||||
else theDI << "Chronometers deactivated.\n";
|
||||
}
|
||||
else {
|
||||
Handle(Draw_Drawable3D) D = Draw::Get(a[1]);
|
||||
|
@@ -110,7 +110,7 @@ public:
|
||||
//! display is drawing.
|
||||
Standard_EXPORT Standard_Integer ViewId() const;
|
||||
|
||||
//! Returs True if the last drawing operations
|
||||
//! Returns True if the last drawing operations
|
||||
//! generated a pick hit. When HasPicked is True the
|
||||
//! Drawing should be resumed.
|
||||
//!
|
||||
|
@@ -41,7 +41,7 @@ public:
|
||||
|
||||
Standard_EXPORT virtual void DrawOn (Draw_Display& dis) const = 0;
|
||||
|
||||
//! Returs True if the pick is outside the box
|
||||
//! Returns True if the pick is outside the box
|
||||
Standard_EXPORT virtual Standard_Boolean PickReject (const Standard_Real X, const Standard_Real Y, const Standard_Real Prec) const;
|
||||
|
||||
//! For variable copy.
|
||||
|
@@ -15,7 +15,7 @@
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
// Defines common framework for declaration of main/WinMain functions
|
||||
// for executbales on UNIX and WNT that extends DRAW Test Harness.
|
||||
// for executables on UNIX and WNT that extends DRAW Test Harness.
|
||||
|
||||
// In order to create executable in DRAW environment, in the executable
|
||||
// the following line should be added:
|
||||
|
@@ -51,7 +51,7 @@ public:
|
||||
|
||||
Standard_EXPORT void DrawOn (Draw_Display& dis) const Standard_OVERRIDE;
|
||||
|
||||
//! Returs always false
|
||||
//! Returns always false
|
||||
Standard_EXPORT virtual Standard_Boolean PickReject (const Standard_Real X, const Standard_Real Y, const Standard_Real Prec) const Standard_OVERRIDE;
|
||||
|
||||
|
||||
|
@@ -51,7 +51,7 @@ public:
|
||||
|
||||
Standard_EXPORT void DrawOn (Draw_Display& dis) const Standard_OVERRIDE;
|
||||
|
||||
//! Returs always false
|
||||
//! Returns always false
|
||||
Standard_EXPORT virtual Standard_Boolean PickReject (const Standard_Real X, const Standard_Real Y, const Standard_Real Prec) const Standard_OVERRIDE;
|
||||
|
||||
|
||||
|
@@ -31,7 +31,7 @@ class Draw_Drawable3D;
|
||||
class Draw_Number;
|
||||
DEFINE_STANDARD_HANDLE(Draw_Number, Draw_Drawable3D)
|
||||
|
||||
//! To store nummbers in variables.
|
||||
//! To store numbers in variables.
|
||||
class Draw_Number : public Draw_Drawable3D
|
||||
{
|
||||
|
||||
|
@@ -49,7 +49,7 @@ static Standard_Boolean autodisp = Standard_True;
|
||||
static Standard_Boolean repaint2d,repaint3d;
|
||||
|
||||
//===============================================
|
||||
// dictionnary of variables
|
||||
// dictionary of variables
|
||||
// Variables are stored in a map Integer, Transient
|
||||
// The Integer Value is the content of the TCl variable
|
||||
//===============================================
|
||||
|
@@ -933,8 +933,8 @@ void Draw_Window::WUnmapNotify()
|
||||
|
||||
|
||||
//======================================================
|
||||
// funtion : ProcessEvents
|
||||
// purpose : process pending X events
|
||||
// function : ProcessEvents
|
||||
// purpose : process pending X events
|
||||
//======================================================
|
||||
|
||||
static void ProcessEvents(ClientData,int)
|
||||
@@ -966,7 +966,7 @@ static void ProcessEvents(ClientData,int)
|
||||
}
|
||||
|
||||
//======================================================
|
||||
// funtion : GetNextEvent()
|
||||
// function : GetNextEvent()
|
||||
// purpose :
|
||||
//======================================================
|
||||
void GetNextEvent(Event& ev)
|
||||
@@ -995,7 +995,7 @@ void GetNextEvent(Event& ev)
|
||||
#endif //__APPLE__
|
||||
|
||||
//======================================================
|
||||
// funtion :Run_Appli
|
||||
// function :Run_Appli
|
||||
// purpose :
|
||||
//======================================================
|
||||
|
||||
@@ -1092,8 +1092,8 @@ void Run_Appli(Standard_Boolean (*interprete) (const char*))
|
||||
}
|
||||
|
||||
//======================================================
|
||||
// funtion : Init_Appli()
|
||||
// purpose :
|
||||
// function : Init_Appli()
|
||||
// purpose :
|
||||
//======================================================
|
||||
Standard_Boolean Init_Appli()
|
||||
{
|
||||
@@ -1166,8 +1166,8 @@ Standard_Boolean Init_Appli()
|
||||
}
|
||||
|
||||
//======================================================
|
||||
// funtion : Destroy_Appli()
|
||||
// purpose :
|
||||
// function : Destroy_Appli()
|
||||
// purpose :
|
||||
//======================================================
|
||||
void Destroy_Appli()
|
||||
{
|
||||
@@ -1343,7 +1343,7 @@ HPEN colorPenTab[MAXCOLOR] = {CreatePen(PS_SOLID, PENWIDTH, RGB(255,255,255)),
|
||||
CreatePen(PS_SOLID, PENWIDTH, RGB(240,230,140)),
|
||||
CreatePen(PS_SOLID, PENWIDTH, RGB(255,127,80))};
|
||||
|
||||
// Correspondance mode X11 and WINDOWS NT
|
||||
// Correspondence mode X11 and WINDOWS NT
|
||||
int modeTab[16] = {R2_BLACK, R2_MASKPEN, R2_MASKPENNOT, R2_COPYPEN,
|
||||
R2_MASKNOTPEN, R2_NOP, R2_XORPEN, R2_MERGEPEN,
|
||||
R2_NOTMASKPEN, R2_NOTXORPEN, R2_NOT, R2_MERGEPENNOT,
|
||||
|
@@ -73,7 +73,7 @@ class Draw_Window
|
||||
|
||||
/**
|
||||
* This method registers a callback function that will be called just before exit.
|
||||
* This is usefull especially for Windows platform, on which Draw is normally
|
||||
* This is useful especially for Windows platform, on which Draw is normally
|
||||
* self-terminated instead of exiting.
|
||||
*/
|
||||
Standard_EXPORT static void AddCallbackBeforeTerminate(FCallbackBeforeTerminate theCB);
|
||||
@@ -179,7 +179,7 @@ class Draw_Window
|
||||
};
|
||||
|
||||
//======================================================
|
||||
// funtion : Run_Appli
|
||||
// function : Run_Appli
|
||||
// purpose : run the application
|
||||
// interp will be called to interpret a command
|
||||
// and return True if the command is complete
|
||||
@@ -188,19 +188,19 @@ class Draw_Window
|
||||
void Run_Appli(Standard_Boolean (*inteprete) (const char*));
|
||||
|
||||
//======================================================
|
||||
// funtion : Init_Appli
|
||||
// function : Init_Appli
|
||||
// purpose :
|
||||
//======================================================
|
||||
Standard_Boolean Init_Appli();
|
||||
|
||||
//======================================================
|
||||
// funtion : Destroy_Appli()
|
||||
// function : Destroy_Appli()
|
||||
// purpose :
|
||||
//======================================================
|
||||
void Destroy_Appli();
|
||||
|
||||
//======================================================
|
||||
// funtion : GetNextEvent()
|
||||
// function : GetNextEvent()
|
||||
// purpose :
|
||||
//======================================================
|
||||
void GetNextEvent(Event&);
|
||||
@@ -247,7 +247,7 @@ class Draw_Window
|
||||
|
||||
/**
|
||||
* This method registers a callback function that will be called just before exit.
|
||||
* This is usefull especially for Windows platform, on which Draw is normally
|
||||
* This is useful especially for Windows platform, on which Draw is normally
|
||||
* self-terminated instead of exiting.
|
||||
*/
|
||||
Standard_EXPORT static void AddCallbackBeforeTerminate(FCallbackBeforeTerminate theCB);
|
||||
@@ -323,7 +323,7 @@ private:
|
||||
};
|
||||
|
||||
//======================================================
|
||||
// funtion : Run_Appli
|
||||
// function : Run_Appli
|
||||
// purpose : run the application
|
||||
// interp will be called to interpret a command
|
||||
// and return True if the command is complete
|
||||
@@ -332,19 +332,19 @@ private:
|
||||
void Run_Appli(Standard_Boolean (*inteprete) (const char*));
|
||||
|
||||
//======================================================
|
||||
// funtion : Init_Appli
|
||||
// function : Init_Appli
|
||||
// purpose :
|
||||
//======================================================
|
||||
Standard_Boolean Init_Appli();
|
||||
|
||||
//======================================================
|
||||
// funtion : Destroy_Appli()
|
||||
// function : Destroy_Appli()
|
||||
// purpose :
|
||||
//======================================================
|
||||
void Destroy_Appli();
|
||||
|
||||
//======================================================
|
||||
// funtion : GetNextEvent()
|
||||
// function : GetNextEvent()
|
||||
// purpose :
|
||||
//======================================================
|
||||
void GetNextEvent (Standard_Boolean theWait,
|
||||
@@ -408,7 +408,7 @@ public:
|
||||
|
||||
/**
|
||||
* This method registers a callback function that will be called just before exit.
|
||||
* This is usefull especially for Windows platform, on which Draw is normally
|
||||
* This is useful especially for Windows platform, on which Draw is normally
|
||||
* self-terminated instead of exiting.
|
||||
*/
|
||||
Standard_EXPORT static void AddCallbackBeforeTerminate(FCallbackBeforeTerminate theCB);
|
||||
|
Reference in New Issue
Block a user