+ise-default (0.3.022-1) unstable; urgency=low
+
+ * Fixed Prevent Issues
+ * Git: slp/pkgs/i/ise-default
+ * Tag: ise-default_0.3.022-1
+
+ -- Ankush Dua <ankush.d@samsung.com> Mon, 03 Sep 2012 16:05:30 +0530
+
ise-default (0.3.021-1) unstable; urgency=low
* Applied profiles to MCF windows
#else
evas_object_move(imgobj, destX - srcX, destY - srcY);
evas_object_image_fill_set(imgobj, 0, 0, imgWidth, imgHeight);
- if(extractImg) {
- evas_object_resize(imgobj, imgWidth, imgHeight);
- } else {
- evas_object_resize(imgobj, destWidth, destHeight);
- }
+ evas_object_resize(imgobj, imgWidth, imgHeight);
Evas_Object *clipper = evas_object_rectangle_add(evas);
evas_object_color_set(clipper, 255, 255, 255, 255);
private:
public:
- mcfboolean run();
+ void run();
void show();
void hide();
mcfint ret = -1;
mcfint iSeqIndex = 0;
- CMCFResourceCache *cache = CMCFResourceCache::get_instance();
-
for(std::list<mcftouchdevice>::iterator list_iter = mMultiTouchSeq.begin();
(ret == -1) && list_iter != mMultiTouchSeq.end();std::advance(list_iter, 1)) {
if(touchid == (*list_iter)) {
* Shows the MCF main window
* For displaying the MCF UI, you should explicitly call this function after CMCFCore class is created
*/
-mcfboolean
+void
CMCFCore::run()
{
MCF_DEBUG();
CMCFFeedback::button_pressed(mcfwindow window, mcfbyte keyindex)
{
MCF_DEBUG();
- CMCFResourceCache *cache = CMCFResourceCache::get_instance();
- if(cache) {
- const McfLayoutKeyConfigure *configure = cache->get_cur_layout_key_configure(window, keyindex);
- CMCFUtils *utils = CMCFUtils::get_instance();
- CMCFContext *context = CMCFContext::get_instance();
- }
return TRUE;
}
}
}
}
+
+ return TRUE;
}
/**
return -1;
/* Finds an index to be set */
- mcfint loop = 0;
+ mcfuint loop = 0;
for (loop = 0;loop < MAX_PRIVATE_KEY; loop++) {
if ((mPrivateKeyProperties[loop].inputModeIdx == privProperties->inputModeIdx) &&
(mPrivateKeyProperties[loop].layoutIdx == privProperties->layoutIdx) &&
{
MCF_DEBUG();
mcfint loop;
- CMCFContext *context = CMCFContext::get_instance();
-
/* resets the current properties to predefined properties */
mcfbyte keyidx = mPrivateKeyProperties[id].keyIdx;
/* Shift all the privatekey properties to the left by 1, starting from the item next to the id th element */
for (loop = id;loop < MAX_PRIVATE_KEY - 1; loop++) {
- memcpy(&mPrivateKeyProperties[loop], &mPrivateKeyProperties[loop + 1], sizeof(&mPrivateKeyProperties[loop]));
+ memcpy(&mPrivateKeyProperties[loop], &mPrivateKeyProperties[loop + 1], sizeof(McfPrivateKeyProperties));
}
/* Fill 0x00 to the last element */
memset(&mPrivateKeyProperties[MAX_PRIVATE_KEY - 1], 0x00, sizeof(McfPrivateKeyProperties));
CMCFWindows *windows = CMCFWindows::get_instance();
CMCFContext *context = CMCFContext::get_instance();
- mcfbyte display = context->get_display();
- mcfbyte inputmode = context->get_input_mode();
- mcfint sublayoutidx = context->get_cur_sublayout_id();
+ mcfbyte inputmode = MAX_INPUT_MODE;
McfKeyset keyset = MAX_KEYSET;
mcf8 popupindex = NOT_USED;
mcfshort layout = NOT_USED;
if(windows && context) {
+ inputmode = context->get_input_mode();
if (windows->is_base_window(window)) {
layout = mcf_input_mode_configure[inputmode].layoutId[context->get_display()];
}
index++;
}
+ fclose(fp);
}
}
if(mcf_check_arrindex(defaultLayoutIdx, MAX_LAYOUT)) {
mGwes->mWnd->create_dim_window(window, NULL, mcf_layout[defaultLayoutIdx].width, mcf_layout[defaultLayoutIdx].height);
}
-
- /* For testing pre-image load */
- CMCFImageProxy *proxy = CMCFImageProxy::get_instance();
- mcfchar retPath[_POSIX_PATH_MAX] = {0,};
- for (mcfint loop = 0; loop < MAX_PRELOAD_IMG_CNT; loop++) {
- memset(retPath, 0x00, sizeof(mcfchar)*_POSIX_PATH_MAX);
- mUtils->get_composed_path(retPath, sizeof(retPath), mcf_preload_image[loop]);
- proxy->get_image(retPath);
- }
}
/**
mcfint targety = layout->y;
mcfwindow targetwin = window;
McfWindowContext *winctx = windows->get_window_context(window, FALSE);
- if(winctx->isVirtual) {
- McfWindowContext *basectx = windows->get_window_context(windows->get_base_window(), FALSE);
- if(basectx) {
- targetwin = windows->get_base_window();
- targetx += winctx->x - basectx->x;
- targety += winctx->y - basectx->y;
+ if (winctx) {
+ if(winctx->isVirtual) {
+ McfWindowContext *basectx = windows->get_window_context(windows->get_base_window(), FALSE);
+ if(basectx) {
+ targetwin = windows->get_base_window();
+ targetx += winctx->x - basectx->x;
+ targety += winctx->y - basectx->y;
+ }
}
}
if (strlen(layout->imgPath[BUTTON_STATE_NORMAL]) > 0) {
mcfint targetaddy = 0;
mcfwindow targetwin = window;
McfWindowContext *winctx = windows->get_window_context(window, FALSE);
-
+ if (winctx) {
if(winctx->isVirtual) {
McfWindowContext *basectx = windows->get_window_context(windows->get_base_window(), FALSE);
if(basectx) {
targetaddy = winctx->y - basectx->y;
}
}
+ }
/* for image label */
if (properties->labelImgPath[fShift][state]) {
/* If the target window is virtual window, let's draw it on the base window */
mcfwindow targetwin = window;
McfWindowContext *winctx = windows->get_window_context(window, FALSE);
- if(winctx->isVirtual) {
- targetwin = windows->get_base_window();
+ if (winctx) {
+ if(winctx->isVirtual) {
+ targetwin = windows->get_base_window();
+ }
}
graphics->draw_rectangle(targetwin, drawCtx, 0, 0, size.width, size.height, lineWidth, lineColor, TRUE, fillColor);
mcfint targety = coordination->y;
mcfwindow targetwin = window;
McfWindowContext *winctx = windows->get_window_context(window, FALSE);
- if(winctx->isVirtual) {
- McfWindowContext *basectx = windows->get_window_context(windows->get_base_window(), FALSE);
- if(basectx) {
- targetwin = windows->get_base_window();
- targetx += winctx->x - basectx->x;
- targety += winctx->y - basectx->y;
+ if(winctx) {
+ if(winctx->isVirtual) {
+ McfWindowContext *basectx = windows->get_window_context(windows->get_base_window(), FALSE);
+ if(basectx) {
+ targetwin = windows->get_base_window();
+ targetx += winctx->x - basectx->x;
+ targety += winctx->y - basectx->y;
+ }
}
}
mcfbyte pressedKey = context->get_cur_pressed_key(context->get_last_touch_device_id());
const McfLayoutKeyCoordination* coordination = cache->get_cur_layout_key_coordination(pressedWin, pressedKey);
- McfButtonContext *btncontext = cache->get_cur_button_context(pressedWin, pressedKey);
mcfwindow move_window = context->get_cur_move_window(context->get_last_touch_device_id());
McfPoint move_point = context->get_cur_move_point(context->get_last_touch_device_id());
CMCFEvents *events = CMCFEvents::get_instance();
CMCFActionState *state = CMCFActionState::get_instance();
CMCFController *controller = CMCFController::get_instance();
- CMCFResourceCache *cache = CMCFResourceCache::get_instance();
- CMCFContext *context = CMCFContext::get_instance();
- CMCFWindows *windows = CMCFWindows::get_instance();
- CMCFUtils *utils = CMCFUtils::get_instance();
CMCFWindowsImpl* impl = get_mcf_windows_impl();
ctx_window = impl->create_context_popup_window(parentWnd);
events->connect_window_events(ctx_window, MCF_EVENT_MOUSE | MCF_EVENT_EXPOSE);
Name: ise-default
Summary: Tizen keyboard
-Version: 0.3.021
+Version: 0.3.022
Release: 1
Group: TO_BE/FILLED_IN
License: Flora Software License
extern McfAutoPopupConfigure mcf_autopopup_configure;
extern McfDimWndConfigure mcf_dim_window_configure;
-#define MAX_PRELOAD_IMG_CNT 0
-static const mcfchar* mcf_preload_image[MAX_PRELOAD_IMG_CNT] = {
-};
-
static const McfNinePatchInfo mcf_nine_patch_info[] = {
{"textinput_moa_button1_nml.png", 3, 3, 3, 3},
{"textinput_moa_button1_function.png", 3, 3, 3, 3},