KEY_MODIFIER_DIRECTION_LEFT, /**< drag left */
KEY_MODIFIER_DIRECTION_RIGHT, /**< drag right */
KEY_MODIFIER_DIRECTION_UP, /**< drag up */
- KEY_MODIFIER_DIRECTION_DOWN, /**< drage down */
+ KEY_MODIFIER_DIRECTION_DOWN, /**< drag down */
KEY_MODIFIER_DIRECTION_UP_LEFT, /**< drag up left */
KEY_MODIFIER_DIRECTION_UP_RIGHT, /**< drag up right */
KEY_MODIFIER_DIRECTION_DOWN_LEFT, /**< drag down left */
- KEY_MODIFIER_DIRECTION_DOWN_RIGHT, /**< drage down right */
+ KEY_MODIFIER_DIRECTION_DOWN_RIGHT, /**< drag down right */
KEY_MODIFIER_DIRECTION_LEFT_LONG, /**< drag left */
KEY_MODIFIER_DIRECTION_RIGHT_LONG, /**< drag right */
KEY_MODIFIER_DIRECTION_UP_LONG, /**< drag up */
- KEY_MODIFIER_DIRECTION_DOWN_LONG, /**< drage down */
+ KEY_MODIFIER_DIRECTION_DOWN_LONG, /**< drag down */
KEY_MODIFIER_DIRECTION_UP_LEFT_LONG, /**< drag up left */
KEY_MODIFIER_DIRECTION_UP_RIGHT_LONG, /**< drag up right */
KEY_MODIFIER_DIRECTION_DOWN_LEFT_LONG, /**< drag down left */
- KEY_MODIFIER_DIRECTION_DOWN_RIGHT_LONG, /**< drage down right */
+ KEY_MODIFIER_DIRECTION_DOWN_RIGHT_LONG, /**< drag down right */
KEY_MODIFIER_DIRECTION_LEFT_RETURN, /**< drag left */
KEY_MODIFIER_DIRECTION_RIGHT_RETURN, /**< drag right */
KEY_MODIFIER_DIRECTION_UP_RETURN, /**< drag up */
- KEY_MODIFIER_DIRECTION_DOWN_RETURN, /**< drage down */
+ KEY_MODIFIER_DIRECTION_DOWN_RETURN, /**< drag down */
KEY_MODIFIER_DIRECTION_UP_LEFT_RETURN, /**< drag up left */
KEY_MODIFIER_DIRECTION_UP_RIGHT_RETURN, /**< drag up right */
KEY_MODIFIER_DIRECTION_DOWN_LEFT_RETURN, /**< drag down left */
- KEY_MODIFIER_DIRECTION_DOWN_RIGHT_RETURN, /**< drage down right */
+ KEY_MODIFIER_DIRECTION_DOWN_RIGHT_RETURN, /**< drag down right */
KEY_MODIFIER_DIRECTION_CURVE_UP_LEFT, /**< drag up left */
KEY_MODIFIER_DIRECTION_CURVE_UP_RIGHT, /**< drag up right */
KEY_MODIFIER_DIRECTION_CURVE_DOWN_LEFT, /**< drag down left */
- KEY_MODIFIER_DIRECTION_CURVE_DOWN_RIGHT, /**< drage down right */
+ KEY_MODIFIER_DIRECTION_CURVE_DOWN_RIGHT, /**< drag down right */
KEY_MODIFIER_DIRECTION_CURVE_LEFT_UP, /**< drag left up */
KEY_MODIFIER_DIRECTION_CURVE_LEFT_DOWN, /**< drag left down */
KEY_MODIFIER_DIRECTION_CURVE_RIGHT_UP, /**< drag right up */
- KEY_MODIFIER_DIRECTION_CURVE_RIGHT_DOWN, /**< drage right down */
+ KEY_MODIFIER_DIRECTION_CURVE_RIGHT_DOWN, /**< drag right down */
KEY_MODIFIER_TOGGLED, /**< toggled state */
DRAG_LEFT, /* drag to left side */
DRAG_RIGHT, /* drag to right side */
DRAG_UP, /* drag to upper side */
- DRAG_DOWN, /* drage to down side */
+ DRAG_DOWN, /* drag to down side */
DRAG_LEFT_TOP, /* drag to left top side */
DRAG_RIGHT_TOP, /* drag to right top side */
DRAG_LEFT_BOTTOM, /* drag to left bottom side */
- DRAG_RIGHT_BOTTOM, /* drage to right bottom side */
+ DRAG_RIGHT_BOTTOM, /* drag to right bottom side */
MAX_DRAG, /* maximum number of drag type */
}SCLDragType;
if (label) {
m_custom_magnifier_label[label_index] = std::string(label);
} else {
- MagnifierCusomLabelIdxMap::iterator iter = m_custom_magnifier_label.find(label_index);
+ MagnifierCustomLabelIdxMap::iterator iter = m_custom_magnifier_label.find(label_index);
if (iter != m_custom_magnifier_label.end()) {
m_custom_magnifier_label.erase(iter);
}
const sclchar* ret = NULL;
if (scl_check_arrindex(index, MAX_SIZE_OF_LABEL_FOR_ONE)) {
- MagnifierCusomLabelIdxMap::iterator iter = m_custom_magnifier_label.find(label_index);
+ MagnifierCustomLabelIdxMap::iterator iter = m_custom_magnifier_label.find(label_index);
if (iter != m_custom_magnifier_label.end()) {
ret = (iter->second).c_str();
}
}
}
};
-typedef std::map<MagnifierCustomLabelIdx, std::string, MagnifierCustomLabelIdxCompare> MagnifierCusomLabelIdxMap;
+typedef std::map<MagnifierCustomLabelIdx, std::string, MagnifierCustomLabelIdxCompare> MagnifierCustomLabelIdxMap;
/**
std::map<scltouchdevice, MultiTouchContext> m_multi_touch_context;
std::list<scltouchdevice> m_multi_touch_seq;
- MagnifierCusomLabelIdxMap m_custom_magnifier_label;
+ MagnifierCustomLabelIdxMap m_custom_magnifier_label;
};
}
}
/**
- * Regists a event callback func to given window.
+ * Registers a event callback func to given window.
* In this function, it should call several event functions of CSCLController class whenever an event has occurred
* The below list shows what event function should be called.
* - mouse_press (when the user presses mouse button)
/**
- * Regists an event callback function
+ * Registers an event callback function
* so that the user which uses SCL can recevies all events occuring in running
*/
void
/**
* @brief This API acquires the screen size of current device
* @param[out] width the x-axis size of screen
- * @param[out] height the y-axis size of screem
+ * @param[out] height the y-axis size of screen
*/
void get_screen_resolution(sclint *width, sclint *height);
/**
* @brief This API sets the threshold value for recognizing long press event
* @param[in] dist maximum distance, in pixels.
- the move event should not go beyond this distance from its initial pressed ponit
+ the move event should not go beyond this distance from its initial pressed point
* @return non-zero value is returned when successful
*/
sclboolean set_longkey_cancel_dist(sclshort dist);
* @brief This API requests SCL library to change the content of magnifier window that will be displayed
* @param[in] touch_id indicates which multi touch context this customization should be applied to
* @param[in] index indicates the index of magnifier window's label
- * @param[in] label the string to be displayed on the magnfier window
+ * @param[in] label the string to be displayed on the magnifier window
*/
void set_custom_magnifier_label(scltouchdevice touch_id, sclint index, const sclchar* label);
}
if (events && windows && graphics && cache && context && focus_handler && default_configure) {
/* FIXME : The draw_ctx should be acquired from the base window also, if the target window is virtual
- However, for ease of developement, leave the drawctx to be acquired from the target window for now
+ However, for ease of development, leave the drawctx to be acquired from the target window for now
Should modify the EFLObject list management routine after fixing the issue described above
*/
scldrawctx draw_ctx = graphics->begin_paint(window);
/* check it whether uses an individual images */
if (coordinate->bg_image_path[shift_index][state]) {
if (strcmp(coordinate->bg_image_path[shift_index][state], SCL_BACKGROUND_IMAGE_STRING) != 0) {
- /* case 2 (uses an indivisual image) */
+ /* case 2 (uses an individual image) */
background = draw_button_bg_by_img(window, draw_ctx, key_index, state, shift_index);
} else {
/* case 3 (uses the layout background image) */
}
}
- /* destrorys the cairo surface if the value of the given(parameter) draw_ctx is NULL */
+ /* destroys the cairo surface if the value of the given(parameter) draw_ctx is NULL */
if (need_endpaint) {
graphics->end_paint(window, draw_ctx);
}
sclwindow pressed_window = context->get_cur_pressed_window(context->get_last_touch_device_id());
scl8 pressed_key = context->get_cur_pressed_key(context->get_last_touch_device_id());
- /* Due to the explicit delay on hiding mangnifier window, there is a case pressed key has been already reset */
+ /* Due to the explicit delay on hiding magnifier window, there is a case pressed key has been already reset */
if (pressed_key == NOT_USED) {
pressed_window = context->get_prev_pressed_window(context->get_last_touch_device_id());
pressed_key = context->get_prev_pressed_key(context->get_last_touch_device_id());
/**
- * Regists an event callback function
+ * Registers an event callback function
* so that the user which uses SCL can receives all events occuring in running
*/
void