// common settings

C_SCREEN_WIDTH = 768
C_SCREEN_HEIGHT = 1024

C_MAX_PAGES = 11
C_NUM_ROWS = 6
C_NUM_COLS = 4
C_NUM_DOCKCOLS = 6

C_CONTENT_X = 33
C_CONTENT_Y = 104
C_SCROLL_X = 391
C_SCROLL_Y = 601
C_TEMPLATE_W = 100
C_TEMPLATE_H = 710
C_MAX_HEIGHT_FACTOR = 1.0
C_MAX_HEIGHT_ADJUST = 320

C_STATUS_BAR_HEIGHT = 20
C_NAV_BAR_TOP = 857
C_NAV_BAR_HEIGHT = 36
C_DOCK_TOP = 919
C_DOCK_HEIGHT = 104

C_ROW_0_TOP = 87
C_ROW_0_HEIGHT = 104
C_ROW_1_TOP = 247
C_ROW_1_HEIGHT = 104
C_ROW_2_TOP = 407
C_ROW_2_HEIGHT = 104
C_ROW_3_TOP = 567
C_ROW_3_HEIGHT = 104
C_ROW_4_TOP = 727
C_ROW_4_HEIGHT = 104

C_ROW_5_TOP = 919
C_ROW_5_HEIGHT = 104

C_COL_0_LEFT = 76
C_COL_0_WIDTH = 80
C_COL_1_LEFT = 254
C_COL_1_WIDTH = 80
C_COL_2_LEFT = 433
C_COL_2_WIDTH = 80
C_COL_3_LEFT = 610
C_COL_3_WIDTH = 80

C_DOCKCOL_0_LEFT = 48
C_DOCKCOL_0_WIDTH = 80
C_DOCKCOL_1_LEFT = 166
C_DOCKCOL_1_WIDTH = 80
C_DOCKCOL_2_LEFT = 284
C_DOCKCOL_2_WIDTH = 80
C_DOCKCOL_3_LEFT = 402
C_DOCKCOL_3_WIDTH = 80
C_DOCKCOL_4_LEFT = 521
C_DOCKCOL_4_WIDTH = 80
C_DOCKCOL_5_LEFT = 639
C_DOCKCOL_5_WIDTH = 80

// extra columns:

C_XCOL_0_LEFT = 5
C_XCOL_0_WIDTH = 62
C_XCOL_1_LEFT = 67
C_XCOL_1_WIDTH = 62
C_XCOL_2_LEFT = 129
C_XCOL_2_WIDTH = 62
C_XCOL_3_LEFT = 191
C_XCOL_3_WIDTH = 62
C_XCOL_4_LEFT = 253
C_XCOL_4_WIDTH = 62

C_XDOCKCOL_0_LEFT = 5
C_XDOCKCOL_0_WIDTH = 62
C_XDOCKCOL_1_LEFT = 67
C_XDOCKCOL_1_WIDTH = 62
C_XDOCKCOL_2_LEFT = 129
C_XDOCKCOL_2_WIDTH = 62
C_XDOCKCOL_3_LEFT = 191
C_XDOCKCOL_3_WIDTH = 62
C_XDOCKCOL_4_LEFT = 253
C_XDOCKCOL_4_WIDTH = 62

// lock screen

C_LS_TOP_BAR_TOP = 20
C_LS_TOP_BAR_HEIGHT = 111
C_LS_IPOD_TOP = 20
C_LS_IPOD_HEIGHT = 111
C_LS_BOTTOM_BAR_TOP = 897
C_LS_BOTTOM_BAR_HEIGHT = 127

// search screen

C_SS_SEARCH_BAR_TOP = 27
C_SS_SEARCH_BAR_HEIGHT = 31
C_SS_KEYBOARD_TOP = 760
C_SS_KEYBOARD_HEIGHT = 264

// web clip

C_WC_ADDRESS_BAR_TOP = 20
C_WC_ADDRESS_BAR_HEIGHT = 0
C_WC_CONTROL_BAR_TOP = 0
C_WC_CONTROL_BAR_HEIGHT = 0

// portrait settings

P_SCREEN_WIDTH = 768
P_SCREEN_HEIGHT = 1024

P_MAX_PAGES = 11
P_NUM_ROWS = 6
P_NUM_COLS = 4
P_NUM_DOCKCOLS = 6

P_CONTENT_X = 33
P_CONTENT_Y = 104
P_SCROLL_X = 391
P_SCROLL_Y = 601
P_TEMPLATE_W = 100
P_TEMPLATE_H = 710
P_MAX_HEIGHT_FACTOR = 1.0
P_MAX_HEIGHT_ADJUST = 320

P_STATUS_BAR_HEIGHT = 20
P_NAV_BAR_TOP = 857
P_NAV_BAR_HEIGHT = 36
P_DOCK_TOP = 919
P_DOCK_HEIGHT = 104

P_ROW_0_TOP = 87
P_ROW_0_HEIGHT = 104
P_ROW_1_TOP = 247
P_ROW_1_HEIGHT = 104
P_ROW_2_TOP = 407
P_ROW_2_HEIGHT = 104
P_ROW_3_TOP = 567
P_ROW_3_HEIGHT = 104
P_ROW_4_TOP = 727
P_ROW_4_HEIGHT = 104

