// Revenant - Copyright 1999 Cinematix Studios, Inc.
// ** Revenant In Game Multiplayer Interface DEF File  *** 

PANEL "default"
BEGIN

// Standerd Frames
  FRAME POS 35 70 276 370 NAME "playerframe" FLAGS CTRLFLAG_DRAWTOBG BITMAP "TransFrame1" FRAME 14 14 16 16 MARGINS 0 0 4 4
  FRAME POS 320 70 280 338 NAME "addframe" FLAGS CTRLFLAG_DRAWTOBG BITMAP "TransFrame1" FRAME 14 14 16 16 MARGINS 0 0 4 4
  FRAME POS 42 295 260 137 NAME "tabframe" FLAGS CTRLFLAG_CLEARBG BITMAP "ClearFrame2"

  FRAME POS 35 70 276 370 NAME "playerframe2" FLAGS CTRLFLAG_DRAWTOBG | CTRLFLAG_HIDDEN\
	BITMAP "ClearFrame1" FRAME 14 14 16 16 MARGINS 0 0 4 4
  FRAME POS 320 70 280 338 NAME "addframe2" FLAGS CTRLFLAG_DRAWTOBG | CTRLFLAG_HIDDEN\
	BITMAP "ClearFrame1" FRAME 14 14 16 16 MARGINS 0 0 4 4

// standerd exit buttons
  BUTTON POS 370 415 80 27 NAME "ok" TEXT "Ok" UP "TransFrame2" FRAME 10 10 12 12 MARGINS 0 0 4 4
  BUTTON POS 475 415 80 27 NAME "cancel" TEXT "Отмена" UP "TransFrame2" FRAME 10 10 12 12 MARGINS 0 0 4 4

// Character portrait
  BITMAP POS 47 82 100 100 NAME "portrait" FIELD "portrait"
  FRAME POS 45 80 104 104 NAME "portraitframe" BITMAP "ClearFrame2" FRAME 14 14 16 16 MARGINS 0 0 4 4 NOCENTER

// Character stuff
  TEXT POS 45 196 50 15 TEXT "Имя:" FLAGS TEXTFLAG_RIGHT
  TEXT POS 45 221 50 15 TEXT "Парл.:" FLAGS TEXTFLAG_RIGHT
  TEXT POS 175 221 50 15 TEXT "Злт.:" FLAGS TEXTFLAG_RIGHT
  TEXT POS 50 246 45 15 TEXT "Уров.:" FLAGS TEXTFLAG_RIGHT
  TEXT POS 155 246 55 15 TEXT "Опыт:" FLAGS TEXTFLAG_RIGHT

  EDIT POS 95 195 200 20 NAME "editname" FIELD "editname" TEXT "" MAXLEN 32
  EDIT POS 95 220 90 20 NAME "editpass" FIELD "editpass" TEXT "" MAXLEN 10
  EDIT POS 225 220 70 20 NAME "editgold" FIELD "editgold" TEXT "" MAXLEN 8
  EDIT POS 95 245 60 20 NAME "editlevel" FIELD "editlevel" TEXT "" FLAGS EDITFLAG_SPIN MAXLEN 3
  EDIT POS 210 245 85 20 NAME "editexp" FIELD "editexp" TEXT "" MAXLEN 12

// Class stuff
  TEXT POS 160 83 50 17 TEXT "Герой:" FLAGS TEXTFLAG_RIGHT
  TEXT POS 160 100 50 17 TEXT "Класс:" FLAGS TEXTFLAG_RIGHT

  TEXT POS 210 83 70 17 NAME "txtchar" FIELD "txtchar" TEXT "" FLAGS CTRLFLAG_CLEARBG
  TEXT POS 210 100 70 17 NAME "txtclass" FIELD "txtclass" TEXT "" FLAGS CTRLFLAG_CLEARBG

  TEXT POS 153 120 152 10 NAME "classinfo1" TEXT "Атака: +5% Защита +10%" FLAGS TEXTFLAG_CENTER | CTRLFLAG_CLEARBG FONT "Small" COLOR 0 150 255
  TEXT POS 153 130 152 10 NAME "classinfo2" TEXT "Мана: +5% Скрытность: +10%" FLAGS TEXTFLAG_CENTER | CTRLFLAG_CLEARBG FONT "Small" COLOR 0 150 255
  TEXT POS 153 140 152 10 NAME "classinfo3" TEXT "Луки +10%" FLAGS TEXTFLAG_CENTER | CTRLFLAG_CLEARBG FONT "Small" COLOR 0 150 255
  TEXT POS 153 150 152 10 NAME "classinfo4" TEXT "Сила: >20 Ум: <15" FLAGS TEXTFLAG_CENTER | CTRLFLAG_CLEARBG FONT "Small" COLOR 0 150 255

