#include "sclactionstate.h"
#include "sclres_manager.h"
#include "sclkeyfocushandler.h"
+#include <dlog.h>
using namespace scl;
events->create_timer(SCL_TIMER_POPUP_TIMEOUT, timeout, layout);
}
- printf("create window (%p) x: %d, y:%d, width:%d, height:%d , layout:%d, popuptype:%d\n",
+ LOGD("create window (%p) x: %d, y:%d, width:%d, height:%d , layout:%d, popuptype:%d",
window, geometry.x, geometry.y, geometry.width, geometry.height, layout, popup_type);
events->connect_window_events(window, SCL_EVENT_MOUSE | SCL_EVENT_EXPOSE);
bool CSCLWindows::close_popup(sclwindow window)
{
- printf("close_popup window (%p) \n",window);
+ LOGD("close_popup window (%p)",window);
CSCLKeyFocusHandler *focus_handler = CSCLKeyFocusHandler::get_instance();
if (focus_handler) {
//get_window_context(window, TRUE);
if (window == NULL) {
- printf("Failed to create a new window. The size of window buffer has exeeded.\n");
+ LOGW("Failed to create a new window. The size of window buffer has exeeded.");
}
}
return window;
set_parent(parent, window);
if (window == NULL) {
- printf("Failed to create a new window. The size of window buffer has exeeded.\n");
+ LOGW("Failed to create a new window. The size of window buffer has exeeded.");
} else {
- printf("Magnifier Window %p created\n", window);
+ LOGD("Magnifier Window %p created", window);
}
}
}
if (window == NULL) {
- printf("Failed to create a new window. The size of window buffer has exeeded.\n");
+ LOGW("Failed to create a new window. The size of window buffer has exeeded");
}
}
*/
} else {
impl->set_window_rotation(window, rotation);
- printf("## set_window_rotation : %d \n", rotation);
+ LOGD("## set_window_rotation : %d", rotation);
}
}