windows->hide_window(windows->get_magnifier_window());
/* FIXME : The parent key should be turned back to NORMAL state when RELEASED,
- in case of POPUP_TYPE_BTN_PRESS_POPUP_DRAG type. Temporariliy setting NORMAL here. */
+ in case of POPUP_TYPE_BTN_PRESS_POPUP_DRAG type. Temporarily setting NORMAL here. */
button_context->state = BUTTON_STATE_NORMAL;
_play_tts_for_input_mode_name(popup_input_mode);
}
pos.y += coordinate->magnifier_offset_y;
windows->move_window(windows->get_magnifier_window(), pos.x, pos.y);
//windows->resize_window(windows->get_magnifier_window(), utils->get_scale_x(scl_magnifier_configure.width), utils->get_scale_y(scl_magnifier_configure.height));
- /*If we use transient_for them the ISE will occure some crash. It needs to check X11 */
+ /*If we use transient_for them the ISE will occur some crash. It needs to check X11 */
/*windows->set_parent(windows->get_base_window(), windows->get_magnifier_window());*/
windows->show_window(windows->get_magnifier_window(), TRUE);
/* COMMENTED OUT FOR TESTING MULTITOUCH!! */
///* In case the current button is not the given key index */
//if (button_context->state == BUTTON_STATE_PRESSED) {
- // /* Even if the press event occured outside of this button's physical area, reset its context */
+ // /* Even if the press event occurs outside of this button's physical area, reset its context */
// button_context->state = BUTTON_STATE_NORMAL;
// redraw = TRUE;
//}
if (coordinate) {
if (actual_event) {
if (coordinate->multitouch_type == SCL_MULTI_TOUCH_TYPE_SETTLE_PREVIOUS) {
- /* When calling mouse_release, the seq order of current multitouch events will be ch anged,
- so we put all the multitouch events into a vector and use them afterwards for rel easing */
+ /* When calling mouse_release, the seq order of current multitouch events will be changed,
+ so we put all the multitouch events into a vector and use them afterwards for releasing */
sclboolean finished = FALSE;
sclint loop = 0;
sclint multi_touch_context_num = context->get_multi_touch_context_num();
/**
* Configures the variables for auto-popup window
* It will return rectangle area
- * @return FALSE It's not avaiable popup key
+ * @return FALSE It's not available popup key
*/
sclboolean
CSCLController::configure_autopopup_window(sclwindow window, sclbyte key_index, SclRectangle* rect)
/**
* Adds a new private key
* It will update it to the current cache properties context because the application can call it anytime
- * For adapting it in realtime, you should explictly call the draw_button function.
+ * For adapting it in realtime, you should explicitly call the draw_button function.
*
* @param[out] fNeedInvalid It will return true if the current private can be adapt into the current display.
* @return id an array index of the private key
*/
sclint
-CSCLResourceCache::add_private_key(SclPrivateKeyProperties* privProperties, sclboolean *fNeedInvaild)
+CSCLResourceCache::add_private_key(SclPrivateKeyProperties* privProperties, sclboolean *fNeedInvalid)
{
SCL_DEBUG();
scl_assert_return_false(privProperties);
sclint ret = NOT_USED;
- *fNeedInvaild = FALSE; /* don't need to update now */
+ *fNeedInvalid = FALSE; /* don't need to update now */
if (privProperties->custom_id.empty())
return ret;
}
}
if (found) {
- *fNeedInvaild = TRUE;
+ *fNeedInvalid = TRUE;
return ret;
}
/* sets the current properties to private key properties */
copy_privatekeyproperties_to_keyproperties(privProperties, &mCurPopupLayoutKeyProperties[ploop][privProperties->key_index]);
return ret;
- *fNeedInvaild = TRUE;
+ *fNeedInvalid = TRUE;
}
}
#endif
CSCLUtils *utils = CSCLUtils::get_instance();
if (utils && label_type) {
- utils->log("WARNINNG!!!!!!!!!!!!!!!!!! LABEL NAME %s COULD NOT BE FOUND!!!!!\n", label_type);
+ utils->log("WARNING!!!!!!!!!!!!!!!!!! LABEL NAME %s COULD NOT BE FOUND!!!!!\n", label_type);
}
return NULL;
SclButtonContext* get_cur_button_context(sclwindow window, sclbyte key_index);
sclboolean clear_private_keys();
- sclint add_private_key(SclPrivateKeyProperties* properties, sclboolean *fNeedInvaild);
+ sclint add_private_key(SclPrivateKeyProperties* properties, sclboolean *fNeedInvalid);
sclboolean remove_private_key(sclint id);
sclboolean copy_from_privatekeyproperties(const SclPrivateKeyProperties* privProperties, SclLayoutKeyCoordinate* coordinate);
/**
* Make a window relation between parent and child
- * Caution: Currently, If we use transient_for them the ISE will occure some crash. It needs to check X11
+ * Caution: Currently, If we use transient_for them the ISE will occur some crash. It needs to check X11
*/
void
CSCLWindowsImplEfl::set_parent(const sclwindow parent, const sclwindow window)
resize_window(dim_window, rect.width, rect.height);
move_window(dim_window, rect.x, rect.y);
events->connect_window_events(dim_window, SCL_EVENT_MOUSE);
- /*If we use transient_for them the ISE will occure some crash. It needs to check X11*/
+ /*If we use transient_for them the ISE will occur some crash. It needs to check X11*/
set_parent(opener.window, dim_window);
SclWindowContext *dim_window_context = get_window_context(get_dim_window());
if (dim_window_context) {
}
show_window(dim_window);
} else {
- /*If we use transient_for them the ISE will occure some crash. It needs to check X11*/
+ /*If we use transient_for them the ISE will occur some crash. It needs to check X11*/
set_parent(opener.window, window);
}
show_window(window);
}
if (SCLWINDOW_INVALID != m_dim_window_context.window) {
- /* For indivisual window rotation */
+ /* For individual window rotation */
impl->set_window_rotation(m_dim_window_context.window, rotation);
//resize_window(m_dim_window_context.window, m_base_window_context.width, m_base_winctx.height);
//move_window(m_dim_window_context.window, m_base_window_context.x, m_base_winctx.y);
hide_window(m_dim_window_context.window);
}
- /* For indivisual window rotation
+ /* For individual window rotation
for (int loop = 0;loop < MAX_POPUP_WINDOW;loop++) {
if (m_popup_window_context[loop].window != SCLWINDOW_INVALID) {
if (!m_popup_window_context[loop].isVirtual) {