add to resume event
[apps/osp/Internet.git] / inc / IntTypes.h
1 //
2
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Flora License, Version 1.1 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://floralicense.org/license/
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an AS IS BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17
18 //!Internet
19 /*@file: IntTypes.h
20  *@brief: This is the header file for TableType
21  */
22 #ifndef _INT_TYPES_H
23 #define _INT_TYPES_H
24
25 #include <FGraphics.h>
26
27 static const int NB_DB_PRIMARY_KEY = -1;
28 static const int MAX_NB_DB_ID_LEN = 100;
29 static const int MAX_NB_DB_TITLE_LEN = 100000;
30 static const int MAX_NB_DB_CONTENT_LEN = 100000;
31
32 static const int MAX_NOTE_TABLE_COLUMN = 15;
33 static const int MAX_NOTEBOOK_TABLE_COLUMN = 8;
34
35 static const int IDA_BUTTON_NO = 1000;
36 static const int IDA_BUTTON_YES = 1001;
37
38 const int FORE_GROUND_APP_EVENT = 998;
39 const int BACK_GROUND_APP_EVENT = 999;
40 static const unsigned int CUSTOM_COLOR_GREY = Tizen::Graphics::Color32<124,124,124>::Value;
41 static const unsigned int CUSTOM_COLOR_TRANSPARENT = Tizen::Graphics::Color32<0,0,0>::Value;
42 static const unsigned int CUSTOM_BACKGROUND_COLOR_LISTVIEW = Tizen::Graphics::Color32<236,240,242>::Value;
43 static const unsigned int CUSTOM_BACKGROUND_COLOR_LISTVIEW_PRESSED_HIGHLIGHTED = Tizen::Graphics::Color32<42, 137, 194>::Value;
44 static const unsigned int CUSTOM_COLOR_LISTVIEW_TEXT = Tizen::Graphics::Color32<249,249,249>::Value;
45 static const unsigned int CUSTOM_COLOR_BROWN = Tizen::Graphics::Color32<32, 32, 32>::Value;
46 static const unsigned int CUSTOM_COLOR_INFO_LABEL = Tizen::Graphics::Color32<68, 68, 68>::Value;
47 static const unsigned int CUSTOM_BACKGROUND_COLOR_PREVIEW_PANEL = Tizen::Graphics::Color32<81,81,81>::Value;
48 static const unsigned int CUSTOM_BACKGROUND_COLOR_PREVIEW_PANEL_INACTIVE = Tizen::Graphics::Color32<0,0,0,20>::Value;
49 static const unsigned int CUSTOM_COLOR_PREVIEW_PANEL_PRESSED_RECTANGLE = Tizen::Graphics::Color32<7,180,211>::Value;
50 static const unsigned int CUSTOM_COLOR_LISTVIEW_TEXT2 = Tizen::Graphics::Color32<70,70,70>::Value;
51 static const unsigned int CUSTOM_COLOR_SETTINGS_TEXT = Tizen::Graphics::Color32<128, 128, 128>::Value;
52 static const unsigned int CUSTOM_COLOR_SETTINGS_LISTITEM_BACKGROUND = Tizen::Graphics::Color32<248, 246, 239>::Value;
53 static const unsigned int CUSTOM_COLOR_SETTINGS_LISTITEM_RADIO_BACKGROUND = Tizen::Graphics::Color32<220, 218, 211>::Value;
54 static const unsigned int CUSTOM_COLOR_SETTINGS_GROUPTITLE = Tizen::Graphics::Color32<59, 115, 182>::Value;
55
56 enum BrowserDbTableTypes
57 {
58         DB_TYPE_INVALID = -1,
59         DB_TYPE_BOOKMARKURLS,
60         //DB_TYPE_BOOKMARKFOLDERS,
61         DB_TYPE_HISTORYDATA,
62         DB_TYPE_FAVICON,
63         DB_TYPE_MAX
64 };
65
66
67 #endif // _INT_TYPES_H
68