// Current Class Buttons
  BUTTON POS 175 165 50 20 NAME "btnclassprev" TEXT "Пред"
  BUTTON POS 230 165 50 20 NAME "btnclassnext" TEXT "След"

// Stats/Skills button
  BUTTON POS 45 271 70 20 NAME "btnstats" TEXT "Параметры" FLAGS BTNFLAG_RADIO | BTNFLAG_DOWN GROUP 1
  BUTTON POS 120 271 70 20 NAME "btnskills" TEXT "Навыки" FLAGS BTNFLAG_RADIO GROUP 1
  BUTTON POS 195 271 70 20 NAME "btnopts" TEXT "Настройки" FLAGS BTNFLAG_RADIO GROUP 1

// Stats
  // Page 1 (i guess only 1 page)
  TEXT POS 55 313 52 20 NAME "st_txt_strn" TEXT "Сила:" FLAGS TEXTFLAG_RIGHT
  TEXT POS 55 338 52 20 NAME "st_txt_cons" TEXT "Тело:" FLAGS TEXTFLAG_RIGHT
  TEXT POS 55 363 52 20 NAME "st_txt_agil" TEXT "Ловк.:" FLAGS TEXTFLAG_RIGHT
  TEXT POS 155 313 52 20 NAME "st_txt_rflx" TEXT "Рфл.:" FLAGS TEXTFLAG_RIGHT
  TEXT POS 155 338 52 20 NAME "st_txt_mind" TEXT "Ум:" FLAGS TEXTFLAG_RIGHT
  TEXT POS 155 363 52 20 NAME "st_txt_luck" TEXT "Удч.:" FLAGS TEXTFLAG_RIGHT

  EDIT POS 110 315 55 20 NAME "st_edit0_strn" FIELD "st_edit0_strn" TEXT "13" FLAGS EDITFLAG_SPIN MAXLEN 3
  EDIT POS 110 340 55 20 NAME "st_edit1_cons" FIELD "st_edit1_cons" TEXT "13" FLAGS EDITFLAG_SPIN MAXLEN 3
  EDIT POS 110 365 55 20 NAME "st_edit2_agil" FIELD "st_edit2_agil" TEXT "13" FLAGS EDITFLAG_SPIN MAXLEN 3
  EDIT POS 210 315 55 20 NAME "st_edit3_rflx" FIELD "st_edit3_rflx" TEXT "13" FLAGS EDITFLAG_SPIN MAXLEN 3
  EDIT POS 210 340 55 20 NAME "st_edit4_mind" FIELD "st_edit4_mind" TEXT "13" FLAGS EDITFLAG_SPIN MAXLEN 3
  EDIT POS 210 365 55 20 NAME "st_edit5_luck" FIELD "st_edit5_luck" TEXT "13" FLAGS EDITFLAG_SPIN MAXLEN 3

  TEXT POS 45 392 250 10 NAME "st_txt_info1" TEXT "" FLAGS TEXTFLAG_CENTER | CTRLFLAG_CLEARBG\
	  FONT "Small" RECT 3 0 3 0 COLOR 0 150 255 FLAGS TEXT_CENTER | TEXT_SHADOW DRAWMODE DM_USEDEFAULT

  TEXT POS 45 402 250 10 NAME "st_txt_info2" TEXT "" FLAGS TEXTFLAG_CENTER | CTRLFLAG_CLEARBG\
	  FONT "Small" RECT 3 0 3 0 COLOR 0 150 255 FLAGS TEXT_CENTER | TEXT_SHADOW DRAWMODE DM_USEDEFAULT

  TEXT POS 45 412 250 10 NAME "st_txt_info3" TEXT "" FLAGS TEXTFLAG_CENTER | CTRLFLAG_CLEARBG\
	  FONT "Small" RECT 3 0 3 0 COLOR 0 150 255 FLAGS TEXT_CENTER | TEXT_SHADOW DRAWMODE DM_USEDEFAULT

