2 * Copyright 2012 Samsung Electronics Co., Ltd
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
8 * http://www.tizenopensource.org/license
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.
19 #include "mcfwindows.h"
22 #ifndef __MCF_WINDOWS_GTK_H__
23 #define __MCF_WINDOWS_GTK_H__
27 class CMCFWindowsImplGtk : public CMCFWindowsImpl
31 ~CMCFWindowsImplGtk();
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);
49 } /* End of mcf namespace */
50 #endif __MCF_WINDOWS_GTK_H__