Mass fixup to appearance mode ui overhead!
Should contain no functional changes, ust that all ui in appearance mode is now cached instead of calling getChild per frame. Switches from hiding min/max param text every frame to force-drawing in draw call and setting invisible (llscrollingpanelparam.cpp/the corresponding xml) Cleans up some old commented out code. Moves some simple, one-call functions into their calling bodies. Also, for some reason I had to adjust the alpha checkboxes, totally confused why they were out of line... maybe they had been already? I don't see a changed line that did positioning. Contains spaces to tabs fixes, please view without space changes (You have been warned!)
This commit is contained in:
@@ -1290,11 +1290,11 @@ one from scratch and wear it.
|
||||
can_apply_immediately="true" default_image_name="Default" allow_no_texture="true"
|
||||
follows="left|top" width="64" height="80" left_delta="90" bottom="-165"/>
|
||||
<check_box name="head alpha texture invisible"
|
||||
follows="left" width="16" height="16" left="142" bottom="-185"/>
|
||||
follows="left" width="16" height="16" left="142" bottom="-90"/>
|
||||
<check_box name="upper alpha texture invisible"
|
||||
follows="left" width="16" height="16" left_delta="90" bottom="-185"/>
|
||||
follows="left" width="16" height="16" left_delta="90" bottom="-90"/>
|
||||
<check_box name="lower alpha texture invisible"
|
||||
follows="left" width="16" height="16" left_delta="90" bottom="-185"/>
|
||||
follows="left" width="16" height="16" left_delta="90" bottom="-90"/>
|
||||
<texture_picker name="Hair Alpha" label="Hair Alpha" tool_tip="Click to choose a picture"
|
||||
can_apply_immediately="true" default_image_name="Default" allow_no_texture="true"
|
||||
follows="left|top" width="64" height="80" left="120" bottom="-280"/>
|
||||
@@ -1302,9 +1302,9 @@ one from scratch and wear it.
|
||||
can_apply_immediately="true" default_image_name="Default" allow_no_texture="true"
|
||||
follows="left|top" width="64" height="80" left_delta="90" bottom="-280"/>
|
||||
<check_box name="hair alpha texture invisible"
|
||||
follows="left" width="16" height="16" left="142" bottom="-300"/>
|
||||
follows="left" width="16" height="16" left="142" bottom="-205"/>
|
||||
<check_box name="eye alpha texture invisible"
|
||||
follows="left" width="16" height="16" left_delta="90" bottom="-300"/>
|
||||
follows="left" width="16" height="16" left_delta="90" bottom="-205"/>
|
||||
<button name="Create New" label="Create New Alpha" label_selected="Create New Alpha"
|
||||
follows="left|top" halign="center" width="170" height="24" left="160" bottom="-148"
|
||||
mouse_opaque="true" scale_image="true"/>
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
<text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
|
||||
bottom="-132" drop_shadow_visible="true" enabled="true" follows="left|top"
|
||||
font="SansSerifSmall" h_pad="0" halign="left" height="16" left="4"
|
||||
mouse_opaque="true" name="min param text" v_pad="0" width="128" />
|
||||
mouse_opaque="true" name="min param text" visible="false" v_pad="0" width="128" />
|
||||
<text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
|
||||
bottom="-132" drop_shadow_visible="true" enabled="true" follows="left|top"
|
||||
font="SansSerifSmall" h_pad="0" halign="left" height="16" left="138"
|
||||
mouse_opaque="true" name="max param text" v_pad="0" width="128" />
|
||||
mouse_opaque="true" name="max param text" visible="false" v_pad="0" width="128" />
|
||||
<text type="string" length="1" bg_visible="false" border_drop_shadow_visible="false" border_visible="false"
|
||||
bottom="-27" drop_shadow_visible="true" enabled="true" follows="left|top"
|
||||
font="SansSerifSmall" h_pad="0" halign="left" height="16" left="8"
|
||||
|
||||
Reference in New Issue
Block a user