mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 09:36:15 +00:00
Changed: #1433 Merge changes from patch 1.13
This commit is contained in:
parent
e7a69b6950
commit
f179ef28b1
13 changed files with 1455 additions and 0 deletions
BIN
code/ryzom/client/data/gamedev/adds/sfx/marauder_teleporter.ps
Normal file
BIN
code/ryzom/client/data/gamedev/adds/sfx/marauder_teleporter.ps
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
code/ryzom/client/data/gamedev/adds/shapes/tp_diamand.shape
Normal file
BIN
code/ryzom/client/data/gamedev/adds/shapes/tp_diamand.shape
Normal file
Binary file not shown.
BIN
code/ryzom/client/data/gamedev/adds/shapes/tp_socle.shape
Normal file
BIN
code/ryzom/client/data/gamedev/adds/shapes/tp_socle.shape
Normal file
Binary file not shown.
Binary file not shown.
BIN
code/ryzom/client/data/gamedev/adds/textures/gn_pvp_dress.tga
Normal file
BIN
code/ryzom/client/data/gamedev/adds/textures/gn_pvp_dress.tga
Normal file
Binary file not shown.
After Width: | Height: | Size: 1 MiB |
Binary file not shown.
After Width: | Height: | Size: 1 MiB |
Binary file not shown.
File diff suppressed because it is too large
Load diff
190
code/ryzom/client/data/gamedev/interfaces_v3/webig.lua
Normal file
190
code/ryzom/client/data/gamedev/interfaces_v3/webig.lua
Normal file
|
@ -0,0 +1,190 @@
|
||||||
|
|
||||||
|
-- create the webig namespace without reseting if already created in an other file.
|
||||||
|
if (webig==nil) then
|
||||||
|
webig= {}
|
||||||
|
end
|
||||||
|
|
||||||
|
if (webig.sheetLists==nil) then
|
||||||
|
webig.sheetLists = {}
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
function webig:addSheet(dst, sheet, quality, quantity, worned, user_color, rm_class_type, rm_faber_stat_type)
|
||||||
|
if quality == nil then quality=0 end
|
||||||
|
if quantity == nil then quantity=0 end
|
||||||
|
if worned == nil then worned=0 end
|
||||||
|
if user_color == nil then user_color=0 end
|
||||||
|
if rm_class_type == nil then rm_class_type=0 end
|
||||||
|
if rm_faber_stat_type == nil then rm_faber_stat_type=0 end
|
||||||
|
addDbProp(dst..":SHEET", sheet)
|
||||||
|
addDbProp(dst..":WORNED", worned)
|
||||||
|
addDbProp(dst..":QUALITY", quality)
|
||||||
|
addDbProp(dst..":QUANTITY", quantity)
|
||||||
|
addDbProp(dst..":USER_COLOR", user_color)
|
||||||
|
addDbProp(dst..":RM_CLASS_TYPE", rm_class_type)
|
||||||
|
addDbProp(dst..":RM_FABER_STAT_TYPE", rm_faber_stat_type)
|
||||||
|
end
|
||||||
|
|
||||||
|
function webig:cleanSheets(db)
|
||||||
|
delDbProp(db)
|
||||||
|
end
|
||||||
|
|
||||||
|
function webig:addSheetList(name, ctrl, db, size)
|
||||||
|
webig.sheetLists[name] = {}
|
||||||
|
webig.sheetLists[name].ctrl = ctrl
|
||||||
|
webig.sheetLists[name].db = db
|
||||||
|
webig.sheetLists[name].selection = ""
|
||||||
|
webig.sheetLists[name].size = size
|
||||||
|
end
|
||||||
|
|
||||||
|
function webig:copyItems(src, dst)
|
||||||
|
addDbProp(dst..":SHEET", getDbProp(src..":SHEET"))
|
||||||
|
addDbProp(dst..":WORNED", getDbProp(src..":WORNED"))
|
||||||
|
addDbProp(dst..":QUALITY", getDbProp(src..":QUALITY"))
|
||||||
|
addDbProp(dst..":QUANTITY", getDbProp(src..":QUANTITY"))
|
||||||
|
addDbProp(dst..":USER_COLOR", getDbProp(src..":USER_COLOR"))
|
||||||
|
addDbProp(dst..":RM_CLASS_TYPE", getDbProp(src..":RM_CLASS_TYPE"))
|
||||||
|
addDbProp(dst..":RM_FABER_STAT_TYPE", getDbProp(src..":RM_FABER_STAT_TYPE"))
|
||||||
|
end
|
||||||
|
|
||||||
|
function webig:swapItems(src, dst)
|
||||||
|
local sheet = getDbProp(dst..":SHEET")
|
||||||
|
local worned = getDbProp(dst..":WORNED")
|
||||||
|
local quality = getDbProp(dst..":QUALITY")
|
||||||
|
local quantity = getDbProp(dst..":QUANTITY")
|
||||||
|
local user_color = getDbProp(dst..":USER_COLOR")
|
||||||
|
local rm_class_type = getDbProp(dst..":RM_CLASS_TYPE")
|
||||||
|
local rm_faber_stat_type = getDbProp(dst..":RM_FABER_STAT_TYPE")
|
||||||
|
|
||||||
|
addDbProp(dst..":SHEET", getDbProp(src..":SHEET"))
|
||||||
|
addDbProp(dst..":WORNED", getDbProp(src..":WORNED"))
|
||||||
|
addDbProp(dst..":QUALITY", getDbProp(src..":QUALITY"))
|
||||||
|
addDbProp(dst..":QUANTITY", getDbProp(src..":QUANTITY"))
|
||||||
|
addDbProp(dst..":USER_COLOR", getDbProp(src..":USER_COLOR"))
|
||||||
|
addDbProp(dst..":RM_CLASS_TYPE", getDbProp(src..":RM_CLASS_TYPE"))
|
||||||
|
addDbProp(dst..":RM_FABER_STAT_TYPE", getDbProp(src..":RM_FABER_STAT_TYPE"))
|
||||||
|
|
||||||
|
addDbProp(src..":SHEET", sheet)
|
||||||
|
addDbProp(src..":WORNED", worned)
|
||||||
|
addDbProp(src..":QUALITY", quality)
|
||||||
|
addDbProp(src..":QUANTITY", quantity)
|
||||||
|
addDbProp(src..":USER_COLOR", user_color)
|
||||||
|
addDbProp(src..":RM_CLASS_TYPE", rm_class_type)
|
||||||
|
addDbProp(src..":RM_FABER_STAT_TYPE", rm_faber_stat_type)
|
||||||
|
end
|
||||||
|
|
||||||
|
function webig:deleteItem(src)
|
||||||
|
addDbProp(src..":SHEET", 0)
|
||||||
|
addDbProp(src..":WORNED", 0)
|
||||||
|
addDbProp(src..":QUALITY", 0)
|
||||||
|
addDbProp(src..":QUANTITY", 0)
|
||||||
|
addDbProp(src..":USER_COLOR", 0)
|
||||||
|
addDbProp(src..":RM_CLASS_TYPE", 0)
|
||||||
|
addDbProp(src..":RM_FABER_STAT_TYPE", 0)
|
||||||
|
end
|
||||||
|
|
||||||
|
function webig:paramDbSheetSlot(sheet_list, ctrl)
|
||||||
|
local ctrlSheet = webig.sheetLists[sheet_list].ctrl:find("list:"..ctrl)
|
||||||
|
if ctrlSheet ~= nil then
|
||||||
|
ctrlSheet.left_click="lua"
|
||||||
|
ctrlSheet.left_click_params="webig:addOrRemoveDbSheet(\'"..sheet_list.."\', \'"..ctrl.."\')"
|
||||||
|
ctrlSheet.dragable=true
|
||||||
|
ctrlSheet.can_drop=true
|
||||||
|
ctrlSheet.on_drop="lua"
|
||||||
|
ctrlSheet.on_drop_params="webig:dropDbSheet(\'"..sheet_list.."\', \'"..ctrl.."\', \'%src\')"
|
||||||
|
ctrlSheet.on_can_drop="lua"
|
||||||
|
ctrlSheet.on_can_drop_params="webig:canDropDbSheet(\'"..sheet_list.."\', \'"..ctrl.."\', \'%src\')"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
function webig:paramDbSheetSelect(sheet_list, ctrl, lua_function)
|
||||||
|
local ctrlSheet = webig.sheetLists[sheet_list].ctrl:find("list:"..ctrl)
|
||||||
|
if ctrlSheet ~= nil then
|
||||||
|
ctrlSheet.left_click="lua"
|
||||||
|
ctrlSheet.left_click_params=lua_function.."(\'"..sheet_list.."\', \'"..ctrl.."\')"
|
||||||
|
ctrlSheet.dragable=false
|
||||||
|
ctrlSheet.can_drop=false
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
function webig:canDropDbSheet(sheet_list, ctrl, src)
|
||||||
|
webig.sheetLists[sheet_list].ctrl:find("list:"..ctrl).can_drop=true
|
||||||
|
end
|
||||||
|
|
||||||
|
function webig:dropDbSheet(sheet_list, ctrl, src)
|
||||||
|
local db = webig.sheetLists[sheet_list].db
|
||||||
|
local sl_id = webig.sheetLists[sheet_list].ctrl.id
|
||||||
|
if (string.sub(src, 1, string.len(sl_id)) == sl_id) then -- copy from same list sheet
|
||||||
|
local pos=nil
|
||||||
|
for i=1, string.len(src) do
|
||||||
|
if string.sub(src, i, i) == ":" then
|
||||||
|
pos = i+1
|
||||||
|
end
|
||||||
|
end
|
||||||
|
id = string.sub(src, pos, string.len(src))
|
||||||
|
webig:swapItems(db..":"..id, db..":"..ctrl)
|
||||||
|
else
|
||||||
|
slot = getUI(src)
|
||||||
|
if slot ~= nil then
|
||||||
|
id = findReplaceAll(src, slot.parent.id..":", "")
|
||||||
|
webig:copyItems("LOCAL:INVENTORY:BAG:"..id, db..":"..ctrl)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
function webig:addOrRemoveDbSheet(sheet_list, ctrl)
|
||||||
|
local db = webig.sheetLists[sheet_list].db
|
||||||
|
if getDbProp(db..":"..ctrl..":SHEET") == 0 then -- Add item
|
||||||
|
webig:AddDbSheet(sheet_list, ctrl)
|
||||||
|
else
|
||||||
|
webig:removeDbSheetQuantity(sheet_list, ctrl)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
function webig:AddDbSheet(sheet_list, ctrl)
|
||||||
|
runAH(nil, "enter_modal", "group=ui:interface:webig_html_modal")
|
||||||
|
local whm = getUI("ui:interface:webig_html_modal")
|
||||||
|
whm.child_resize_h=false
|
||||||
|
whm.h = 44*webig.sheetLists[sheet_list].size
|
||||||
|
whm.w = 224
|
||||||
|
whm = getUI("ui:interface:webig_html_modal:html")
|
||||||
|
if whm ~= nil then
|
||||||
|
whm:refresh() -- url need be setted before
|
||||||
|
end
|
||||||
|
webig.sheetLists[sheet_list].selection = ctrl
|
||||||
|
end
|
||||||
|
|
||||||
|
function webig:removeDbSheetQuantity(sheet_list, ctrl)
|
||||||
|
local db = webig.sheetLists[sheet_list].db
|
||||||
|
webig:copyItems(db..":"..ctrl, "UI:DROP_DESTROY_ITEM:ITEM")
|
||||||
|
runAH(nil, "set_keyboard_focus", "select_all=true|target=ui:interface:webig_drop_destroy_item_quantity_modal:edit:eb")
|
||||||
|
getUI("ui:interface:webig_drop_destroy_item_quantity_modal:ok_cancel:ok").onclick_l="lua"
|
||||||
|
getUI("ui:interface:webig_drop_destroy_item_quantity_modal:ok_cancel:ok").params_l="webig:doRemoveDbSheetQuantity(\'"..sheet_list.."\', \'"..ctrl.."\')"
|
||||||
|
getUI("ui:interface:webig_drop_destroy_item_quantity_modal:edit:eb").on_enter="lua"
|
||||||
|
getUI("ui:interface:webig_drop_destroy_item_quantity_modal:edit:eb").on_enter_params="webig:doRemoveDbSheetQuantity(\'"..sheet_list.."\', \'"..ctrl.."\')"
|
||||||
|
runAH(nil, "enter_modal", "group=ui:interface:webig_drop_destroy_item_quantity_modal")
|
||||||
|
setDbProp("UI:DROP_DESTROY_ITEM:ITEM:QUANTITY", getDbProp(db..":"..ctrl..":QUANTITY"))
|
||||||
|
getUI("ui:interface:webig_drop_destroy_item_quantity_modal:edit:eb").input_string=tostring(getDbProp(db..":"..ctrl..":QUANTITY"))
|
||||||
|
end
|
||||||
|
|
||||||
|
function webig:doRemoveDbSheetQuantity(sheet_list, ctrl)
|
||||||
|
local db = webig.sheetLists[sheet_list].db
|
||||||
|
runAH(nil, "leave_modal", "group=ui:interface:webig_drop_destroy_item_quantity_modal")
|
||||||
|
local new_quantity = tonumber(getUI("ui:interface:webig_drop_destroy_item_quantity_modal:edit:eb").input_string)
|
||||||
|
local current_quantity = getDbProp(db..":"..ctrl..":QUANTITY")
|
||||||
|
if new_quantity >= current_quantity then
|
||||||
|
webig:deleteItem(db..":"..ctrl)
|
||||||
|
else
|
||||||
|
addDbProp(db..":"..ctrl..":QUANTITY", current_quantity-new_quantity)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
--assert(nil, "RELOADABLE SCRIPT");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
120
code/ryzom/client/data/gamedev/interfaces_v3/webig_widgets.xml
Normal file
120
code/ryzom/client/data/gamedev/interfaces_v3/webig_widgets.xml
Normal file
|
@ -0,0 +1,120 @@
|
||||||
|
<!-- ****************************************** -->
|
||||||
|
<!-- * WEBIG WIDGETS * -->
|
||||||
|
<!-- ****************************************** -->
|
||||||
|
<interface_config>
|
||||||
|
<root id="interface" x="0" y="0" w="800" h="600" active="true" />
|
||||||
|
<lua file="webig.lua" />
|
||||||
|
|
||||||
|
<!-- //////////// STYLE : webigchat_desc /////////// -->
|
||||||
|
<style style="webigchat_desc" type="text" fontsize="12" justification="dont_clip_word" color="0 0 0 255" global_color="false" multi_line="true" multi_line_space="0" line_maxw="320" multi_line_maxw_only="true" />
|
||||||
|
<!-- //////////// STYLE : webigchat_option /////////// -->
|
||||||
|
<style style="webigchat_option" type="text" format_taged="true" fontsize="10" justification="dont_clip_word" color="0 0 64 255" underlined="true" global_color="false" multi_line="true" multi_line_space="0" line_maxw="320" multi_line_maxw_only="true" />
|
||||||
|
<!-- //////////// STYLE : webigchat_option_but /////////// -->
|
||||||
|
<style style="webigchat_option_but" type="button_link" posref="TL TL" x="0" y="0" sizeref="wh" w="0" h="0" onclick_l="proc" params_l="proc_browse_faq" />
|
||||||
|
|
||||||
|
<!-- //////////// TEMPLATE : webig_3dbulle_L /////////// -->
|
||||||
|
<template name="webig_3dbulle_L" id="" keep="true">
|
||||||
|
<group id="#id" type="in_scene_bubble" header_active="false" options="no_bordure" openable="false" savable="false" resizer="true" movable="false" right_button="false" opened="true" child_resize_w="true" w="0" max_w="512" min_w="48" child_resize_h="true" in_scene_offset_x="-95" win_priority="%win_priority_world_space" posref="BL BR" use_cursor="true">
|
||||||
|
<group id="header_opened" x="0" y="0" child_resize_w="true" w="0" child_resize_h="true" h="0" max_w="512" min_w="48" max_h="256" min_h="48" posref="TL TL">
|
||||||
|
<group id="window" x="0" y="0" child_resize_w="true" child_resize_wmargin="10" child_resize_h="true" child_resize_hmargin="10" posref="TL TL">
|
||||||
|
<group id="back" x="0" y="0" w="0" h="0" sizeref="wh" posref="TL TL">
|
||||||
|
<view type="bitmap" id="win_M" posref="MM MM" scale="true" sizeref="wh" w="-10" h="-10" texture="Bulle_M.tga" global_color="false" />
|
||||||
|
<view type="bitmap" id="win_T" posparent="win_M" posref="TL BL" scale="true" sizeref="w" w="0" h="5" texture="Bulle_T.tga" global_color="false" />
|
||||||
|
<view type="bitmap" id="win_B" posparent="win_M" posref="BL TL" scale="true" sizeref="w" w="0" h="5" texture="Bulle_B.tga" global_color="false" />
|
||||||
|
<view type="bitmap" id="win_L" posparent="win_M" posref="TL TR" scale="true" sizeref="h" w="5" h="0" texture="Bulle_L.tga" global_color="false" />
|
||||||
|
<view type="bitmap" id="win_R" posparent="win_M" posref="TR TL" scale="true" sizeref="h" w="5" h="0" texture="Bulle_R.tga" global_color="false" />
|
||||||
|
<view type="bitmap" id="win_TL" posref="TL TL" texture="Bulle_TL.tga" global_color="false" />
|
||||||
|
<view type="bitmap" id="win_TR" posref="TR TR" texture="Bulle_TR.tga" global_color="false" />
|
||||||
|
<view type="bitmap" id="win_BL" posref="BL BL" texture="Bulle_BL.tga" global_color="false" />
|
||||||
|
<view type="bitmap" id="win_BR" posref="BR BR" texture="Bulle_BR.tga" global_color="false" />
|
||||||
|
</group>
|
||||||
|
<view style="webigchat_desc" id="text" posref="TL TL" x="5" y="-24" />
|
||||||
|
<ctrl type="button" button_type="push_button" tx_normal="Bulle_next.tga" tx_pushed="Bulle_next.tga" tx_over="Bulle_next.tga" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_normal="false" global_color_over="false" global_color_pushed="false" tooltip="uiNext" id="but_next" posref="TR TR" x="-5" y="-5" onclick_l="bubble_next" active="false" />
|
||||||
|
<ctrl type="button" button_type="push_button" tx_normal="Bulle_quit.tga" tx_pushed="Bulle_quit.tga" tx_over="Bulle_quit.tga" color="255 255 255 255" col_over="255 255 255 0" col_pushed="255 255 255 255" global_color_normal="false" global_color_over="false" global_color_pushed="false" tooltip="uiSkip" id="but_skip" posref="TL TR" posparent="but_next" x="-4" y="0" onclick_l="bubble_skip" active="false" />
|
||||||
|
<!-- Yoyo: Fake to have minimum bubble size -->
|
||||||
|
<group id="min_w" posparent="text" posref="TL TL" x="0" y="0" w="48" h="14" />
|
||||||
|
<view style="webigchat_option" id="opt0" posparent="text" posref="BL TL" x="16" y="-4" />
|
||||||
|
<view style="webigchat_option" id="opt1" posparent="opt0" posref="BL TL" x="0" y="-4" />
|
||||||
|
<view style="webigchat_option" id="opt2" posparent="opt1" posref="BL TL" x="0" y="-5" />
|
||||||
|
<view style="webigchat_option" id="opt3" posparent="opt2" posref="BL TL" x="0" y="-5" />
|
||||||
|
<view style="webigchat_option" id="opt4" posparent="opt3" posref="BL TL" x="0" y="-5" />
|
||||||
|
<view style="webigchat_option" id="opt5" posparent="opt4" posref="BL TL" x="0" y="-5" />
|
||||||
|
<view style="webigchat_option" id="opt6" posparent="opt5" posref="BL TL" x="0" y="-5" />
|
||||||
|
<view style="webigchat_option" id="opt7" posparent="opt6" posref="BL TL" x="0" y="-5" />
|
||||||
|
<ctrl style="webigchat_option_but" id="optb0" posparent="opt0" params_l="0" />
|
||||||
|
<ctrl style="webigchat_option_but" id="optb1" posparent="opt1" params_l="1" />
|
||||||
|
<ctrl style="webigchat_option_but" id="optb2" posparent="opt2" params_l="2" />
|
||||||
|
<ctrl style="webigchat_option_but" id="optb3" posparent="opt3" params_l="3" />
|
||||||
|
<ctrl style="webigchat_option_but" id="optb4" posparent="opt4" params_l="4" />
|
||||||
|
<ctrl style="webigchat_option_but" id="optb5" posparent="opt5" params_l="5" />
|
||||||
|
<ctrl style="webigchat_option_but" id="optb6" posparent="opt6" params_l="6" />
|
||||||
|
<ctrl style="webigchat_option_but" id="optb7" posparent="opt7" params_l="7" />
|
||||||
|
</group>
|
||||||
|
<view type="bitmap" id="win_talk" posref="BR TR" x="-24" y="2" posparent="window" texture="Bulle_Say_L.tga" global_color="false" />
|
||||||
|
</group>
|
||||||
|
</group>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<!-- //////////// TEMPLATE : webig_modal /////////// -->
|
||||||
|
<group type="modal" id="webig_html_modal" w="360" posref="TL TL" child_resize_hmargin="8" child_resize_h="true" x="0" y="0" active="false" options="skin_modal" escapable="true" global_color="true">
|
||||||
|
<group id="html" type="html" posref="MM MM" url="" title_prefix="uiQuickhelpTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline" >
|
||||||
|
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="-12" inherit_gc_alpha="true"/>
|
||||||
|
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false"/>
|
||||||
|
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000"/>
|
||||||
|
<ctrl style="skin_scroll" id="scroll_bar" />
|
||||||
|
</group>
|
||||||
|
</group>
|
||||||
|
|
||||||
|
<!-- //////////// MODAL : webig_exchange_choose_in_bag /////////// -->
|
||||||
|
<group type="modal" id="webig_exchange_choose_in_bag" w="360" child_resize_hmargin="8" child_resize_h="true" x="0" y="0" active="false" options="skin_modal" escapable="true" global_color="true">
|
||||||
|
<view type="text" id="title" posref="TL TL" x="6" y="-8" color="255 255 255 255" global_color="false" fontsize="10" shadow="true" hardtext="uiBCTitleMPItemType"/>
|
||||||
|
<group type="list_sheet" id="list" nature="item" posref="TL TL" x="4" y="-20" value="UI:VARIABLES:BOTCHAT:FILTER_ITEM_TYPE_SELECTED" force_item_background_generic="true" wspace="2" hspace="2" array="false" w="350" lmargin="0" rmargin="0" tmargin="2" bmargin="2" child_resize_h="true" onclick_l="confirm_change_botchat_buy_filter_item_type" on_tooltip="botchat_tt_item_type" use_quantity="false" use_quality="false" display_empty_slot="true"/>
|
||||||
|
<view type="text" id="no_filter" posparent="ctrl" posref="TL MM" x="24" y="-46" fontsize="12" shadow="true" case_mode="%case_upper" global_color="false" hardtext="uiBCNoItemTypeFilter"/>
|
||||||
|
</group>
|
||||||
|
|
||||||
|
<!-- //////////// MODAL : webig_drop_destroy_item_quantity_modal /////////// -->
|
||||||
|
<group type="modal" id="webig_drop_destroy_item_quantity_modal" exit_click_out="true" posref="TL TL" w="180" h="80" x="-8" y="8" options="skin_modal">
|
||||||
|
<ctrl type="sheet" id="sheet" value="UI:DROP_DESTROY_ITEM:ITEM" posparent="parent" posref="MM MM" x="-26" y="0"/>
|
||||||
|
<view type="text" id="x" posparent="sheet" posref="MR MM" x="8" y="0" color="255 255 255 255" fontsize="12" shadow="true" hardtext="X"/>
|
||||||
|
<instance template="edit_box_widget" entry_type="positive_integer" id="edit" text_ref="TR TR" text_y="-1" fontsize="12" posparent="sheet" posref="MR ML" x="16" text_x="-2" w="32" prompt="" enter_loose_focus="false" multi_line="false" max_num_chars="3" onchange="editbox_number" onchange_params="value=UI:DROP_DESTROY_ITEM:ITEM:QUANTITY|update_text=false" onenter="proc" params="webig_drop_destroy_item_quantity_modal_ok" max_historic="0"/>
|
||||||
|
<instance template="button_ok_cancel" posref="BR BR" x="-4" y="4" onclick_ok="" onclick_ok_param="" onclick_cancel="leave_modal" onclick_cancel_param=""/>
|
||||||
|
<link expr="eq(@UI:DROP_DESTROY_ITEM:DROP_MODE,1)" target="drop_text:active"/>
|
||||||
|
<link expr="ne(@UI:DROP_DESTROY_ITEM:DROP_MODE,1)" target="destroy_text:active"/>
|
||||||
|
</group>
|
||||||
|
|
||||||
|
<!-- //////////// TEMPLATE : webig_list_sheet /////////// -->
|
||||||
|
<template name="webig_list_sheet" keep="true" db="" w="200" y="-10" x="10">
|
||||||
|
<group id="list_group" w="#w" y="#y" x="#x" posref="TL TL" child_resize_h="true" >
|
||||||
|
<group type="list_sheet" nature="item" id="list" posref="TL TL" x="0" y="0" child_resize_h="true" wspace="8" hspace="8" value="#db" array="true" auto_grayed="true" onclick_r="open_item_help" tooltip="uittSelectMp" />
|
||||||
|
</group>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<!-- //////////// TEMPLATE : webig_frame_borderless /////////// -->
|
||||||
|
<template name="webig_frame_borderless" keep="true" w="200" h="200" x="0" y="0" movable="true">
|
||||||
|
<group id="content" w="#w" h="#h" x="#x" y="#y" posref="MM MM" >
|
||||||
|
<group id="html" type="html" posref="TL TL" url="" title_prefix="uiQuickhelpTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline" >
|
||||||
|
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="-12" inherit_gc_alpha="true"/>
|
||||||
|
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false"/>
|
||||||
|
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000"/>
|
||||||
|
<ctrl style="skin_scroll" id="scroll_bar" />
|
||||||
|
</group>
|
||||||
|
</group>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<!-- //////////// TEMPLATE : webig_frame_skin_modal /////////// -->
|
||||||
|
<template name="webig_frame_skin_modal" keep="true" w="200" h="200" x="0" y="0">
|
||||||
|
<group id="group" type="container" active="true" w="#w" h="#h" x="#x" y="#y" posref="MM MM" options="skin_modal" opened="true" openable="true" movable="true" header_color="UI:SAVE:WIN:COLORS:COM">
|
||||||
|
<group id="header_closed" x="0" y="0" w="#w" h="16" posref="TL TL"></group>
|
||||||
|
<group id="header_opened" x="0" y="0" w="#w" h="16" posref="TL TL"></group>
|
||||||
|
<group id="content" x="0" y="0" w="0" h="0" posref="TL TL ">
|
||||||
|
<group id="html" type="html" posref="MM MM" url="" title_prefix="uiQuickhelpTitle" sizeref="wh" x="0" y="0" w="0" h="0" background_color="0 0 0 0" error_color="255 240 48 255" link_color="240 155 100 255" text_color="210 210 210 255" h1_color="255 255 255 255" h2_color="255 255 255 255" h3_color="255 255 255 255" h4_color="255 255 255 255" h5_color="255 255 255 255" h6_color="255 255 255 255" text_font_size="10" h1_font_size="16" h2_font_size="14" h3_font_size="13" h4_font_size="12" h5_font_size="11" h6_font_size="11" paragraph_begin_space="12" multi_line_space_factor="0.25" td_begin_space="0" li_begin_space="4" ul_begin_space="12" li_indent="-10" ul_indent="30" checkbox_bitmap_normal="patch_off.tga" checkbox_bitmap_pushed="patch_on.tga" checkbox_bitmap_over="" background_bitmap_view="" home="" browse_next_time="false" timeout="0" form_text_area_group="edit_box_widget_multiline" >
|
||||||
|
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="-12" inherit_gc_alpha="true"/>
|
||||||
|
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false"/>
|
||||||
|
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000"/>
|
||||||
|
<ctrl style="skin_scroll" id="scroll_bar" />
|
||||||
|
</group>
|
||||||
|
</group>
|
||||||
|
</group>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
</interface_config>
|
Loading…
Reference in a new issue