Fixed crash upon clicking media prim (disabled prim media control floater for now). Fleshed out media browser replacement (LLFloaterWebContent).
This commit is contained in:
152
indra/newview/skins/default/xui/en-us/floater_web_content.xml
Normal file
152
indra/newview/skins/default/xui/en-us/floater_web_content.xml
Normal file
@@ -0,0 +1,152 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<floater
|
||||
can_close="true"
|
||||
can_drag_on_left="false"
|
||||
can_minimize="true"
|
||||
can_resize="true"
|
||||
height="440"
|
||||
min_height="140"
|
||||
min_width="467"
|
||||
name="floater_web_content"
|
||||
rect_control="FloaterMediaRect"
|
||||
title="Web Browser"
|
||||
initial_mime_type="text/html"
|
||||
width="820">
|
||||
<layout_stack
|
||||
|
||||
bottom="0"
|
||||
follows="left|right|top|bottom"
|
||||
left="5"
|
||||
name="stack1"
|
||||
top="-20"
|
||||
mouse_opaque="false"
|
||||
width="810">
|
||||
<layout_panel
|
||||
auto_resize="false"
|
||||
bottom="0"
|
||||
height="25"
|
||||
left="0"
|
||||
name="nav_controls"
|
||||
user_resize="false"
|
||||
mouse_opaque="false"
|
||||
width="815">
|
||||
<button
|
||||
bottom="0"
|
||||
follows="left|top"
|
||||
height="25"
|
||||
label=""
|
||||
image_overlay="go-previous-4.png"
|
||||
left="0"
|
||||
name="back"
|
||||
width="25" >
|
||||
<button.commit_callback
|
||||
function="WebContent.Back" />
|
||||
</button>
|
||||
<button
|
||||
bottom_delta="0"
|
||||
follows="left|top"
|
||||
height="25" label=""
|
||||
image_overlay="go-next-4.png"
|
||||
left_delta="27"
|
||||
name="forward"
|
||||
width="25" >
|
||||
<button.commit_callback
|
||||
function="WebContent.Forward" />
|
||||
</button>
|
||||
<button
|
||||
bottom_delta="0"
|
||||
enabled="true"
|
||||
follows="left|top"
|
||||
height="25"
|
||||
label=""
|
||||
image_overlay="media_btn_stoploading.png"
|
||||
name="stop"
|
||||
left_delta="27"
|
||||
width="25">
|
||||
<button.commit_callback
|
||||
function="WebContent.Stop" />
|
||||
</button>
|
||||
<button
|
||||
bottom_delta="0"
|
||||
follows="left|top"
|
||||
height="25"
|
||||
label=""
|
||||
image_overlay="view-refresh-5.png"
|
||||
name="reload"
|
||||
left_delta="0"
|
||||
width="25" >
|
||||
<button.commit_callback
|
||||
function="WebContent.Reload" />
|
||||
</button>
|
||||
<combo_box
|
||||
allow_text_entry="true"
|
||||
|
||||
follows="left|top|right"
|
||||
height="20"
|
||||
left_delta="29"
|
||||
max_chars="1024"
|
||||
name="address"
|
||||
select_all_on_focus_received="true"
|
||||
bottom_delta="4"
|
||||
width="706">
|
||||
<combo_box.commit_callback
|
||||
function="WebContent.EnterAddress" />
|
||||
</combo_box>
|
||||
<button
|
||||
bottom_delta="-4"
|
||||
follows="right|top"
|
||||
enabled="true"
|
||||
height="25"
|
||||
label=""
|
||||
image_overlay="media_btn_newwindow.png"
|
||||
left_delta="709"
|
||||
name="popexternal"
|
||||
width="25">
|
||||
<button.commit_callback
|
||||
function="WebContent.PopExternal" />
|
||||
</button>
|
||||
</layout_panel>
|
||||
<layout_panel
|
||||
|
||||
bottom="0"
|
||||
height="20"
|
||||
left="0"
|
||||
name="external_controls"
|
||||
auto_resize="true"
|
||||
user_resize="false"
|
||||
width="540">
|
||||
<web_browser
|
||||
bottom="0"
|
||||
follows="left|right|top|bottom"
|
||||
left="0"
|
||||
name="webbrowser"
|
||||
border_visible="false"
|
||||
top="20"
|
||||
width="540" />
|
||||
</layout_panel>
|
||||
<layout_panel name="status_bar"
|
||||
height="23"
|
||||
mouse_opaque="false"
|
||||
auto_resize="false">
|
||||
<text
|
||||
type="string"
|
||||
length="200"
|
||||
follows="bottom|left"
|
||||
height="20"
|
||||
bottom="2"
|
||||
left_delta="0"
|
||||
name="statusbartext"
|
||||
parse_urls="false"
|
||||
width="495"/>
|
||||
<progress_bar
|
||||
color_bar="0.3 1.0 0.3 1"
|
||||
follows="bottom|right"
|
||||
height="16"
|
||||
left="715"
|
||||
bottom_delta="5"
|
||||
left_pad="24"
|
||||
name="statusbarprogress"
|
||||
width="64"/>
|
||||
</layout_panel>
|
||||
</layout_stack>
|
||||
</floater>
|
||||
Reference in New Issue
Block a user