// Skills
  // Page 1
  TEXT POS 45 303 73 20 NAME "skl_p1txtattack" TEXT "Атака:" FLAGS CTRLFLAG_CLEARBG | TEXTFLAG_RIGHT
  TEXT POS 45 328 73 20 NAME "skl_p1txtdefense" TEXT "Защита:" FLAGS CTRLFLAG_CLEARBG | TEXTFLAG_RIGHT 
  TEXT POS 45 353 73 20 NAME "skl_p1txtinvoke" TEXT "Магия:" FLAGS CTRLFLAG_CLEARBG | TEXTFLAG_RIGHT
  TEXT POS 45 378 73 20 NAME "skl_p1txthands" TEXT "Кулаки:" FLAGS CTRLFLAG_CLEARBG | TEXTFLAG_RIGHT

  EDIT POS 120 305 55 20 NAME "skl_p1editattack" FIELD "skl_p1editattack" TEXT "13" FLAGS EDITFLAG_SPIN MAXLEN 4
  EDIT POS 120 330 55 20 NAME "skl_p1editdefense" FIELD "skl_p1editdefense" TEXT "13" FLAGS EDITFLAG_SPIN MAXLEN 4
  EDIT POS 120 355 55 20 NAME "skl_p1editinvoke" FIELD "skl_p1editinvoke" TEXT "13" FLAGS EDITFLAG_SPIN MAXLEN 4
  EDIT POS 120 380 55 20 NAME "skl_p1edithands" FIELD "skl_p1edithands" TEXT "13" FLAGS EDITFLAG_SPIN MAXLEN 4

  TEXT POS 175 303 35 20 NAME "skl_p1txtexp1" TEXT "Опт:" FLAGS TEXTFLAG_RIGHT
  TEXT POS 175 328 35 20 NAME "skl_p1txtexp2" TEXT "Опт:" FLAGS TEXTFLAG_RIGHT
  TEXT POS 175 353 35 20 NAME "skl_p1txtexp3" TEXT "Опт:" FLAGS TEXTFLAG_RIGHT
  TEXT POS 175 378 35 20 NAME "skl_p1txtexp4" TEXT "Опт:" FLAGS TEXTFLAG_RIGHT

  EDIT POS 212 305 65 20 NAME "skl_p1editattackexp" FIELD "skl_p1editattackexp" MAXLEN 12
  EDIT POS 212 330 65 20 NAME "skl_p1editdefenseexp" FIELD "skl_p1editdefenseexp" MAXLEN 12
  EDIT POS 212 355 65 20 NAME "skl_p1editinvokeexp" FIELD "skl_p1editinvokeexp" MAXLEN 12
  EDIT POS 212 380 65 20 NAME "skl_p1edithandsexp" FIELD "skl_p1edithandsexp" MAXLEN 12

  // Page 2
  TEXT POS 45 303 73 20 NAME "skl_p2txtknife" TEXT "Нож:" FLAGS CTRLFLAG_CLEARBG | TEXTFLAG_RIGHT
  TEXT POS 45 328 73 20 NAME "skl_p2txtsword" TEXT "Меч:" FLAGS CTRLFLAG_CLEARBG | TEXTFLAG_RIGHT
  TEXT POS 45 353 73 20 NAME "skl_p2txtbludgeon" TEXT "Дубина:" FLAGS CTRLFLAG_CLEARBG | TEXTFLAG_RIGHT
  TEXT POS 45 378 73 20 NAME "skl_p2txtaxes" TEXT "Топор:" FLAGS CTRLFLAG_CLEARBG | TEXTFLAG_RIGHT

  EDIT POS 120 305 55 20 NAME "skl_p2editknife" FIELD "skl_p2editknife" TEXT "13" FLAGS EDITFLAG_SPIN MAXLEN 4
  EDIT POS 120 330 55 20 NAME "skl_p2editsword" FIELD "skl_p2editsword" TEXT "13" FLAGS EDITFLAG_SPIN MAXLEN 4
  EDIT POS 120 355 55 20 NAME "skl_p2editbludgeon" FIELD "skl_p2editbludgeon" TEXT "13" FLAGS EDITFLAG_SPIN MAXLEN 4
  EDIT POS 120 380 55 20 NAME "skl_p2editaxes" FIELD "skl_p2editaxes" TEXT "13" FLAGS EDITFLAG_SPIN MAXLEN 4

  TEXT POS 175 303 35 20 NAME "skl_p2txtexp1" TEXT "Опт:" FLAGS TEXTFLAG_RIGHT
  TEXT POS 175 328 35 20 NAME "skl_p2txtexp2" TEXT "Опт:" FLAGS TEXTFLAG_RIGHT
  TEXT POS 175 353 35 20 NAME "skl_p2txtexp3" TEXT "Опт:" FLAGS TEXTFLAG_RIGHT
  TEXT POS 175 378 35 20 NAME "skl_p2txtexp4" TEXT "Опт:" FLAGS TEXTFLAG_RIGHT

  EDIT POS 212 305 65 20 NAME "skl_p2editknifeexp" FIELD "skl_p2editknifeexp" MAXLEN 12
  EDIT POS 212 330 65 20 NAME "skl_p2editswordexp" FIELD "skl_p2editswordexp" MAXLEN 12
  EDIT POS 212 355 65 20 NAME "skl_p2editbludgeonexp" FIELD "skl_p2editbludgeonexp" MAXLEN 12
  EDIT POS 212 380 65 20 NAME "skl_p2editaxesexp" FIELD "skl_p2editaxesexp" MAXLEN 12

  // Page 3
  TEXT POS 45 303 73 20 NAME "skl_p3txtbows" TEXT "Лук:" FLAGS CTRLFLAG_CLEARBG | TEXTFLAG_RIGHT 
  TEXT POS 45 328 73 20 NAME "skl_p3txtstealth" TEXT "Скрытн.:" FLAGS CTRLFLAG_CLEARBG | TEXTFLAG_RIGHT
  TEXT POS 45 353 73 20 NAME "skl_p3txtlockpick" TEXT "Отмычка:" FLAGS CTRLFLAG_CLEARBG | TEXTFLAG_RIGHT

  EDIT POS 120 305 55 20 NAME "skl_p3editbows" FIELD "skl_p3editbows" TEXT "13" FLAGS EDITFLAG_SPIN MAXLEN 4
  EDIT POS 120 330 55 20 NAME "skl_p3editstealth" FIELD "skl_p3editstealth" TEXT "13" FLAGS EDITFLAG_SPIN MAXLEN 4
  EDIT POS 120 355 55 20 NAME "skl_p3editlockpick" FIELD "skl_p3editlockpick" TEXT "13" FLAGS EDITFLAG_SPIN MAXLEN 4

  TEXT POS 175 303 35 20 NAME "skl_p3txtexp1" TEXT "Опт:" FLAGS TEXTFLAG_RIGHT
  TEXT POS 175 328 35 20 NAME "skl_p3txtexp2" TEXT "Опт:" FLAGS TEXTFLAG_RIGHT
  TEXT POS 175 353 35 20 NAME "skl_p3txtexp3" TEXT "Опт:" FLAGS TEXTFLAG_RIGHT

  EDIT POS 212 305 65 20 NAME "skl_p3editbowsexp" FIELD "skl_p3editbowsexp" MAXLEN 12
  EDIT POS 212 330 65 20 NAME "skl_p3editstealthexp" FIELD "skl_p3editstealthexp" MAXLEN 12
  EDIT POS 212 355 65 20 NAME "skl_p3editlockpickexp" FIELD "skl_p3editlockpickexp" MAXLEN 12

