323167c01f1263cda702ce2c5fd525030d60528a
[framework/uifw/ise-default.git] / mcf / gwes / gtk / mcfwindows-gtk.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.tizenopensource.org/license
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17
18
19 #include "mcfwindows.h"
20 #include <gtk/gtk.h>
21
22 #ifndef __MCF_WINDOWS_GTK_H__
23 #define __MCF_WINDOWS_GTK_H__
24
25 namespace mcf
26 {
27 class CMCFWindowsImplGtk : public CMCFWindowsImpl
28 {
29 public :
30     CMCFWindowsImplGtk();
31     ~CMCFWindowsImplGtk();
32
33     mcfwindow create_base_window(const mcfwindow parentWnd, McfWindowContext *winCtx, const mcf16 width, const mcf16 height);
34     mcfwindow create_window(const mcfwindow parentWnd, McfWindowContext *winCtx, const mcf16 width, const mcf16 height);
35     mcfwindow create_dim_window(const mcfwindow parentWnd, McfWindowContext *winCtx, const mcf16 width, const mcf16 height);
36     bool destroy_window(mcfwindow window);
37     void show_window(const mcfwindow window, mcfboolean queue);
38     void hide_window(const mcfwindow window,  const mcfboolean fForce = FALSE);
39     void move_window(const mcfwindow window, const mcf16 x, const mcf16 y);
40     void resize_window(const mcfwindow window, const mcf16 width, const mcf16 height);
41     void move_resize_window(const mcfwindow window, const mcf16 x, const mcf16 y, const mcf16 width, const mcf16 height);
42     void update_window(const mcfwindow window, const mcf16 x = 0, const mcf16 y = 0, const mcf16 width = 0, const mcf16 height = 0);
43     void set_window_rotation(const mcfwindow window);
44     void show_message_box(const mcfwindow parentWnd, const mcf8 msgType, mcfchar* title, mcfchar* msg);
45     mcfboolean get_window_rect(const mcfwindow window, McfRectangle *rect);
46     void set_parent(const mcfwindow parentWindow, const mcfwindow window);
47     void set_keep_above(const mcfwindow window, const mcfboolean keepabove);
48 };
49 } /* End of mcf namespace */
50 #endif __MCF_WINDOWS_GTK_H__