Add atspi accessibility support
[platform/core/uifw/libscl-ui.git] / scl / include / scluibuilder.h
index 3b41ee4..4af8942 100644 (file)
@@ -41,7 +41,7 @@ class CSCLUIBuilder
 private:
     CSCLUIBuilder();
 public:
-    ~CSCLUIBuilder();
+    virtual ~CSCLUIBuilder();
 
     static CSCLUIBuilder* get_instance();
 
@@ -53,20 +53,21 @@ public:
 
 private:
     sclboolean draw_button_all(const sclwindow window, const scldrawctx draw_ctx, const scl16 x, const scl16 y, const scl16 width, const scl16 height);
-    sclboolean draw_button_bg_by_sw(const sclwindow window, const scldrawctx draw_ctx, const scl16 key_index, const SCLButtonState state);
+    scldrawing draw_button_bg_by_sw(const sclwindow window, const scldrawctx draw_ctx, const scl16 key_index, const SCLButtonState state);
     sclboolean draw_window_bg_by_sw(const sclwindow window, const scldrawctx draw_ctx, const SclSize size,
         const scldouble line_width, const SclColor line_color, const SclColor fill_color);
-    sclboolean draw_button_bg_by_img(const sclwindow window, const scldrawctx draw_ctx, const scl16 key_index,
+    scldrawing draw_button_bg_by_img(const sclwindow window, const scldrawctx draw_ctx, const scl16 key_index,
         SCLButtonState state, SCLShiftState shift);
-    sclboolean draw_button_bg_by_layoutimg(const sclwindow window, const scldrawctx draw_ctx, const scl16 key_index,
+    scldrawing draw_button_bg_by_layoutimg(const sclwindow window, const scldrawctx draw_ctx, const scl16 key_index,
         const SCLButtonState state, const sclboolean shift);
     sclboolean draw_button_label(const sclwindow window, const scldrawctx draw_ctx, const scl16 key_index,
                                  SCLButtonState state, SCLShiftState shift);
 
     sclboolean draw_magnifier_label(const sclwindow window, const scldrawctx draw_ctx, const scl16 label_index, const sclchar* label);
 
-protected:
+    const sclchar* get_button_text_to_read(const sclwindow window, const scl16 key_index, SCLShiftState shift_index);
 
+protected:
     /* Backend Primitive */
     CSCLGwes *m_gwes;
     CSCLUtils *m_utils;