// Skill Button Movement
  BUTTON POS 90 405 50 20 NAME "skl_prev" TEXT "Пред"
  BUTTON POS 205 405 50 20 NAME "skl_next" TEXT "След"
  TEXT POS 148 406 50 20 NAME "skl_page" TEXT "Стр. 1"

// Options
  TEXT POS 45 300 250 18 NAME "opt_txtdesc" TEXT "Настройки сетевой игры" FLAGS TEXTFLAG_CENTER
  BUTTON POS 55 330 200 20 NAME "opt_pker" TEXT "Убийца игроков" FLAGS BTNFLAG_TOGGLE | BTNFLAG_DRAWTOGGLE
  BUTTON POS 55 350 200 20 NAME "opt_view" TEXT "Параметры видны всем" FLAGS BTNFLAG_TOGGLE | BTNFLAG_DRAWTOGGLE
//  BUTTON POS 55 370 200 20 NAME "opt_edit" TEXT "Editable by Host" FLAGS BTNFLAG_TOGGLE | BTNFLAG_DRAWTOGGLE

// Class List
  TEXT POS 325 79 40 20 TEXT "Тип" FLAGS TEXT_SHADOW
  DROPLIST POS 365 78 135 20 NAME "classlist" FIELD "classfield" FLAGS DROPFLAG_USEFORMAT LISTHEIGHT 108
  BEGIN
    FIELD 5 -2 160 20 FLAGS TEXT_LEFT | TEXT_SHADOW "classfield"
  END

 // Quantity
  TEXT POS 501 78 30 20 NAME "itemqtytxt" TEXT "Кол" FLAGS TEXT_SHADOW
  EDIT POS 530 78 50 20 NAME "itemqty" TEXT "1" MAXLEN 5

// Bitmaps
//  FRAME POS 490 242 -10000 -10000 BITMAP "gold"

// Text List

// lgi = long game inventory
// sgi = short game inventory (icons only)
// lpi = long player inventory
// spi = short player inventory (icons only)

