#include "..\inc\swilib.h"
#include "..\inc\cfg_items.h"

__root const CFG_HDR cfghdr0={CFG_LEVEL,"Main settings",1,0};

__root const CFG_HDR cfghdr00={CFG_CBOX,"Picture Quality",0,4};
__root const int PIC_QUALITY=2;
__root const CFG_CBOX_ITEM cfgcbox0[]={"None","Text","Low","High"};

__root const CFG_HDR cfghdr1={CFG_UINT,"History depth",0,128};
__root const int HISTORY_DEPTH=100;

__root const CFG_HDR cfghdr2={CFG_UINT,"Java Heap value(kb)",0,16384};
#ifdef NEWSGOLD
#ifdef ELKA
__root const int JAVA_HEAP_SIZE=3072;
#else
__root const int JAVA_HEAP_SIZE=3072;
#endif
#else
__root const int JAVA_HEAP_SIZE=768;
#endif

__root const CFG_HDR cfghdr4={CFG_STR_UTF8,"Default launch parameter",0,127};
__root const char DEFAULT_PARAM[128]="bookmarks";

__root const CFG_HDR cfghdr5={CFG_UINT,"Max cache size",4,64};
__root const unsigned int PageSTACK_SIZE=32;

__root const CFG_HDR cfghdr0_end={CFG_LEVEL,"",0,0};

__root const CFG_HDR cfghdr001_beg={CFG_LEVEL,"Screen",1,0};

__root const CFG_HDR cfghdr0010 = {CFG_CHECKBOX, "Word wrap", 0, 2};
__root const int word_wrap = 1;

__root const CFG_HDR cfghdr0011 = {CFG_COLOR, "Cursor color", 0, 0};
__root const char cfgCursorColor[4]={0,0,170,100};
  
__root const CFG_HDR cfghdr0012 = {CFG_COLOR, "Cursor color for pictures", 0, 0};
__root const char cfgCursorColorPictures[4]={190,0,0,100};

__root const CFG_HDR cfghdr0013 = {CFG_CHECKBOX, "Inverted cursor", 0, 2};
__root const int cfgInvertCursor = 0;

__root const CFG_HDR cfghdr001_end={CFG_LEVEL,"",0,0};

__root const CFG_HDR cfghdr011_beg={CFG_LEVEL,"Keyboard",1,0};

__root const CFG_HDR cfghdr0110={CFG_KEYCODE,"Enter",0,100};
__root const unsigned int cfgKeyEnter=ENTER_BUTTON;

__root const CFG_HDR cfghdr0111={CFG_KEYCODE,"Scroll Up",0,100};
__root const unsigned int cfgKeyScrollUp=UP_BUTTON;

__root const CFG_HDR cfghdr0112={CFG_KEYCODE,"Scroll Down",0,100};
__root const unsigned int cfgKeyScrollDown=DOWN_BUTTON;

__root const CFG_HDR cfghdr0113={CFG_KEYCODE,"Page Up",0,100};
__root const unsigned int cfgKeyPageUp=LEFT_BUTTON;

__root const CFG_HDR cfghdr0114={CFG_KEYCODE,"Page Down",0,100};
__root const unsigned int cfgKeyPageDown=RIGHT_BUTTON;

__root const CFG_HDR cfghdr0115={CFG_KEYCODE,"Half Page Up",0,100};
__root const unsigned int cfgKeyHalfPageUp=VOL_UP_BUTTON;

__root const CFG_HDR cfghdr0116={CFG_KEYCODE,"Half Page Down",0,100};
__root const unsigned int cfgKeyHalfPageDown=VOL_DOWN_BUTTON;

__root const CFG_HDR cfghdr0117={CFG_KEYCODE,"Go to begin",0,100};
__root const unsigned int cfgKeyBegin='3';

__root const CFG_HDR cfghdr0118={CFG_KEYCODE,"Go to end",0,100};
__root const unsigned int cfgKeyEnd='9';

__root const CFG_HDR cfghdr0119={CFG_KEYCODE,"Navigate back",0,100};
__root const unsigned int cfgKeyBack=RIGHT_SOFT;

__root const CFG_HDR cfghdr0120={CFG_KEYCODE,"Navigate forward",0,100};
__root const unsigned int cfgKeyForward='6';

__root const CFG_HDR cfghdr0121={CFG_KEYCODE,"Reload",0,100};
__root const unsigned int cfgKeyReload='#';

__root const CFG_HDR cfghdr0122={CFG_KEYCODE,"Show URL",0,100};
__root const unsigned int cfgKeyShowURL='4';

__root const CFG_HDR cfghdr0123={CFG_KEYCODE,"Search again",0,100};
__root const unsigned int cfgKeySearchAgain='5';

__root const CFG_HDR cfghdr0124={CFG_KEYCODE,"Text from page",0,100};
__root const unsigned int cfgKeyTextPage='0';

__root const CFG_HDR cfghdr0125={CFG_KEYCODE,"Menu",0,100};
__root const unsigned int cfgKeyMenu=LEFT_SOFT;

__root const CFG_HDR cfghdr0126={CFG_KEYCODE,"Start new copy of ballet",0,100};
__root const unsigned int cfgKeyNewCopy=GREEN_BUTTON;

__root const CFG_HDR cfghdr0127={CFG_KEYCODE,"Start SieGet",0,100};
__root const unsigned int cfgKeySieget='1';

__root const CFG_HDR cfghdr0128={CFG_KEYCODE,"Start native browser",0,100};
__root const unsigned int cfgKeyBrowser='2';

__root const CFG_HDR cfghdr0129={CFG_KEYCODE,"Quit",0,100};
__root const unsigned int cfgKeyQuit=0;

__root const CFG_HDR cfghdr011_end={CFG_LEVEL,"",0,0};

__root const CFG_HDR cfghdr01_beg={CFG_LEVEL,"Text edit field",1,0};

__root const CFG_HDR cfghdr001 = {CFG_CHECKBOX, "Show char counter", 0, 2};
__root const int cfgShowCharCounter = 0;

__root const CFG_HDR cfghdr002 = {CFG_CHECKBOX, "Edit passwords as normal text", 0, 2};
__root const int cfgPwdNormalText = 0;

__root const CFG_HDR cfghdr01_end={CFG_LEVEL,"",0,0};

__root const CFG_HDR cfghdr3={CFG_LEVEL,"Server",1,0};

__root const CFG_HDR cfghdr3_1={CFG_STR_WIN1251,"Host",0,31};
__root const char OM_POST_HOST[32]="80.232.117.10";

__root const CFG_HDR cfghdr3_2={CFG_UINT,"Port",0,65535};
__root const unsigned int OM_POST_PORT=80;

__root const CFG_HDR cfghdr3_end={CFG_LEVEL,"",0,0};

__root const CFG_HDR cfghdr35={CFG_LEVEL,"Authentication",1,0};

__root const CFG_HDR cfghdr350 = {CFG_CHECKBOX, "Save received AuthCode to file", 0, 2};
__root const int authcode_write_file = 0;

__root const CFG_HDR cfghdr351 = {CFG_CHECKBOX, "Generate AuthCode", 0, 2};
__root const int authcode_create_new = 0;
  
__root const CFG_HDR cfghdr35_end={CFG_LEVEL,"",0,0};

