* Attaches a window to the application.
*
* @param[in] win A pointer to the window to attach
- * @return true if the window attached sucessfully, else false
+ * @return true if the window attached successfully, else false
*/
bool attachWindowController(WWindowController* win);
WPageSlideViewController();
/**
- * Retuns the class name string
+ * Returns the class name string
*
* @return class name
*/
* Creates the windows
* "onCreateWin" and "onCreateBaseLayout" will be called subsequently.
*
- * @return true if the windows created sucessfully, else false
+ * @return true if the windows created successfully, else false
* @see onCreateWin()
* @see onCreateBaseLayout()
*/
* Creates the windows but not be shown
* "onCreateWin" and "onCreateBaseLayout" will be called subsequently.
*
- * @return true if the windows created sucessfully, else false
+ * @return true if the windows created successfully, else false
* @see create()
* @see onCreateWin()
* @see onCreateBaseLayout()
* @param[in] baseObj WViewController instance to be attached
* @param[in] creationParam parameter to be passed as parameter of create method of the WViewController class
*
- * @return true if the base ui object attached sucessfully, else false
+ * @return true if the base ui object attached successfully, else false
* @see getBaseViewController()
*/
bool attachBaseViewController(WViewController* vc, void* creationParam);
break;
}
}
- WASSERT_EX(__pv->__windowController != nullptr, "Cannot find window controll.");
+ WASSERT_EX(__pv->__windowController != nullptr, "Cannot find window control.");
if (__pv->__name) { // for easy debugging
evas_object_name_set(__pv->__obj, __pv->__name);
bool CDrApp::onCreate()
{
- /* regitering sigterm */
+ /* registering sigterm */
if (signal(SIGTERM, CDrApp::_onSigtermHanlder) == SIG_IGN) {
WINFO("SIG_IGN SIGTERM");
signal(SIGTERM, SIG_IGN);
void saveImageBuffer(int w, int h);
void Clear(DrawingColor* pColor);
void SetDrawingProperty(DrawingColor* pColor);
- /* normal drawing + effect: stroke alpha and strke width changes */
+ /* normal drawing + effect: stroke alpha and stroke width changes */
void Draw(CLasso &lasso, double rw, double rh, int w, int h);
/* animation draw when undoing or redoing */
static Eina_Bool animationDraw(void *data, double pos);
{
struct Smart_Data *sd = (struct Smart_Data *) evas_object_smart_data_get(obj);
- /* Below line is commetned to enable selection of lasso crop region for the first time, if the code returns from here so called are not called */
+ /* Below line is commented to enable selection of lasso crop region for the first time, if the code returns from here so called are not called */
/* if ((sd->cRect.x == x) && (sd->cRect.y == y)) return; */
{
struct Smart_Data *sd = (struct Smart_Data *) evas_object_smart_data_get(obj);
- /* Below line is commetned to enable selection of lasso crop region for the first time, if the code returns from here so called are not called */
+ /* Below line is commented to enable selection of lasso crop region for the first time, if the code returns from here so called are not called */
/* if ((sd->cRect.w == w) && (sd->cRect.h == h)) return; */