// Inventory List Tags
  LISTBOX POS 327 105 266 131 NAME "longgameinvicon" FIELD "lgifield" FLAGS LISTFLAG_VLIST | LISTFLAG_USEFORMAT | LISTFLAG_DBLCLICK ITEM 39 40 SELCOLOR 0 100 30\
  FONT "small" COLOR 255 255 255 FLAGS TEXT_CENTER | TEXT_VCENTER | TEXT_SHADOW | TEXT_SINGLELINE DRAWMODE DM_USEDEFAULT
  BEGIN
    BITMAP 0 0 "lgi_iconbmp" DRAWMODE DM_TRANSPARENT
	FIELD 10 30 28 10 FONT "Small" FLAGS TEXT_RIGHT | TEXT_SHADOW COLOR 255 0 0 "lgi_qty"
  END

  LISTBOX POS 327 105 266 131 NAME "longgameinv" FIELD "lgifield" FLAGS LISTFLAG_VLIST | LISTFLAG_USEFORMAT | LISTFLAG_DBLCLICK ITEM 1000 40 SELCOLOR 0 100 30\
  FONT "small" COLOR 255 255 255 FLAGS TEXT_CENTER | TEXT_VCENTER | TEXT_SHADOW | TEXT_SINGLELINE DRAWMODE DM_USEDEFAULT
  BEGIN
	FIELD 42 -1 150 18 FONT "Med" FLAGS TEXT_SHADOW | TEXT_ELIPSES "lgi_name"
	FIELD 195 3 40 14 FONT "Small" FLAGS TEXT_RIGHT | TEXT_SHADOW COLOR 100 255 255 "lgi_value"
	FIELD 45 13 180 24 FONT "Small" FLAGS TEXT_SHADOW COLOR 255 255 100 "lgi_stat"

    BITMAP 0 0 "lgi_iconbmp" DRAWMODE DM_TRANSPARENT
	FIELD 5 30 33 10 FONT "Small" FLAGS TEXT_RIGHT | TEXT_SHADOW COLOR 255 0 0 "lgi_qty"
  END

// Inventory Transfer Buttons
  BUTTON POS 337 241 45 23 NAME "add" TEXT "+" KEY "A"
  BUTTON POS 387 241 45 23 NAME "del" TEXT "-" KEY "D"
  BUTTON POS 437 241 45 23 NAME "equip" TEXT "Одеть" KEY "E"
  BUTTON POS 493 246 95 15 NAME "icon" TEXT "Иконки" FLAGS BTNFLAG_TOGGLE | BTNFLAG_DRAWTOGGLE KEY "I"

  LISTBOX POS 327 269 266 131 NAME "longplayerinvicon" FIELD "lpifield" FLAGS LISTFLAG_VLIST | LISTFLAG_USEFORMAT | LISTFLAG_DBLCLICK ITEM 39 40 SELCOLOR 0 100 30\
  FONT "small" COLOR 255 255 255 FLAGS TEXT_CENTER | TEXT_VCENTER | TEXT_SHADOW | TEXT_SINGLELINE DRAWMODE DM_USEDEFAULT
  BEGIN
    BITMAP 0 0 "lpi_iconbmp" DRAWMODE DM_TRANSPARENT
	FIELD 10 30 28 10 FONT "Small" FLAGS TEXT_RIGHT | TEXT_SHADOW COLOR 255 0 0 "lpi_qty"
  END

  LISTBOX POS 327 269 266 131 NAME "longplayerinv" FIELD "lpifield" FLAGS LISTFLAG_VLIST | LISTFLAG_USEFORMAT | LISTFLAG_DBLCLICK ITEM 1000 40 SELCOLOR 0 100 30\
  FONT "small" COLOR 255 255 255 FLAGS TEXT_CENTER | TEXT_VCENTER | TEXT_SHADOW | TEXT_SINGLELINE DRAWMODE DM_USEDEFAULT
  BEGIN
	FIELD 42 -1 150 18 FONT "Med" FLAGS TEXT_SHADOW | TEXT_ELIPSES "lpi_name"
	FIELD 195 3 40 14 FONT "Small" FLAGS TEXT_RIGHT | TEXT_SHADOW COLOR 100 255 255 "lpi_value"
	FIELD 45 13 180 24 FONT "Small" FLAGS TEXT_SHADOW COLOR 255 255 100 "lpi_stat"

    BITMAP 0 0 "lpi_iconbmp" DRAWMODE DM_TRANSPARENT
	FIELD 0 0 28 10 FONT "Small" FLAGS TEXT_LEFT | TEXT_SHADOW COLOR 0 255 0 "lpi_eq"
	FIELD 5 30 33 10 FONT "Small" FLAGS TEXT_RIGHT | TEXT_SHADOW COLOR 255 0 0 "lpi_qty"
  END


END