P_ROW_5_TOP = 919
P_ROW_5_HEIGHT = 104

P_COL_0_LEFT = 76
P_COL_0_WIDTH = 80
P_COL_1_LEFT = 254
P_COL_1_WIDTH = 80
P_COL_2_LEFT = 433
P_COL_2_WIDTH = 80
P_COL_3_LEFT = 610
P_COL_3_WIDTH = 80

P_DOCKCOL_0_LEFT = 48
P_DOCKCOL_0_WIDTH = 80
P_DOCKCOL_1_LEFT = 166
P_DOCKCOL_1_WIDTH = 80
P_DOCKCOL_2_LEFT = 284
P_DOCKCOL_2_WIDTH = 80
P_DOCKCOL_3_LEFT = 402
P_DOCKCOL_3_WIDTH = 80
P_DOCKCOL_4_LEFT = 521
P_DOCKCOL_4_WIDTH = 80
P_DOCKCOL_5_LEFT = 639
P_DOCKCOL_5_WIDTH = 80

// lock screen

P_LS_TOP_BAR_TOP = 20
P_LS_TOP_BAR_HEIGHT = 108
P_LS_IPOD_TOP = 20
P_LS_IPOD_HEIGHT = 108
P_LS_BOTTOM_BAR_TOP = 896
P_LS_BOTTOM_BAR_HEIGHT = 128

// search screen

P_SS_SEARCH_BAR_TOP = 27
P_SS_SEARCH_BAR_HEIGHT = 31
P_SS_KEYBOARD_TOP = 760
P_SS_KEYBOARD_HEIGHT = 264

// web clip

P_WC_ADDRESS_BAR_TOP = 20
P_WC_ADDRESS_BAR_HEIGHT = 0
P_WC_CONTROL_BAR_TOP = 0
P_WC_CONTROL_BAR_HEIGHT = 0

// landscape settings

L_SCREEN_WIDTH = 1024
L_SCREEN_HEIGHT = 768

L_MAX_PAGES = 11
L_NUM_ROWS = 5
L_NUM_COLS = 5
L_NUM_DOCKCOLS = 6

L_CONTENT_X = 33
L_CONTENT_Y = 104
L_SCROLL_X = 391
L_SCROLL_Y = 601
L_TEMPLATE_W = 100
L_TEMPLATE_H = 710
L_MAX_HEIGHT_FACTOR = 1.0
L_MAX_HEIGHT_ADJUST = 320

L_STATUS_BAR_HEIGHT = 20
L_NAV_BAR_TOP = 617
L_NAV_BAR_HEIGHT = 23
L_DOCK_TOP = 664
L_DOCK_HEIGHT = 104

L_ROW_0_TOP = 55
L_ROW_0_HEIGHT = 104
L_ROW_1_TOP = 199
L_ROW_1_HEIGHT = 104
L_ROW_2_TOP = 343
L_ROW_2_HEIGHT = 104
L_ROW_3_TOP = 487
L_ROW_3_HEIGHT = 104

L_ROW_4_TOP = 664
L_ROW_4_HEIGHT = 104

L_COL_0_LEFT = 86
L_COL_0_WIDTH = 80
L_COL_1_LEFT = 279
L_COL_1_WIDTH = 80
L_COL_2_LEFT = 472
L_COL_2_WIDTH = 80
L_COL_3_LEFT = 665
L_COL_3_WIDTH = 80
L_COL_4_LEFT = 858
L_COL_4_WIDTH = 80

L_DOCKCOL_0_LEFT = 70
L_DOCKCOL_0_WIDTH = 80
L_DOCKCOL_1_LEFT = 230
L_DOCKCOL_1_WIDTH = 80
L_DOCKCOL_2_LEFT = 392
L_DOCKCOL_2_WIDTH = 80
L_DOCKCOL_3_LEFT = 552
L_DOCKCOL_3_WIDTH = 80
L_DOCKCOL_4_LEFT = 713
L_DOCKCOL_4_WIDTH = 80
L_DOCKCOL_5_LEFT = 874
L_DOCKCOL_5_WIDTH = 80

// lock screen

L_LS_TOP_BAR_TOP = 20
L_LS_TOP_BAR_HEIGHT = 108
L_LS_IPOD_TOP = 20
L_LS_IPOD_HEIGHT = 108
L_LS_BOTTOM_BAR_TOP = 640
L_LS_BOTTOM_BAR_HEIGHT = 128

// search screen

L_SS_SEARCH_BAR_TOP = 26
L_SS_SEARCH_BAR_HEIGHT = 30
L_SS_KEYBOARD_TOP = 416
L_SS_KEYBOARD_HEIGHT = 352

// web clip

L_WC_ADDRESS_BAR_TOP = 20
L_WC_ADDRESS_BAR_HEIGHT = 0
L_WC_CONTROL_BAR_TOP = 0
L_WC_CONTROL_BAR_HEIGHT = 0

